Ver Fonte

ignore api platform noNamedArgument phpstan errors

Olivier Massot há 6 meses atrás
pai
commit
83df29d0f1
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      phpstan.neon.dist

+ 1 - 0
phpstan.neon.dist

@@ -12,6 +12,7 @@ parameters:
         - identifier: 'missingType.generics'
         - '#Class App\\Repository\\.+Repository has PHPDoc tag @method for method .+\(\) parameter .* with no value type specified in iterable type array\.$#'
 #        - '#Property .+::\$id \(int\|null\) is never assigned int so it can be removed from the property type\.$#'
+        - '#Constructor of ApiPlatform\\Metadata\\[a-zA-Z]+ is invoked with named argument#'
 
     ergebnis:
         # TODO: simplify by using allRules: false (https://github.com/ergebnis/phpstan-rules?tab=readme-ov-file#enabling-rules-one-by-one)