summaryrefslogtreecommitdiffstats
path: root/php-phpspec-prophecy-autoload.php
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-01-21 08:32:20 +0100
committerRemi Collet <remi@remirepo.net>2020-01-21 08:32:20 +0100
commitad686690e323de5c5ac0dd4a87fb7df133618821 (patch)
tree6211f3365cea856c8e184893bb41108a62971fe0 /php-phpspec-prophecy-autoload.php
parent5f86da8f95df7e963c896eb96e7bc34713dd45a1 (diff)
update to 1.10.2
allow sebastian/comparator 4 and sebastian/recursion-context 4
Diffstat (limited to 'php-phpspec-prophecy-autoload.php')
-rw-r--r--php-phpspec-prophecy-autoload.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/php-phpspec-prophecy-autoload.php b/php-phpspec-prophecy-autoload.php
index 3a2b120..b844b2a 100644
--- a/php-phpspec-prophecy-autoload.php
+++ b/php-phpspec-prophecy-autoload.php
@@ -22,10 +22,13 @@ if ($dep = stream_resolve_include_path('phpDocumentor/Reflection/DocBlock4/autol
unset($dep);
if (!class_exists('SebastianBergmann\\Comparator\\Comparator')) { // v2 from phpunit, v1 from phpspec
- require_once (stream_resolve_include_path('SebastianBergmann/Comparator3/autoload.php') ?:
+ 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/Comparator/autoload.php')));
}
if (!class_exists('SebastianBergmann\\RecursionContext\\Context')) { // v3 from phpunit, v2 from phpspec (via exporter)
- require_once (stream_resolve_include_path('SebastianBergmann/RecursionContext3/autoload.php') ?: 'SebastianBergmann/RecursionContext/autoload.php');
+ require_once (stream_resolve_include_path('SebastianBergmann/RecursionContext4/autoload.php') ?:
+ (stream_resolve_include_path('SebastianBergmann/RecursionContext3/autoload.php') ?:
+ 'SebastianBergmann/RecursionContext/autoload.php'));
}