From 142f66e085a7f64a4ac877e8b357ccb53f1c4fe1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 21 Jan 2019 17:16:06 +0100 Subject: 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 --- php-bartlett-PHP-Reflect-autoload.php | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'php-bartlett-PHP-Reflect-autoload.php') 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'; -- cgit