com php-src: Fixed test: Zend/tests/bug70957.phpt
| From: | Xinchen Hui | Date: | Mon, 23 Nov 2015 10:33:14 +0000 |
| Subject: | com php-src: Fixed test: Zend/tests/bug70957.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-89966@lists.php.net to get a copy of this message | ||
Commit: 45c5e271830e5adb4fb9818efac4b2eaa98a2136
Author: Xinchen Hui <laruence@gmail.com> Mon, 23 Nov 2015 18:33:14 +0800
Parents: 51ccc88b877a7298d6bec355e3b42174485392cf
Branches: PHP-7.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=45c5e271830e5adb4fb9818efac4b2eaa98a2136
Log:
Fixed test
Changed paths:
M Zend/tests/bug70957.phpt
Diff:
diff --git a/Zend/tests/bug70957.phpt b/Zend/tests/bug70957.phpt
index e6a38f7..7db7d7d 100644
--- a/Zend/tests/bug70957.phpt
+++ b/Zend/tests/bug70957.phpt
@@ -13,10 +13,10 @@ trait T {
}
}
-class Bar extends Foo
+class B extends Foo
{
use T;
}
?>
--EXPECTF--
-Strict Standards: Declaration of T::bar() should be compatible with Foo::bar($a = 'Foo')
in %sbug70957.php on line %d
+Warning: Declaration of T::bar() should be compatible with Foo::bar($a = 'Foo') in
%sbug70957.php on line %d