Line Controller/ErrorController.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
44 Method App\Controller\ErrorController::beforeFilter() has parameter $event with generic interface Cake\Event\EventInterface but does not specify its types: TSubject
💡 You can turn this off by setting checkGenericClassInNonGenericObjectType: false in your phpstan.neon.
54 Method App\Controller\ErrorController::beforeRender() has parameter $event with generic interface Cake\Event\EventInterface but does not specify its types: TSubject
💡 You can turn this off by setting checkGenericClassInNonGenericObjectType: false in your phpstan.neon.
67 Method App\Controller\ErrorController::afterFilter() has parameter $event with generic interface Cake\Event\EventInterface but does not specify its types: TSubject
💡 You can turn this off by setting checkGenericClassInNonGenericObjectType: false in your phpstan.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------```
This is what you get with the new version of cakephp installed and running phpstan
### CakePHP Version
4.4.8
### PHP Version
7.4 and above
Description