diff options
| author | Remi Collet <remi@remirepo.net> | 2020-09-28 16:53:02 +0200 | 
|---|---|---|
| committer | Remi Collet <remi@remirepo.net> | 2020-09-28 16:53:02 +0200 | 
| commit | 7eb5acfc65f9aca4068f7e34ca5913793362d427 (patch) | |
| tree | 3fcf48baa63d1b4075610a8e334a0b4defc2fa24 /php-phpspec-prophecy-autoload.php | |
| parent | 3af3a8a065981db664e916ebe3f4571d411fed32 (diff) | |
switch to classmap autoloader
Diffstat (limited to 'php-phpspec-prophecy-autoload.php')
| -rw-r--r-- | php-phpspec-prophecy-autoload.php | 27 | 
1 files changed, 0 insertions, 27 deletions
| diff --git a/php-phpspec-prophecy-autoload.php b/php-phpspec-prophecy-autoload.php deleted file mode 100644 index dfb7e08..0000000 --- a/php-phpspec-prophecy-autoload.php +++ /dev/null @@ -1,27 +0,0 @@ -<?php -/* Autoloader for phpspec/prophecy and its dependencies */ - -// Rely on include_path as in PHPUnit dependencies + circular dependencies - -require_once '/usr/share/php/Fedora/Autoloader/autoload.php'; - -\Fedora\Autoloader\Autoload::addPsr4('Prophecy\\', __DIR__); - -// Dependencies -require_once 'Doctrine/Instantiator/autoload.php'; -if ($dep = stream_resolve_include_path('phpDocumentor/Reflection/DocBlock5/autoload.php')) { -  require_once $dep; -} else { -  trigger_error('phpDocumentor reflection docblock autoloader not found in include path', E_USER_ERROR); -  exit(1); -} -unset($dep); - -if (!class_exists('SebastianBergmann\\Comparator\\Comparator')) { // v2 from phpunit, v1 from phpspec -  require_once (stream_resolve_include_path('SebastianBergmann/Comparator4/autoload.php') ?: -                'SebastianBergmann/Comparator3/autoload.php'); -} -if (!class_exists('SebastianBergmann\\RecursionContext\\Context')) { // v3 from phpunit, v2 from phpspec (via exporter) -  require_once (stream_resolve_include_path('SebastianBergmann/RecursionContext4/autoload.php') ?: -                'SebastianBergmann/RecursionContext3/autoload.php'); -} | 
