- Issue created by @BenStallings
phpstan reports,
Unsafe usage of new static().
π‘ See: https://phpstan.org/blog/solving-phpstan-error-unsafe-usage-of-new-static
on AutoEntityLabelPermissionController, AutoEntityLabelForm, AutoEntityLabelConfigTask, and EntityLabelNotNullConstraintValidator.
phpstan analyse auto_entitylabel
In AutoEntityLabelForm, use the $instance = parent::create()
pattern instead of implementing __construct(). In the other three, mark __construct() as final.
make an MR
Active
3.0
Code