From 52583ab9d20907b5084e290666a6b7028a5f1f79 Mon Sep 17 00:00:00 2001 From: Kamil Kokot Date: Mon, 21 Jan 2019 14:16:18 +0100 Subject: [PATCH] Upgrade PHPStan to v0.11 --- composer.json | 2 +- phpstan.neon | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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\./'