summaryrefslogtreecommitdiffstats
path: root/php-bartlett-PHP-Reflect-autoload.php
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-01-21 17:16:06 +0100
committerRemi Collet <remi@remirepo.net>2019-01-21 17:16:06 +0100
commit142f66e085a7f64a4ac877e8b357ccb53f1c4fe1 (patch)
treeb492710f8d3b43671829f39787cede9c0aa7bf87 /php-bartlett-PHP-Reflect-autoload.php
parentf84d244f85849f50ba132df5e279ec37e1c40c61 (diff)
update to 5.0.0-alpha1
raise dependency on PHP 7.1 raise dependency on nikic/php-parser 4.0 only Symfony 4 and PHPUnit 7
Diffstat (limited to 'php-bartlett-PHP-Reflect-autoload.php')
-rw-r--r--php-bartlett-PHP-Reflect-autoload.php16
1 files changed, 6 insertions, 10 deletions
diff --git a/php-bartlett-PHP-Reflect-autoload.php b/php-bartlett-PHP-Reflect-autoload.php
index 5e1a183..4b8bcb5 100644
--- a/php-bartlett-PHP-Reflect-autoload.php
+++ b/php-bartlett-PHP-Reflect-autoload.php
@@ -6,25 +6,21 @@
require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
\Fedora\Autoloader\Autoload::addPsr4('Bartlett\\', dirname(__DIR__));
-\Fedora\Autoloader\Dependencies::required(array(
- '/usr/share/php/PhpParser3/autoload.php',
- array(
- '/usr/share/php/Symfony4/Component/autoload.php',
- '/usr/share/php/Symfony3/Component/autoload.php',
- '/usr/share/php/Symfony/Component/autoload.php',
- ),
+\Fedora\Autoloader\Dependencies::required([
+ '/usr/share/php/PhpParser4/autoload.php',
+ '/usr/share/php/Symfony4/Component/autoload.php',
'/usr/share/php/Seld/JsonLint/autoload.php',
'/usr/share/php/JsonSchema/autoload.php',
'/usr/share/php/SebastianBergmann/Version/autoload.php',
'/usr/share/php/Doctrine/Common/Collections/autoload.php',
'/usr/share/php/Doctrine/Common/Cache/autoload.php',
'/usr/share/php/phpDocumentor/Reflection/DocBlock/autoload.php',
-));
-\Fedora\Autoloader\Dependencies::optional(array(
+]);
+\Fedora\Autoloader\Dependencies::optional([
'/usr/share/php/Bartlett/CompatInfo/autoload.php', // Needed when installed for 'Bartlett\CompatInfo\Analyser\CompatibilityAnalyser'
'/usr/share/php/Bartlett/UmlWriter/autoload.php',
'/usr/share/php/Psr/Log/autoload.php',
'/usr/share/php/Monolog/autoload.php',
-));
+]);
$vendorDir = '/usr/share/php';