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
minor #42761 [ErrorHandler] Fix test fatal_with_nested_handlers for PHP 8.1 (derrabus)
This PR was merged into the 4.4 branch.
Discussion
----------
[ErrorHandler] Fix test `fatal_with_nested_handlers` for PHP 8.1
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | Part of #41552
| License | MIT
| Doc PR | Not needed.
PHP 8.1 changes the order in which `print_r()`, `var_dump()` and friends dump properties. This PR creates a new version of one of ErrorHandler's PHPT tests, adapting to this change.
Commits
-------
a0e8f4f Fix test fatal_with_nested_handlers for PHP 8.1
string(186) "Error: Class Symfony\Component\ErrorHandler\Broken contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (JsonSerializable::jsonSerialize)"
string(186) "Error: Class Symfony\Component\ErrorHandler\Broken contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (JsonSerializable::jsonSerialize)"
string(179) "Class Symfony\Component\ErrorHandler\Broken contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (JsonSerializable::jsonSerialize)"
47
+
["file"]=>
48
+
string(%d) "%s"
49
+
["line"]=>
50
+
int(%d)
51
+
}
52
+
["message":protected]=>
53
+
string(186) "Error: Class Symfony\Component\ErrorHandler\Broken contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (JsonSerializable::jsonSerialize)"
0 commit comments