com php-src: cleanup tests: Zend/tests/type_declarations/type d_properties_020.phpt Zend/tests/type_declarati ons/typed_properties_021.phpt
Zend/tests/type_d eclarations/typed_properties_022.phpt Zend/tests/ type_declarations/typed_properties_023.phpt

From: Date: Thu, 10 Mar 2016 06:25:21 +0000
Subject: com php-src: cleanup tests: Zend/tests/type_declarations/type d_properties_020.phpt Zend/tests/type_declarati ons/typed_properties_021.phpt
Zend/tests/type_d eclarations/typed_properties_022.phpt Zend/tests/ type_declarations/typed_properties_023.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-95695@lists.php.net to get a copy of this message
Commit: 109ee15364333374635d9eb1a33a2838c6833971 Author: Joe Watkins <krakjoe@php.net> Thu, 10 Mar 2016 06:25:21 +0000 Parents: 2beab02338aab8f2aab07c113d7209385231362d Branches: typed_ref_properties Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=109ee15364333374635d9eb1a33a2838c6833971 Log: cleanup tests Changed paths: M Zend/tests/type_declarations/typed_properties_020.phpt M Zend/tests/type_declarations/typed_properties_021.phpt M Zend/tests/type_declarations/typed_properties_022.phpt M Zend/tests/type_declarations/typed_properties_023.phpt Diff: diff --git a/Zend/tests/type_declarations/typed_properties_020.phpt b/Zend/tests/type_declarations/typed_properties_020.phpt index fc1d6e1..78a7bf4 100644 --- a/Zend/tests/type_declarations/typed_properties_020.phpt +++ b/Zend/tests/type_declarations/typed_properties_020.phpt @@ -11,8 +11,6 @@ class Foo { } $foo = new Foo(); - -var_dump($foo->bar); ?> --EXPECTF-- Fatal error: Uncaught TypeError: Typed property Foo::$bar must be string, integer used in %s:6 diff --git a/Zend/tests/type_declarations/typed_properties_021.phpt b/Zend/tests/type_declarations/typed_properties_021.phpt index b3e3fa0..79a5d70 100644 --- a/Zend/tests/type_declarations/typed_properties_021.phpt +++ b/Zend/tests/type_declarations/typed_properties_021.phpt @@ -7,8 +7,6 @@ class Foo { } $foo = new Foo(); - -var_dump($foo->bar); ?> --EXPECTF-- Fatal error: Class 'BAR' not found in %s on line 6 diff --git a/Zend/tests/type_declarations/typed_properties_022.phpt b/Zend/tests/type_declarations/typed_properties_022.phpt index 4b62012..1aa23f3 100644 --- a/Zend/tests/type_declarations/typed_properties_022.phpt +++ b/Zend/tests/type_declarations/typed_properties_022.phpt @@ -7,8 +7,6 @@ class Foo { } $foo = new Foo(); - -var_dump($foo->bar); ?> --EXPECTF-- Fatal error: Class 'BAR' not found in %s on line 6 diff --git a/Zend/tests/type_declarations/typed_properties_023.phpt b/Zend/tests/type_declarations/typed_properties_023.phpt index b99eef9..ce6aa53 100644 --- a/Zend/tests/type_declarations/typed_properties_023.phpt +++ b/Zend/tests/type_declarations/typed_properties_023.phpt @@ -5,10 +5,6 @@ Test typed properties disallow static class Foo { public static int $thing; } - -$foo = new Foo(); - -var_dump($foo->bar); ?> --EXPECTF-- Fatal error: Typed property Foo::$thing must not be static in %s on line 3

« previous php.cvs (#95695) next »