Explorar o código

fix phpstan configuration

Olivier Massot hai 1 ano
pai
achega
35ea6a77bd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      phpstan.neon.dist

+ 1 - 1
phpstan.neon.dist

@@ -2,7 +2,6 @@
 parameters:
     level: 6
     treatPhpDocTypesAsCertain: false
-    checkGenericClassInNonGenericObjectType: false
     paths:
         - src
 
@@ -10,4 +9,5 @@ parameters:
     # on ignore les erreurs qui imposent d'indiquer le type d'un iterable dans la phpDoc (cf: https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type)
     ignoreErrors :
         - '#Attribute class JetBrains\\PhpStorm\\[a-zA-Z]+ does not exist.#'
+        - identifier: 'missingType.generics'