From a9efe3f80b96b29ea090ace4a64b53d8f2069578 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 6 Mar 2020 08:06:17 +0100 Subject: update to 1.10.3 allow phpdocumentor/reflection-docblock 5.0 --- 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 b844b2a..f4b72b2 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/DocBlock4/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; -- cgit