From: Felipe Pena Date: Tue, 6 Jul 2010 00:25:52 +0000 (+0000) Subject: - Fixed tests X-Git-Tag: php-5.2.14RC3~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=08bdfef92ab0dbf27c55b1e4cdaade1faf64644a;p=php - Fixed tests --- diff --git a/ext/reflection/tests/ReflectionClass_getConstructor_basic.phpt b/ext/reflection/tests/ReflectionClass_getConstructor_basic.phpt index f3881c56db..1f5ba432c3 100644 --- a/ext/reflection/tests/ReflectionClass_getConstructor_basic.phpt +++ b/ext/reflection/tests/ReflectionClass_getConstructor_basic.phpt @@ -64,10 +64,7 @@ foreach ($classes as $class) { ?> --EXPECTF-- - -Strict Standards: Redefining already defined constructor for class OldAndNewCtor in %s on line 26 - -Strict Standards: %s for class NewAndOldCtor in %s on line 31 +Strict Standards: Redefining already defined constructor for class OldAndNewCtor in %s on line %d Constructor of NewCtor: __construct Constructor of ExtendsNewCtor: __construct Constructor of OldCtor: OldCtor @@ -79,4 +76,4 @@ Constructor of C: C Constructor of D1: __construct Constructor of D2: C No constructor for X -No constructor for Y \ No newline at end of file +No constructor for Y diff --git a/ext/reflection/tests/ReflectionMethod_constructor_basic.phpt b/ext/reflection/tests/ReflectionMethod_constructor_basic.phpt index 5655b0eeab..2710779e47 100644 --- a/ext/reflection/tests/ReflectionMethod_constructor_basic.phpt +++ b/ext/reflection/tests/ReflectionMethod_constructor_basic.phpt @@ -88,8 +88,6 @@ var_dump($methodInfo->isConstructor()); ?> --EXPECTF-- Strict Standards: Redefining already defined constructor for class OldAndNewCtor in %s on line %d - -Strict Standards: %s for class NewAndOldCtor in %s on line %d New-style constructor: bool(true) diff --git a/ext/reflection/tests/ReflectionObject_getConstructor_basic.phpt b/ext/reflection/tests/ReflectionObject_getConstructor_basic.phpt index a784f6d9e0..5a0c36f9ee 100644 --- a/ext/reflection/tests/ReflectionObject_getConstructor_basic.phpt +++ b/ext/reflection/tests/ReflectionObject_getConstructor_basic.phpt @@ -64,10 +64,7 @@ foreach ($classes as $class) { ?> --EXPECTF-- - -Strict Standards: Redefining already defined constructor for class OldAndNewCtor in %s on line 26 - -Strict Standards: %s for class NewAndOldCtor in %s on line 31 +Strict Standards: Redefining already defined constructor for class OldAndNewCtor in %s on line %d Constructor of NewCtor: __construct Constructor of ExtendsNewCtor: __construct Constructor of OldCtor: OldCtor