lint/phpunit/add-will-return-callback-false-fallback
In the code-quality set. Unsafe fix: it can change behaviour. Runs when phpunit is installed. Planned: not in Pun yet. Enabling it is a config error.
What it does
Add a “return false” fallback to a willReturnCallback() closure that only returns booleans, but can fall through without a return
Replaces
WillReturnCallbackFallbackToReturnFalse(rector-phpunit)