summaryrefslogtreecommitdiffstats
path: root/php-phpspec-prophecy-autoload.php
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-02-12 07:18:55 +0100
committerRemi Collet <remi@remirepo.net>2018-02-12 07:18:55 +0100
commitf3d833a4ec412609d7b31cb277fd0ed367f1898a (patch)
treeb92b6f4341226477debcb7e0ab7e8870990af5c3 /php-phpspec-prophecy-autoload.php
parent2387242d0aeff63203aff34664431c405ce16379 (diff)
Update to 1.7.4
use range dependency on F27+
Diffstat (limited to 'php-phpspec-prophecy-autoload.php')
-rw-r--r--php-phpspec-prophecy-autoload.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/php-phpspec-prophecy-autoload.php b/php-phpspec-prophecy-autoload.php
index 599ad20..0698ea8 100644
--- a/php-phpspec-prophecy-autoload.php
+++ b/php-phpspec-prophecy-autoload.php
@@ -9,7 +9,9 @@ require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
// Dependencies
require_once 'Doctrine/Instantiator/autoload.php';
-if ($dep = stream_resolve_include_path('phpDocumentor/Reflection/DocBlock/autoload.php')) {
+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;