[Pkg-owncloud-commits] [php-sabredav] 118/148: Clean exception declarations.

David Prévot taffit at moszumanska.debian.org
Wed Apr 15 01:37:28 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository php-sabredav.

commit 1d93d9cffc5b7f25172102c7c609305b485e988c
Author: Ivan Enderlin <ivan.enderlin at hoa-project.net>
Date:   Fri Apr 10 10:42:44 2015 +0200

    Clean exception declarations.
---
 lib/DAV/Exception/BadRequest.php           | 4 +++-
 lib/DAV/Exception/Conflict.php             | 4 +++-
 lib/DAV/Exception/Forbidden.php            | 4 +++-
 lib/DAV/Exception/InsufficientStorage.php  | 4 +++-
 lib/DAV/Exception/MethodNotAllowed.php     | 4 +++-
 lib/DAV/Exception/NotFound.php             | 4 +++-
 lib/DAV/Exception/NotImplemented.php       | 4 +++-
 lib/DAV/Exception/UnsupportedMediaType.php | 4 +++-
 8 files changed, 24 insertions(+), 8 deletions(-)

diff --git a/lib/DAV/Exception/BadRequest.php b/lib/DAV/Exception/BadRequest.php
index 461a980..d9f376f 100644
--- a/lib/DAV/Exception/BadRequest.php
+++ b/lib/DAV/Exception/BadRequest.php
@@ -2,6 +2,8 @@
 
 namespace Sabre\DAV\Exception;
 
+use Sabre\DAV;
+
 /**
  * BadRequest
  *
@@ -12,7 +14,7 @@ namespace Sabre\DAV\Exception;
  * @author Evert Pot (http://evertpot.com/)
  * @license http://sabre.io/license/ Modified BSD License
  */
-class BadRequest extends \Sabre\DAV\Exception {
+class BadRequest extends DAV\Exception {
 
     /**
      * Returns the HTTP statuscode for this exception
diff --git a/lib/DAV/Exception/Conflict.php b/lib/DAV/Exception/Conflict.php
index 6126ac0..ebbf1ba 100644
--- a/lib/DAV/Exception/Conflict.php
+++ b/lib/DAV/Exception/Conflict.php
@@ -2,6 +2,8 @@
 
 namespace Sabre\DAV\Exception;
 
+use Sabre\DAV;
+
 /**
  * Conflict
  *
@@ -12,7 +14,7 @@ namespace Sabre\DAV\Exception;
  * @author Evert Pot (http://evertpot.com/)
  * @license http://sabre.io/license/ Modified BSD License
  */
-class Conflict extends \Sabre\DAV\Exception {
+class Conflict extends DAV\Exception {
 
     /**
      * Returns the HTTP statuscode for this exception
diff --git a/lib/DAV/Exception/Forbidden.php b/lib/DAV/Exception/Forbidden.php
index da72902..4e5fafa 100644
--- a/lib/DAV/Exception/Forbidden.php
+++ b/lib/DAV/Exception/Forbidden.php
@@ -2,6 +2,8 @@
 
 namespace Sabre\DAV\Exception;
 
+use Sabre\DAV;
+
 /**
  * Forbidden
  *
@@ -11,7 +13,7 @@ namespace Sabre\DAV\Exception;
  * @author Evert Pot (http://evertpot.com/)
  * @license http://sabre.io/license/ Modified BSD License
  */
-class Forbidden extends \Sabre\DAV\Exception {
+class Forbidden extends DAV\Exception {
 
     /**
      * Returns the HTTP statuscode for this exception
diff --git a/lib/DAV/Exception/InsufficientStorage.php b/lib/DAV/Exception/InsufficientStorage.php
index dae7da6..cbb21be 100644
--- a/lib/DAV/Exception/InsufficientStorage.php
+++ b/lib/DAV/Exception/InsufficientStorage.php
@@ -2,6 +2,8 @@
 
 namespace Sabre\DAV\Exception;
 
+use Sabre\DAV;
+
 /**
  * InsufficientStorage
  *
@@ -11,7 +13,7 @@ namespace Sabre\DAV\Exception;
  * @author Evert Pot (http://evertpot.com/)
  * @license http://sabre.io/license/ Modified BSD License
  */
-class InsufficientStorage extends \Sabre\DAV\Exception {
+class InsufficientStorage extends DAV\Exception {
 
     /**
      * Returns the HTTP statuscode for this exception
diff --git a/lib/DAV/Exception/MethodNotAllowed.php b/lib/DAV/Exception/MethodNotAllowed.php
index ff40f5b..f359bca 100644
--- a/lib/DAV/Exception/MethodNotAllowed.php
+++ b/lib/DAV/Exception/MethodNotAllowed.php
@@ -2,6 +2,8 @@
 
 namespace Sabre\DAV\Exception;
 
+use Sabre\DAV;
+
 /**
  * MethodNotAllowed
  *
@@ -11,7 +13,7 @@ namespace Sabre\DAV\Exception;
  * @author Evert Pot (http://evertpot.com/)
  * @license http://sabre.io/license/ Modified BSD License
  */
-class MethodNotAllowed extends \Sabre\DAV\Exception {
+class MethodNotAllowed extends DAV\Exception {
 
     /**
      * Returns the HTTP statuscode for this exception
diff --git a/lib/DAV/Exception/NotFound.php b/lib/DAV/Exception/NotFound.php
index 8ac3433..6f17624 100644
--- a/lib/DAV/Exception/NotFound.php
+++ b/lib/DAV/Exception/NotFound.php
@@ -2,6 +2,8 @@
 
 namespace Sabre\DAV\Exception;
 
+use Sabre\DAV;
+
 /**
  * NotFound
  *
@@ -11,7 +13,7 @@ namespace Sabre\DAV\Exception;
  * @author Evert Pot (http://evertpot.com/)
  * @license http://sabre.io/license/ Modified BSD License
  */
-class NotFound extends \Sabre\DAV\Exception {
+class NotFound extends DAV\Exception {
 
     /**
      * Returns the HTTP statuscode for this exception
diff --git a/lib/DAV/Exception/NotImplemented.php b/lib/DAV/Exception/NotImplemented.php
index 44a9b8c..ea93b83 100644
--- a/lib/DAV/Exception/NotImplemented.php
+++ b/lib/DAV/Exception/NotImplemented.php
@@ -2,6 +2,8 @@
 
 namespace Sabre\DAV\Exception;
 
+use Sabre\DAV;
+
 /**
  * NotImplemented
  *
@@ -11,7 +13,7 @@ namespace Sabre\DAV\Exception;
  * @author Evert Pot (http://evertpot.com/)
  * @license http://sabre.io/license/ Modified BSD License
  */
-class NotImplemented extends \Sabre\DAV\Exception {
+class NotImplemented extends DAV\Exception {
 
     /**
      * Returns the HTTP statuscode for this exception
diff --git a/lib/DAV/Exception/UnsupportedMediaType.php b/lib/DAV/Exception/UnsupportedMediaType.php
index 8934b76..f6d3171 100644
--- a/lib/DAV/Exception/UnsupportedMediaType.php
+++ b/lib/DAV/Exception/UnsupportedMediaType.php
@@ -2,6 +2,8 @@
 
 namespace Sabre\DAV\Exception;
 
+use Sabre\DAV;
+
 /**
  * UnSupportedMediaType
  *
@@ -12,7 +14,7 @@ namespace Sabre\DAV\Exception;
  * @author Evert Pot (http://evertpot.com/)
  * @license http://sabre.io/license/ Modified BSD License
  */
-class UnsupportedMediaType extends \Sabre\DAV\Exception {
+class UnsupportedMediaType extends DAV\Exception {
 
     /**
      * returns the http statuscode for this exception

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list