com php-src: Fix closure tests using ReflectionType::__ toString(): Zend/tests/bug69802.phpt Zend
/tests/closures/closure_from_callable_reflection.phpt

From: Date: Tue, 16 Aug 2016 18:05:51 +0000
Subject: com php-src: Fix closure tests using ReflectionType::__ toString(): Zend/tests/bug69802.phpt Zend
/tests/closures/closure_from_callable_reflection.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-93801@lists.php.net to get a copy of this message
Commit: 6fcedc96fbabc2787e18f904347f7a1429992c89 Author: Aaron Piotrowski <aaron@trowski.com> Tue, 16 Aug 2016 13:05:51 -0500 Parents: 20fdd47921f423728b409fd0ae0106dab9c34573 Branches: PHP-7.1 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6fcedc96fbabc2787e18f904347f7a1429992c89 Log: Fix closure tests using ReflectionType::__toString() Changed paths: M Zend/tests/bug69802.phpt M Zend/tests/closures/closure_from_callable_reflection.phpt Diff: diff --git a/Zend/tests/bug69802.phpt b/Zend/tests/bug69802.phpt index ed0430f..5f851ae 100644 --- a/Zend/tests/bug69802.phpt +++ b/Zend/tests/bug69802.phpt @@ -17,7 +17,7 @@ object(ReflectionClass)#4 (1) { string(8) "stdClass" } Parameter #0 [ <required> stdClass $x ] -stdClass +\stdClass Method [ <internal, prototype Closure> public method __invoke ] { - Parameters [1] { diff --git a/Zend/tests/closures/closure_from_callable_reflection.phpt b/Zend/tests/closures/closure_from_callable_reflection.phpt index 48e1e77..f48acfb 100644 --- a/Zend/tests/closures/closure_from_callable_reflection.phpt +++ b/Zend/tests/closures/closure_from_callable_reflection.phpt @@ -36,11 +36,11 @@ foreach ($callables as $callable) { ?> --EXPECTF-- -Bar +\Bar int -Bar +\Bar int -Bar +\Bar int -Bar +\Bar int

« previous php.cvs (#93801) next »