summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pdepend-PHP-Depend-autoload.php4
-rw-r--r--php-pdepend-PHP-Depend.spec1
2 files changed, 3 insertions, 2 deletions
diff --git a/php-pdepend-PHP-Depend-autoload.php b/php-pdepend-PHP-Depend-autoload.php
index 2064dfa..4ddd5ba 100644
--- a/php-pdepend-PHP-Depend-autoload.php
+++ b/php-pdepend-PHP-Depend-autoload.php
@@ -3,7 +3,7 @@
require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
\Fedora\Autoloader\Autoload::addPsr4('PDepend\\', __DIR__);
-\Fedora\Autoloader\Dependencies::required([
+\Fedora\Autoloader\Dependencies::required(array(
'/usr/share/php/Symfony/Component/autoload.php',
-]);
+));
diff --git a/php-pdepend-PHP-Depend.spec b/php-pdepend-PHP-Depend.spec
index 2c74fc4..83a40c1 100644
--- a/php-pdepend-PHP-Depend.spec
+++ b/php-pdepend-PHP-Depend.spec
@@ -53,6 +53,7 @@ BuildRequires: php-reflection
BuildRequires: php-simplexml
BuildRequires: php-spl
BuildRequires: php-tokenizer
+# Autoloader
BuildRequires: php-composer(fedora/autoloader)
%endif