From e6064b15b5d76d6d637a089f547e31619d6a3c64 Mon Sep 17 00:00:00 2001 From: Kamil Kokot Date: Fri, 11 Jan 2019 00:25:48 +0100 Subject: [PATCH] Make PHPStan passing --- phpstan.neon | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpstan.neon b/phpstan.neon index d944ec3..3da1825 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -4,5 +4,6 @@ parameters: ignoreErrors: - '/Cannot access offset 0 on callable\./' - '/Cannot access offset 1 on callable\./' - - '/Method FriendsOfBehat\\SymfonyExtension\\Context\\Environment\\InitialisedContextServiceEnvironment::bindCallee\(\) should return callable/' - '/Cannot call method [a-zA-Z0-9]+\(\) on Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface|null\./' + - '/Method FriendsOfBehat\\SymfonyExtension\\Context\\Environment\\InitialisedContextServiceEnvironment::bindCallee\(\) should return callable/' + - '/Strict comparison using === between 0\|1 and 2 will always evaluate to false\./'