diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-04-15 15:33:10 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-04-15 15:33:10 +0200 |
commit | dd538baca37b1d5f5041ef0dbc6663ca676f60bd (patch) | |
tree | d5847b6c3933692743a031c7b4b03c3379b3b6c1 | |
parent | a9cbc4f9e2a05f5817cb1abeb0483c773d100b3e (diff) |
php-nikic-php-parser: unneeded
-rw-r--r-- | php-nikic-php-parser-autoload.php | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/php-nikic-php-parser-autoload.php b/php-nikic-php-parser-autoload.php deleted file mode 100644 index 61dca27..0000000 --- a/php-nikic-php-parser-autoload.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php -/** - * Autoloader for nikic/php-parser and its dependencies - */ - -$vendorDir = '/usr/share/php'; - -// Use Symfony PSR4 autoloader -if (!isset($fedoraPsr4ClassLoader) || !($fedoraPsr4ClassLoader instanceof \Symfony\Component\ClassLoader\Psr4ClassLoader)) { - if (!class_exists('Symfony\\Component\\ClassLoader\\Psr4ClassLoader', false)) { - require_once '/usr/share/php/Symfony/Component/ClassLoader/Psr4ClassLoader.php'; - } - - $fedoraPsr4ClassLoader = new \Symfony\Component\ClassLoader\Psr4ClassLoader(); - $fedoraPsr4ClassLoader->register(true); -} - -$fedoraPsr4ClassLoader->addPrefix('PhpParser\\', __DIR__); - |