You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Zend/tests/type_declarations/intersection_types/invalid_types/invalid_unresolved_relative_type_parent.phpt
+2-4Lines changed: 2 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,9 @@
1
1
--TEST--
2
-
parent type cannot take part in an intersection type
2
+
parent type cannot take part in an intersection type when unresolved
Copy file name to clipboardExpand all lines: Zend/tests/type_declarations/union_types/redundant_types/duplicate_resolved_relative_class_type_variation1.phpt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,4 +9,4 @@ class Foo {
9
9
10
10
?>
11
11
--EXPECTF--
12
-
Fatal error: self resolves to Foo which is redundant in %s on line %d
12
+
Fatal error: Duplicate type Foo is redundant in %s on line %d
Copy file name to clipboardExpand all lines: Zend/tests/type_declarations/union_types/redundant_types/duplicate_resolved_relative_class_type_variation2.phpt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,4 +9,4 @@ class Foo {
9
9
10
10
?>
11
11
--EXPECTF--
12
-
Fatal error: self resolves to Foo which is redundant in %s on line %d
12
+
Fatal error: Duplicate type Foo is redundant in %s on line %d
Copy file name to clipboardExpand all lines: Zend/tests/type_declarations/union_types/redundant_types/duplicate_resolved_relative_class_type_variation3.phpt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,4 +12,4 @@ class Bar extends Foo {
12
12
13
13
?>
14
14
--EXPECTF--
15
-
Fatal error: parent resolves to Foo which is redundant in %s on line %d
15
+
Fatal error: Duplicate type Foo is redundant in %s on line %d
Copy file name to clipboardExpand all lines: Zend/tests/type_declarations/union_types/redundant_types/duplicate_resolved_relative_class_type_variation4.phpt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,4 +12,4 @@ class Bar extends Foo {
12
12
13
13
?>
14
14
--EXPECTF--
15
-
Fatal error: parent resolves to Foo which is redundant in %s on line %d
15
+
Fatal error: Duplicate type Foo is redundant in %s on line %d
0 commit comments