Skip to content

Commit 2f4bbcb

Browse files
committed
#17725 remove unnecessary tests & change test descriptions & move tests to folder Zend/tests/type_declarations/variance/override_static_with_self
1 parent 573b8de commit 2f4bbcb

15 files changed

+6
-104
lines changed

Zend/tests/type_declarations/override_another_type_in_final_class_with_union_type_10.phpt

Lines changed: 0 additions & 24 deletions
This file was deleted.

Zend/tests/type_declarations/override_another_type_in_final_class_with_union_type_7.phpt

Lines changed: 0 additions & 25 deletions
This file was deleted.

Zend/tests/type_declarations/override_another_type_in_final_class_with_union_type_8.phpt

Lines changed: 0 additions & 25 deletions
This file was deleted.

Zend/tests/type_declarations/override_another_type_in_final_class_with_union_type_9.phpt

Lines changed: 0 additions & 24 deletions
This file was deleted.

Zend/tests/type_declarations/override_another_type_in_final_class_with_union_type.phpt renamed to Zend/tests/type_declarations/variance/override_static_with_self/override_another_type_in_final_class_with_union_type.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Overriding another one type in final class with union types
2+
Overriding return type with type that is not in the interface in final class with union types
33
--FILE--
44
<?php
55

Zend/tests/type_declarations/override_another_type_in_final_class_with_union_type_2.phpt renamed to Zend/tests/type_declarations/variance/override_static_with_self/override_another_type_in_final_class_with_union_type_2.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Overriding another one type in final class with union types
2+
Overriding static with self and add a type that is not in the interface in final class
33
--FILE--
44
<?php
55

Zend/tests/type_declarations/override_another_type_in_final_class_with_union_type_3.phpt renamed to Zend/tests/type_declarations/variance/override_static_with_self/override_another_type_in_final_class_with_union_type_3.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Overriding another one type in final class with union types
2+
Override static with another implementation of interface in final class
33
--FILE--
44
<?php
55

Zend/tests/type_declarations/override_another_type_in_final_class_with_union_type_4.phpt renamed to Zend/tests/type_declarations/variance/override_static_with_self/override_another_type_in_final_class_with_union_type_4.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Overriding another one type in final class with union types
2+
Override static with another implementation of interface and add a type that is not in the interface in final class
33
--FILE--
44
<?php
55

Zend/tests/type_declarations/override_another_type_in_final_class_with_union_type_5.phpt renamed to Zend/tests/type_declarations/variance/override_static_with_self/override_another_type_in_final_class_with_union_type_5.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Overriding another one type in final class with union types
2+
Override static with class that is even not an implementation of interface in final class
33
--FILE--
44
<?php
55

Zend/tests/type_declarations/override_another_type_in_final_class_with_union_type_6.phpt renamed to Zend/tests/type_declarations/variance/override_static_with_self/override_another_type_in_final_class_with_union_type_6.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Overriding another one type in final class with union types
2+
Override static with class that is even not an implementation of interface and add a type that is not in the interface in final class
33
--FILE--
44
<?php
55

0 commit comments

Comments
 (0)