mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-13 12:33:52 +01:00
0ac5412aa0
* Add failing test fixture for ChangeSwitchToMatchRector # Failing Test for ChangeSwitchToMatchRector Based on https://getrector.org/demo/f7f2ba48-3c19-4fdb-bc0a-e956e037eefd It's important to add the default case to prevent this error when passing another code: ``` Fatal error: Uncaught UnhandledMatchError: Unhandled match value of type int ``` https://3v4l.org/E64Um * Closes #6216 * phpstan * phpstan Co-authored-by: Ruud Kamphuis <ruudk@users.noreply.github.com>