EasyAdminBundle icon indicating copy to clipboard operation
EasyAdminBundle copied to clipboard

Missing templating in AbstractCrudTestCase

Open FoxCie opened this issue 2 months ago • 0 comments

Describe the bug When working with PHPStan and AbstractCrudTestCase, the return type of the method getCrudControllerFqcn is marked as class-string<CrudControllerInterface>, but since CrudControllerInterface is templated, PHPStan reports that the template type is missing.

The easiest way to handle this is, I think, to template AbstractCrudTestCase with the CrudControllerInterface.

To Reproduce Launch PHPStan with an AbstractCrudTestCase and without ignoring errors of identifier missingType.generics.

FoxCie avatar Nov 28 '25 09:11 FoxCie