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

Commit

Permalink
[zendframework/zendframework#1403] CS cleanup of exceptions
Browse files Browse the repository at this point in the history
- following PSR-1/2, put extends and implements keywords on same line;
  list interfaces implemented on separate lines following, only if line
  length exceeds recommended soft limits
  • Loading branch information
weierophinney committed Jun 13, 2012
1 parent 0adb5d0 commit 1d190a2
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 21 deletions.
5 changes: 2 additions & 3 deletions src/Exception/BadMethodCallException.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class BadMethodCallException
extends \BadMethodCallException
implements ExceptionInterface
class BadMethodCallException extends \BadMethodCallException implements
ExceptionInterface
{
}
5 changes: 2 additions & 3 deletions src/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class InvalidArgumentException
extends \InvalidArgumentException
implements ExceptionInterface
class InvalidArgumentException extends \InvalidArgumentException implements
ExceptionInterface
{
}
4 changes: 1 addition & 3 deletions src/Exception/LogicException.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class LogicException
extends \LogicException
implements ExceptionInterface
class LogicException extends \LogicException implements ExceptionInterface
{
}
4 changes: 1 addition & 3 deletions src/Exception/OutOfSpaceException.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class OutOfSpaceException
extends \OverflowException
implements ExceptionInterface
class OutOfSpaceException extends \OverflowException implements ExceptionInterface
{
}
4 changes: 1 addition & 3 deletions src/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class RuntimeException
extends \RuntimeException
implements ExceptionInterface
class RuntimeException extends \RuntimeException implements ExceptionInterface
{
}
5 changes: 2 additions & 3 deletions src/Exception/UnexpectedValueException.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class UnexpectedValueException
extends \UnexpectedValueException
implements ExceptionInterface
class UnexpectedValueException extends \UnexpectedValueException implements
ExceptionInterface
{
}
5 changes: 2 additions & 3 deletions src/Exception/UnsupportedMethodCallException.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class UnsupportedMethodCallException
extends \BadMethodCallException
implements ExceptionInterface
class UnsupportedMethodCallException extends \BadMethodCallException implements
ExceptionInterface
{
}

0 comments on commit 1d190a2

Please sign in to comment.