]> granicus.if.org Git - php/commitdiff
- Fixed tests
authorFelipe Pena <felipe@php.net>
Tue, 6 Jul 2010 00:25:52 +0000 (00:25 +0000)
committerFelipe Pena <felipe@php.net>
Tue, 6 Jul 2010 00:25:52 +0000 (00:25 +0000)
ext/reflection/tests/ReflectionClass_getConstructor_basic.phpt
ext/reflection/tests/ReflectionMethod_constructor_basic.phpt
ext/reflection/tests/ReflectionObject_getConstructor_basic.phpt

index f3881c56db54a4330281ff71a9b1815b94b65529..1f5ba432c3cf462a6416c43773b378de635f7650 100644 (file)
@@ -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
index 5655b0eeabc45f6c4f06ae4cc6e47d2a02e8282d..2710779e470d737455ef66e8637763f76d2d6841 100644 (file)
@@ -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)
 
index a784f6d9e0d00b67555db4cef5accd0958104f70..5a0c36f9eec264fb0bbcc53122e4cbd3a2490f29 100644 (file)
@@ -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