From f3d833a4ec412609d7b31cb277fd0ed367f1898a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 12 Feb 2018 07:18:55 +0100 Subject: Update to 1.7.4 use range dependency on F27+ --- php-phpspec-prophecy-autoload.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'php-phpspec-prophecy-autoload.php') 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; -- cgit