From f8774fc7c77e39e21f1704b45d2232c28de9a6cc Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Tue, 12 Apr 2022 13:19:44 +0200 Subject: [PATCH] PHPStan rules revised --- phpstan.neon | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/phpstan.neon b/phpstan.neon index d28254771..527f1f6be 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -8,10 +8,6 @@ parameters: message: '#Method Webauthn\\Bundle\\DependencyInjection\\Factory\\Security\\WebauthnFactory::.*\(\) has parameter \$config(s)? with no value type specified in iterable type array\.#' path: src/symfony/src/DependencyInjection/Factory/Security/WebauthnFactory.php count: 2 - - - message: '#Parameter \#1 \$length of function random_bytes expects int<1, max>, int given\.#' - path: src/cose/src/Algorithm/Signature/RSA/PSSRSA.php - count: 1 - message: '#Method Webauthn\\Bundle\\DependencyInjection\\WebauthnExtension::.*\(\) has parameter \$config(s)? with no value type specified in iterable type array\.#' path: src/symfony/src/DependencyInjection/WebauthnExtension.php @@ -32,14 +28,6 @@ parameters: message: '#Cannot call method scalarNode\(\) on Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface\|null\.#' path: src/symfony/src/DependencyInjection/Factory/Security/WebauthnFactory.php count: 1 -# - -# message: '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface::(.*)\(\)\.#' -# path: src/symfony/src/DependencyInjection/Factory/Security/WebauthnFactory.php -# count: 1 - - - message: '#Parameter (.*) of class FG\\ASN1\\Universal\\Integer constructor expects int, string given\.#' - path: src/cose/src/Key/RsaKey.php - count: 2 # checkMissingIterableValueType: true # checkGenericClassInNonGenericObjectType: true # checkUninitializedProperties: true