Fix checkGenericClassInNonGenericObjectType PHPStan errors

This commit removes the checkGenericClassInNonGenericObjectType flag
from PHPStan configuration files and fixes all associated errors in our
code base.

[MAILPOET-3236]
This commit is contained in:
Rodrigo Primo
2021-07-28 15:08:39 -03:00
committed by Veljko V
parent f0dc0b3556
commit e59992cc16
16 changed files with 51 additions and 26 deletions

View File

@@ -32,7 +32,6 @@ parameters:
maximumNumberOfProcesses: 4
# exclude level 6 errors
checkGenericClassInNonGenericObjectType: false
checkMissingIterableValueType: false
checkMissingTypehints: false

View File

@@ -28,7 +28,6 @@ parameters:
objectManagerLoader: create-entity-manager.php
# exclude level 6 errors
checkGenericClassInNonGenericObjectType: false
checkMissingIterableValueType: false
# analysis of templates is extremely slow, let's skip them for now