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
Add the closure parameter type that Rector 2.8.3 asks for in Debugger::routeInfo(), so composer rector:check passes again.
Why
The CI workflow runs composer update, so it installs the newest Rector. Rector 2.8.3 reports one change that the earlier version did not, and every pull request now fails the Rector step on PHP 8.1, 8.2 and 8.3:
Apply that one change in src/Debugger/Debugger.php.
Rector also warns that the rule DeclareStrictTypesRector registered in the Rector config is deprecated and will be removed. That is not part of this ticket; it needs its own change before the rule is removed.
Acceptance Criteria
composer rector:check, composer cs:check, composer phpstan and the Debugger tests pass
Not needed as a separate change. The same one-line change to Debugger::routeInfo() was added to the pull request for #622 (#632), because that pull request could not go green with the new Rector failing, so it is handled there.
Activity
armanist commentedon Oct 29, 2026
Not needed as a separate change. The same one-line change to
Debugger::routeInfo()was added to the pull request for #622 (#632), because that pull request could not go green with the new Rector failing, so it is handled there.