Updating a small project to the latest and greatest PHPStan and PHP versions:

#PHP #PHPStan

@wyri Oops... I hope it's just the same few issues repeated a hundred times. 🤞
I have a pet project stuck on level 7 because the day I rushed to replace an abandoned library with a custom implementation I experienced some serious brainfart. 😅
@kAlvaro Ow 500 of those are just me having to switch from one mocking framework to the other + whatever else it found in the test suite. Focusing on the 200 in `src/` first.

@kAlvaro
Maybe more importantly, I run with the following extensions: ergebnis/phpstan-rules, phpstan/phpstan-deprecation-rules, phpstan/phpstan-mockery, phpstan/phpstan-phpunit, phpstan/phpstan-strict-rules, shipmonk/dead-code-detector, shipmonk/phpstan-rules, staabm/phpstan-psr3, symplify/phpstan-extensions, tomasvotruba/type-coverage, and wyrihaximus/phpstan-react.

(The list didn't fit in the previous toot 😅 .)