diff options
author | Nikita Popov <nikic@php.net> | 2015-03-15 09:47:25 +0100 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2015-04-01 11:17:55 +0200 |
commit | 8d00385871c6dca1f18a5e7924c655a2cb381564 (patch) | |
tree | aeaa0503ba613bc77332dde492b71f6f105d0ef2 /Zend/tests/errmsg_045.phpt | |
parent | 4796e0242b8cdd2a77b552fcbaa74d70d87f6d0a (diff) | |
download | php-git-8d00385871c6dca1f18a5e7924c655a2cb381564.tar.gz |
Reclassify E_STRICT notices
Per RFC https://wiki.php.net/rfc/reclassify_e_strict
While reviewing this, found that there are still three E_STRICTs
left in libraries - need to discuss those.
Diffstat (limited to 'Zend/tests/errmsg_045.phpt')
-rw-r--r-- | Zend/tests/errmsg_045.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/tests/errmsg_045.phpt b/Zend/tests/errmsg_045.phpt index 331425ad9c..9f3b8558fd 100644 --- a/Zend/tests/errmsg_045.phpt +++ b/Zend/tests/errmsg_045.phpt @@ -10,11 +10,11 @@ set_error_handler(function($_, $msg, $file) { /* This is just a particular example of a non-fatal compile-time error * If this breaks in future, just find another example and use it instead */ -eval('abstract class foo { abstract static function bar(); }'); +eval('class A { function test() { } } class B extends A { function test($a) { } }'); ?> --EXPECTF-- -string(%d) "Static function foo::bar() should not be abstract" +string(60) "Declaration of B::test() should be compatible with A::test()" string(%d) "%s(%d) : eval()'d code" Notice: Undefined variable: undefined in %s on line %d |