summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2017-05-03 10:01:34 -0400
committerMichael Orlitzky <mjo@gentoo.org>2017-05-03 10:21:27 -0400
commit312f941b5d25eea09f00aa235c05068ef3d11481 (patch)
tree3006e57bdd4da19aec1308c7c9cdc58fee3c3c5e /dev-php/symfony-config/files
parentdev-php/phpunit: new revision to fix missing autoload dependency. (diff)
downloadgentoo-312f941b5d25eea09f00aa235c05068ef3d11481.tar.gz
gentoo-312f941b5d25eea09f00aa235c05068ef3d11481.tar.bz2
gentoo-312f941b5d25eea09f00aa235c05068ef3d11481.zip
dev-php/symfony-config: new version 2.8.20.
This new version depends (optionally) on a newer version of PHPUnit, which lets us run its test suite. The test suite passes for me, so I've removed the RESTRICT=test. Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-php/symfony-config/files')
-rw-r--r--dev-php/symfony-config/files/autoload.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-php/symfony-config/files/autoload.php b/dev-php/symfony-config/files/autoload.php
index 4cbfc168d793..6c6f5c501beb 100644
--- a/dev-php/symfony-config/files/autoload.php
+++ b/dev-php/symfony-config/files/autoload.php
@@ -9,7 +9,12 @@ if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
\Fedora\Autoloader\Autoload::addPsr4('Symfony\\Component\\Config\\', __DIR__);
-// Dependencies
+// Required dependencies.
\Fedora\Autoloader\Dependencies::required(array(
"${vendor_dir}/Symfony/Component/Filesystem/autoload.php"
));
+
+// Optional dependencies.
+\Fedora\Autoloader\Dependencies::optional(array(
+ "${vendor_dir}/PHPUnit/vendor/autoload.php"
+));