[Pkg-owncloud-commits] [php-sabredav] 216/220: Adapt package to new php-psr-log dependency

David Prévot taffit at moszumanska.debian.org
Thu May 12 01:21:30 UTC 2016


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

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

commit c22a9ce7c37e6d9bee5ab3463d7f229b7d839b47
Author: David Prévot <taffit at debian.org>
Date:   Wed May 11 20:30:50 2016 -0400

    Adapt package to new php-psr-log dependency
---
 debian/autoload.php.tpl       | 5 ++++-
 debian/autoload.tests.php.tpl | 4 +++-
 debian/control                | 1 +
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/autoload.php.tpl b/debian/autoload.php.tpl
index 1895549..07519c4 100644
--- a/debian/autoload.php.tpl
+++ b/debian/autoload.php.tpl
@@ -5,6 +5,7 @@ require_once 'Sabre/VObject/autoload.php';
 require_once 'Sabre/Xml/autoload.php';
 require_once 'Sabre/HTTP/autoload.php';
 // require_once 'Sabre/Uri/autoload.php'; (already required by HTTP and Xml)
+require_once 'Psr/Log/autoload.php';
 
 // @codingStandardsIgnoreFile
 // @codeCoverageIgnoreStart
@@ -21,6 +22,8 @@ spl_autoload_register(
         if (isset($classes[$cn])) {
             require ___BASEDIR___$classes[$cn];
         }
-    }
+    },
+    true,
+    false
 );
 // @codeCoverageIgnoreEnd
diff --git a/debian/autoload.tests.php.tpl b/debian/autoload.tests.php.tpl
index 9d7ebb9..e7b157a 100644
--- a/debian/autoload.tests.php.tpl
+++ b/debian/autoload.tests.php.tpl
@@ -17,6 +17,8 @@ spl_autoload_register(
         if (isset($classes[$cn])) {
             require ___BASEDIR___$classes[$cn];
         }
-    }
+    },
+    true,
+    false
 );
 // @codeCoverageIgnoreEnd
diff --git a/debian/control b/debian/control
index 944ea64..f86e431 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Build-Depends: debhelper (>= 8.0.0),
                help2man,
                php-codesniffer,
                php-curl,
+               php-psr-log,
                php-sabre-event (>= 2.0.1-2~),
                php-sabre-http (>= 4.2.1),
                php-sabre-vobject (>= 4),

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



More information about the Pkg-owncloud-commits mailing list