diff options
Diffstat (limited to 'tests/classes')
21 files changed, 22 insertions, 22 deletions
diff --git a/tests/classes/__call_003.phpt b/tests/classes/__call_003.phpt index c80801f7cf..30662add36 100644 --- a/tests/classes/__call_003.phpt +++ b/tests/classes/__call_003.phpt @@ -1,5 +1,5 @@ --TEST-- -Force pass-by-reference to __call +Force pass-by-reference to __call --FILE-- <?php class C diff --git a/tests/classes/__call_005.phpt b/tests/classes/__call_005.phpt index 6e1584878e..33c4df8e49 100644 --- a/tests/classes/__call_005.phpt +++ b/tests/classes/__call_005.phpt @@ -1,5 +1,5 @@ --TEST-- -When __call() is invoked via ::, ensure private implementation of __call() in superclass is accessed without error. +When __call() is invoked via ::, ensure private implementation of __call() in superclass is accessed without error. --FILE-- <?php class A { diff --git a/tests/classes/__call_006.phpt b/tests/classes/__call_006.phpt index c3937393fd..e6efdefe9e 100644 --- a/tests/classes/__call_006.phpt +++ b/tests/classes/__call_006.phpt @@ -1,5 +1,5 @@ --TEST-- -Ensure exceptions are handled properly when thrown in __call. +Ensure exceptions are handled properly when thrown in __call. --FILE-- <?php class A { diff --git a/tests/classes/__call_007.phpt b/tests/classes/__call_007.phpt index cc7a2773bd..a1dd4594e9 100644 --- a/tests/classes/__call_007.phpt +++ b/tests/classes/__call_007.phpt @@ -1,5 +1,5 @@ --TEST-- -Ensure exceptions are handled properly when thrown in a statically declared __call. +Ensure exceptions are handled properly when thrown in a statically declared __call. --FILE-- <?php class A { diff --git a/tests/classes/autoload_009.phpt b/tests/classes/autoload_009.phpt index ebe691ca28..63f1ea9801 100644 --- a/tests/classes/autoload_009.phpt +++ b/tests/classes/autoload_009.phpt @@ -1,5 +1,5 @@ --TEST-- -Ensure type hints for unknown types do not trigger autoload. +Ensure type hints for unknown types do not trigger autoload. --FILE-- <?php spl_autoload_register(function ($name) { diff --git a/tests/classes/constants_basic_004.phpt b/tests/classes/constants_basic_004.phpt index 3542866cc0..e893768629 100644 --- a/tests/classes/constants_basic_004.phpt +++ b/tests/classes/constants_basic_004.phpt @@ -1,5 +1,5 @@ --TEST-- -Test properties with array default values using class constants as keys and values. +Test properties with array default values using class constants as keys and values. --FILE-- <?php class X @@ -21,7 +21,7 @@ Test properties with array default values using class constants as keys and valu class C extends B { - // Static and instance array using class constants with parent + // Static and instance array using class constants with parent public static $sa_c_parent = array(parent::KEY => parent::VALUE); public $a_c_parent = array(parent::KEY => parent::VALUE); diff --git a/tests/classes/constants_basic_005.phpt b/tests/classes/constants_basic_005.phpt index a97be1004a..55d23f77b1 100644 --- a/tests/classes/constants_basic_005.phpt +++ b/tests/classes/constants_basic_005.phpt @@ -1,5 +1,5 @@ --TEST-- -Test constants with default values based on other constants. +Test constants with default values based on other constants. --FILE-- <?php class C diff --git a/tests/classes/interface_and_extends.phpt b/tests/classes/interface_and_extends.phpt index 1c23d31ca6..8bb1ec05f1 100644 --- a/tests/classes/interface_and_extends.phpt +++ b/tests/classes/interface_and_extends.phpt @@ -1,5 +1,5 @@ --TEST-- -ZE2 a class cannot extend an interface +ZE2 a class cannot extend an interface --FILE-- <?php diff --git a/tests/classes/interface_constant_inheritance_001.phpt b/tests/classes/interface_constant_inheritance_001.phpt index f982a4a64e..046f3b1c5a 100644 --- a/tests/classes/interface_constant_inheritance_001.phpt +++ b/tests/classes/interface_constant_inheritance_001.phpt @@ -1,5 +1,5 @@ --TEST-- -Ensure an interface may not shadow an inherited constant. +Ensure an interface may not shadow an inherited constant. --FILE-- <?php interface I1 { diff --git a/tests/classes/interface_constant_inheritance_002.phpt b/tests/classes/interface_constant_inheritance_002.phpt index af4ce695f7..952dbaf7f4 100644 --- a/tests/classes/interface_constant_inheritance_002.phpt +++ b/tests/classes/interface_constant_inheritance_002.phpt @@ -1,5 +1,5 @@ --TEST-- -Ensure a class may not shadow a constant inherited from an interface. +Ensure a class may not shadow a constant inherited from an interface. --FILE-- <?php interface I { diff --git a/tests/classes/interface_constant_inheritance_003.phpt b/tests/classes/interface_constant_inheritance_003.phpt index 6b4139bd98..908ca7b4d6 100644 --- a/tests/classes/interface_constant_inheritance_003.phpt +++ b/tests/classes/interface_constant_inheritance_003.phpt @@ -1,5 +1,5 @@ --TEST-- -Ensure a class may not inherit two constants with the same name from two separate interfaces. +Ensure a class may not inherit two constants with the same name from two separate interfaces. --FILE-- <?php interface I1 { diff --git a/tests/classes/interface_constant_inheritance_004.phpt b/tests/classes/interface_constant_inheritance_004.phpt index 7f2d3e514f..aca9865eb1 100644 --- a/tests/classes/interface_constant_inheritance_004.phpt +++ b/tests/classes/interface_constant_inheritance_004.phpt @@ -1,5 +1,5 @@ --TEST-- -Ensure a class may implement two interfaces which include the same constant (due to inheritance). +Ensure a class may implement two interfaces which include the same constant (due to inheritance). --FILE-- <?php interface IA { diff --git a/tests/classes/method_override_optional_arg_002.phpt b/tests/classes/method_override_optional_arg_002.phpt index c62e3a562e..254392718b 100644 --- a/tests/classes/method_override_optional_arg_002.phpt +++ b/tests/classes/method_override_optional_arg_002.phpt @@ -1,5 +1,5 @@ --TEST-- -Omitting optional arg in method inherited from abstract class +Omitting optional arg in method inherited from abstract class --FILE-- <?php diff --git a/tests/classes/private_members.phpt b/tests/classes/private_members.phpt index 5ab448e437..4d8fd9eeb0 100644 --- a/tests/classes/private_members.phpt +++ b/tests/classes/private_members.phpt @@ -1,5 +1,5 @@ --TEST-- -ZE2 A private member is +ZE2 A private member is --FILE-- <?php diff --git a/tests/classes/static_properties_003.phpt b/tests/classes/static_properties_003.phpt index 2aab44d586..89c26d3dd3 100644 --- a/tests/classes/static_properties_003.phpt +++ b/tests/classes/static_properties_003.phpt @@ -1,5 +1,5 @@ --TEST-- -Attempting to access static properties using instance property syntax +Attempting to access static properties using instance property syntax --FILE-- <?php class C { diff --git a/tests/classes/static_properties_003_error1.phpt b/tests/classes/static_properties_003_error1.phpt index df297a71b2..68a57a8f89 100644 --- a/tests/classes/static_properties_003_error1.phpt +++ b/tests/classes/static_properties_003_error1.phpt @@ -1,5 +1,5 @@ --TEST-- -Attempting to access static properties using instance property syntax +Attempting to access static properties using instance property syntax --FILE-- <?php class C { diff --git a/tests/classes/static_properties_003_error2.phpt b/tests/classes/static_properties_003_error2.phpt index 4509568160..b428b4ff6e 100644 --- a/tests/classes/static_properties_003_error2.phpt +++ b/tests/classes/static_properties_003_error2.phpt @@ -1,5 +1,5 @@ --TEST-- -Attempting to access static properties using instance property syntax +Attempting to access static properties using instance property syntax --FILE-- <?php class C { diff --git a/tests/classes/static_properties_003_error3.phpt b/tests/classes/static_properties_003_error3.phpt index 4f4288a63c..b9423639b0 100644 --- a/tests/classes/static_properties_003_error3.phpt +++ b/tests/classes/static_properties_003_error3.phpt @@ -1,5 +1,5 @@ --TEST-- -Attempting to access static properties using instance property syntax +Attempting to access static properties using instance property syntax --FILE-- <?php class C { diff --git a/tests/classes/static_properties_003_error4.phpt b/tests/classes/static_properties_003_error4.phpt index d526e7247b..6501689ddb 100644 --- a/tests/classes/static_properties_003_error4.phpt +++ b/tests/classes/static_properties_003_error4.phpt @@ -1,5 +1,5 @@ --TEST-- -Attempting to access static properties using instance property syntax +Attempting to access static properties using instance property syntax --FILE-- <?php class C { diff --git a/tests/classes/static_properties_004.phpt b/tests/classes/static_properties_004.phpt index 79bbc6380b..42860c3301 100644 --- a/tests/classes/static_properties_004.phpt +++ b/tests/classes/static_properties_004.phpt @@ -1,5 +1,5 @@ --TEST-- -Inherited static properties cannot be separated from their reference set. +Inherited static properties cannot be separated from their reference set. --FILE-- <?php class C { public static $p = 'original'; } diff --git a/tests/classes/this.phpt b/tests/classes/this.phpt index 5551e8ac88..30ea83e285 100644 --- a/tests/classes/this.phpt +++ b/tests/classes/this.phpt @@ -3,7 +3,7 @@ ZE2 $this cannot be exchanged --FILE-- <?php -/* please don't shorten this test. It shows what would happen if +/* please don't shorten this test. It shows what would happen if * the fatal error would have been a warning. */ class Foo |
