diff options
author | Remi Collet <remi@remirepo.net> | 2020-07-08 13:50:15 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-07-08 13:50:15 +0200 |
commit | 7a771882b8fcad0281aae6d511fdd991e0440816 (patch) | |
tree | 01d86b733139969b85cfc1eb50e83a901abd2491 /php-phpspec-prophecy-autoload.php | |
parent | ce4f7ef7b47a2a64db7d775f76d3e810a4790920 (diff) |
update to 1.11.0
raise dependency on PHP 7.2
raise dependency on phpdocumentor/reflection-docblock 5.0
raise dependency on sebastian/comparator 3.0
raise dependency on doctrine/instantiator 1.2
raise dependency on sebastian/recursion-context 3.0
Diffstat (limited to 'php-phpspec-prophecy-autoload.php')
-rw-r--r-- | php-phpspec-prophecy-autoload.php | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/php-phpspec-prophecy-autoload.php b/php-phpspec-prophecy-autoload.php index f4b72b2..dfb7e08 100644 --- a/php-phpspec-prophecy-autoload.php +++ b/php-phpspec-prophecy-autoload.php @@ -11,12 +11,6 @@ require_once '/usr/share/php/Fedora/Autoloader/autoload.php'; require_once 'Doctrine/Instantiator/autoload.php'; if ($dep = stream_resolve_include_path('phpDocumentor/Reflection/DocBlock5/autoload.php')) { require_once $dep; -} else if ($dep = stream_resolve_include_path('phpDocumentor/Reflection/DocBlock4/autoload.php')) { - require_once $dep; -} else if ($dep = stream_resolve_include_path('phpDocumentor/Reflection/DocBlock/autoload.php')) { - require_once $dep; -} else if ($dep = stream_resolve_include_path('phpDocumentor/Reflection/DocBlock2/autoload.php')) { - require_once $dep; } else { trigger_error('phpDocumentor reflection docblock autoloader not found in include path', E_USER_ERROR); exit(1); @@ -25,12 +19,9 @@ unset($dep); if (!class_exists('SebastianBergmann\\Comparator\\Comparator')) { // v2 from phpunit, v1 from phpspec require_once (stream_resolve_include_path('SebastianBergmann/Comparator4/autoload.php') ?: - (stream_resolve_include_path('SebastianBergmann/Comparator3/autoload.php') ?: - (stream_resolve_include_path('SebastianBergmann/Comparator2/autoload.php') ?: - 'SebastianBergmann/Comparator/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') ?: - (stream_resolve_include_path('SebastianBergmann/RecursionContext3/autoload.php') ?: - 'SebastianBergmann/RecursionContext/autoload.php')); + 'SebastianBergmann/RecursionContext3/autoload.php'); } |