Skip to content

Commit be75a57

Browse files
committed
chore: ./scripts/dev/bless_tests.php .
Some hand-edits were needed for some files: - Zend/tests/bug54268.phpt - Zend/tests/generators/gh9801.phpt - Zend/tests/new_oom.phpt
1 parent 320db3b commit be75a57

File tree

964 files changed

+2194
-7
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

964 files changed

+2194
-7
lines changed

Zend/tests/030.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,5 @@ $test->bar();
3232
?>
3333
--EXPECTF--
3434
Fatal error: Cannot re-assign $this in %s030.php on line 11
35+
Stack trace:
36+
#0 {main}

Zend/tests/031.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ test($arr[]);
99
?>
1010
--EXPECTF--
1111
Fatal error: Cannot use [] for reading in %s on line %d
12+
Stack trace:
13+
#0 {main}

Zend/tests/034.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@ switch (1) {
2424
?>
2525
--EXPECTF--
2626
Fatal error: Switch statements may only contain one default clause in %s on line 13
27+
Stack trace:
28+
#0 {main}

Zend/tests/abstract_implicit.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ class NotAbstract {
1717
?>
1818
--EXPECTF--
1919
Fatal error: Class NotAbstract declares abstract method bar() and must therefore be declared abstract in %s on line %d
20+
Stack trace:
21+
#0 {main}

Zend/tests/abstract_inheritance_003.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ echo "DONE";
1010
?>
1111
--EXPECTF--
1212
Fatal error: Declaration of B::bar($x) must be compatible with A::bar($x, $y = 0) in %s
13+
Stack trace:
14+
#0 {main}

Zend/tests/allow_dynamic_properties_on_enum.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ enum Test {}
99
?>
1010
--EXPECTF--
1111
Fatal error: Cannot apply #[AllowDynamicProperties] to enum Test in %s on line %d
12+
Stack trace:
13+
#0 {main}

Zend/tests/allow_dynamic_properties_on_interface.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ interface Test {}
99
?>
1010
--EXPECTF--
1111
Fatal error: Cannot apply #[AllowDynamicProperties] to interface Test in %s on line %d
12+
Stack trace:
13+
#0 {main}

Zend/tests/allow_dynamic_properties_on_trait.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ trait Test {}
99
?>
1010
--EXPECTF--
1111
Fatal error: Cannot apply #[AllowDynamicProperties] to trait Test in %s on line %d
12+
Stack trace:
13+
#0 {main}

Zend/tests/anon/gh15994.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ $o = new class extends ParentClass {};
1111
?>
1212
--EXPECTF--
1313
Fatal error: Class ParentClass@anonymous must implement 1 abstract method (ParentClass::f) in %sgh15994.php on line 7
14+
Stack trace:
15+
#0 {main}

Zend/tests/anon/gh16067.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ $c = new class {
99
?>
1010
--EXPECTF--
1111
Fatal error: Anonymous class method f() must not be abstract in %s on line 4
12+
Stack trace:
13+
#0 {main}

0 commit comments

Comments
 (0)