diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 20327139..29177f2c 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -10,26 +10,51 @@ parameters: count: 1 path: src/Action/CheckEmailAction.php + - + message: "#^Call to an undefined method Symfony\\\\Component\\\\Console\\\\Helper\\\\HelperInterface\\:\\:ask\\(\\)\\.$#" + count: 1 + path: src/Command/ActivateUserCommand.php + - message: "#^Only booleans are allowed in a negated boolean, mixed given\\.$#" count: 1 path: src/Command/ActivateUserCommand.php + - + message: "#^Call to an undefined method Symfony\\\\Component\\\\Console\\\\Helper\\\\HelperInterface\\:\\:ask\\(\\)\\.$#" + count: 1 + path: src/Command/ChangePasswordCommand.php + - message: "#^Only booleans are allowed in a negated boolean, mixed given\\.$#" count: 2 path: src/Command/ChangePasswordCommand.php + - + message: "#^Call to an undefined method Symfony\\\\Component\\\\Console\\\\Helper\\\\HelperInterface\\:\\:ask\\(\\)\\.$#" + count: 1 + path: src/Command/CreateUserCommand.php + - message: "#^Only booleans are allowed in a negated boolean, mixed given\\.$#" count: 4 path: src/Command/CreateUserCommand.php + - + message: "#^Call to an undefined method Symfony\\\\Component\\\\Console\\\\Helper\\\\HelperInterface\\:\\:ask\\(\\)\\.$#" + count: 1 + path: src/Command/DeactivateUserCommand.php + - message: "#^Only booleans are allowed in a negated boolean, mixed given\\.$#" count: 1 path: src/Command/DeactivateUserCommand.php + - + message: "#^Call to an undefined method Symfony\\\\Component\\\\Console\\\\Helper\\\\HelperInterface\\:\\:ask\\(\\)\\.$#" + count: 1 + path: src/Command/RoleCommand.php + - message: "#^Only booleans are allowed in a negated boolean, mixed given\\.$#" count: 2 @@ -95,6 +120,11 @@ parameters: count: 1 path: src/EventListener/FlashListener.php + - + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'Symfony\\\\\\\\Component\\\\\\\\DependencyInjection\\\\\\\\ContainerBuilder' and Symfony\\\\Component\\\\DependencyInjection\\\\ContainerBuilder will always evaluate to true\\.$#" + count: 2 + path: tests/DependencyInjection/NucleosUserExtensionTest.php + - message: "#^Method Nucleos\\\\UserBundle\\\\Tests\\\\DependencyInjection\\\\NucleosUserExtensionTest\\:\\:getEmptyConfig\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 0fda24b4..df9c1c1c 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,23 +1,48 @@ - + - + Response - - $event->getResponse() + + getResponse()]]> - + Response - - $event->getResponse() + + getResponse()]]> + + + ask + + + + + ask + + + + + ask + + + + + ask + + + + + ask + + - + addDefaultsIfNotSet addDefaultsIfNotSet addDefaultsIfNotSet @@ -27,8 +52,8 @@ - - isset($this->groups) + + groups)]]>