From: Nikita Popov Date: Mon, 20 Jul 2020 08:54:59 +0000 (+0200) Subject: Fix tests I missed before X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=015fc638fb2a1f3082f1ef15684120def377f64f;p=php Fix tests I missed before --- diff --git a/ext/date/tests/ExtendDateTime.phpt b/ext/date/tests/ExtendDateTime.phpt index 212d44ab82..70ed2793e6 100644 --- a/ext/date/tests/ExtendDateTime.phpt +++ b/ext/date/tests/ExtendDateTime.phpt @@ -9,4 +9,4 @@ class MyDateTime extends DateTime { } ?> --EXPECTF-- -Fatal error: Declaration of MyDateTime::__set_state() must be compatible with DateTime::__set_state(array $array) in %s on line %d +Fatal error: Method MyDateTime::__set_state() must take exactly 1 argument in %s on line %d diff --git a/ext/reflection/tests/ReflectionMethod_getModifiers_basic.phpt b/ext/reflection/tests/ReflectionMethod_getModifiers_basic.phpt index e5e967e28e..6e0a0645c5 100644 --- a/ext/reflection/tests/ReflectionMethod_getModifiers_basic.phpt +++ b/ext/reflection/tests/ReflectionMethod_getModifiers_basic.phpt @@ -52,7 +52,7 @@ class TestClass public function __wakeup() {} - public static function __set_state() {} + public static function __set_state($a) {} public function __autoload() {} }