diff --git a/composer.json b/composer.json index dc29dc6..8f982f9 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "behat/mink": "^1.7", "behat/mink-browserkit-driver": "^1.3", "behat/mink-extension": "^2.2", - "phpstan/phpstan-shim": "^0.10", + "phpstan/phpstan-shim": "^0.11", "sylius-labs/coding-standard": "^3.0", "symfony/framework-bundle": "^3.4|^4.1", "symfony/yaml": "^3.4|^4.1" diff --git a/phpstan.neon b/phpstan.neon index 3da1825..5894523 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -2,8 +2,8 @@ parameters: reportUnmatchedIgnoredErrors: false ignoreErrors: - - '/Cannot access offset 0 on callable\./' - - '/Cannot access offset 1 on callable\./' + - '/Cannot access offset 0 on callable/' + - '/Cannot access offset 1 on 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\./'