Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Commit

Permalink
Merge branch 'cs/#6994-zend-progressbar-psr2-compliance'
Browse files Browse the repository at this point in the history
Close #6994
  • Loading branch information
Ocramius committed Dec 11, 2014
2 parents 670b5c2 + 685ad66 commit 8279992
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
/**
* Exception for Zend\Progressbar component.
*/
class InvalidArgumentException extends Exception\InvalidArgumentException implements
ExceptionInterface
class InvalidArgumentException extends Exception\InvalidArgumentException implements ExceptionInterface
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
/**
* Exception for Zend\Progressbar component.
*/
class RuntimeException extends Exception\RuntimeException implements
ExceptionInterface
class RuntimeException extends Exception\RuntimeException implements ExceptionInterface
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
/**
* Exception for Zend\Progressbar component.
*/
class InvalidArgumentException extends \InvalidArgumentException implements
ExceptionInterface
class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface
{
}
4 changes: 1 addition & 3 deletions library/Zend/ProgressBar/Upload/AbstractUploadHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,7 @@ public function getProgress($id)
$adapter = $this->getProgressAdapter();
if (isset($adapter)) {
if ($adapter instanceof AbstractProgressAdapter) {
$adapter = new ProgressBar(
$adapter, 0, $status['total'], $this->getSessionNamespace()
);
$adapter = new ProgressBar($adapter, 0, $status['total'], $this->getSessionNamespace());
$this->setProgressAdapter($adapter);
}

Expand Down
1 change: 0 additions & 1 deletion library/Zend/ProgressBar/Upload/UploadHandlerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

namespace Zend\ProgressBar\Upload;


/**
* Interface for Upload Progress Handlers
*/
Expand Down

0 comments on commit 8279992

Please sign in to comment.