diff options
Diffstat (limited to 'php-bartlett-PHP-Reflect-autoload.php')
-rw-r--r-- | php-bartlett-PHP-Reflect-autoload.php | 16 |
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'; |