Upgrade PHPStan to v0.11

This commit is contained in:
Kamil Kokot
2019-01-21 14:16:18 +01:00
parent 7594822139
commit 52583ab9d2
2 changed files with 3 additions and 3 deletions

View File

@@ -20,7 +20,7 @@
"behat/mink": "^1.7", "behat/mink": "^1.7",
"behat/mink-browserkit-driver": "^1.3", "behat/mink-browserkit-driver": "^1.3",
"behat/mink-extension": "^2.2", "behat/mink-extension": "^2.2",
"phpstan/phpstan-shim": "^0.10", "phpstan/phpstan-shim": "^0.11",
"sylius-labs/coding-standard": "^3.0", "sylius-labs/coding-standard": "^3.0",
"symfony/framework-bundle": "^3.4|^4.1", "symfony/framework-bundle": "^3.4|^4.1",
"symfony/yaml": "^3.4|^4.1" "symfony/yaml": "^3.4|^4.1"

View File

@@ -2,8 +2,8 @@ parameters:
reportUnmatchedIgnoredErrors: false reportUnmatchedIgnoredErrors: false
ignoreErrors: ignoreErrors:
- '/Cannot access offset 0 on callable\./' - '/Cannot access offset 0 on callable/'
- '/Cannot access offset 1 on callable\./' - '/Cannot access offset 1 on callable/'
- '/Cannot call method [a-zA-Z0-9]+\(\) on Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface|null\./' - '/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/' - '/Method FriendsOfBehat\\SymfonyExtension\\Context\\Environment\\InitialisedContextServiceEnvironment::bindCallee\(\) should return callable/'
- '/Strict comparison using === between 0\|1 and 2 will always evaluate to false\./' - '/Strict comparison using === between 0\|1 and 2 will always evaluate to false\./'