diff --git a/composer.json b/composer.json index 64843510..ec7a0f61 100644 --- a/composer.json +++ b/composer.json @@ -29,6 +29,7 @@ "friends-of-behat/symfony-extension": "^2.0", "friends-of-behat/variadic-extension": "^1.1", "kalessil/production-dependencies-guard": "dev-master", + "korbeil/phpstan-generic-rules": "^0.2.1", "lakion/mink-debug-extension": "^1.2.3", "localheinz/composer-normalize": "^1.3", "phpspec/phpspec": "^5.0", diff --git a/phpstan.neon b/phpstan.neon index ac578403..c151c320 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,8 +1,9 @@ includes: - - vendor/phpstan/phpstan-doctrine/extension.neon - - vendor/phpstan/phpstan-webmozart-assert/extension.neon - - vendor/phpstan/phpstan-strict-rules/rules.neon - - vendor/thecodingmachine/phpstan-safe-rule/phpstan-safe-rule.neon + - vendor/korbeil/phpstan-generic-rules/extension.neon + - vendor/phpstan/phpstan-doctrine/extension.neon + - vendor/phpstan/phpstan-webmozart-assert/extension.neon + - vendor/phpstan/phpstan-strict-rules/rules.neon + - vendor/thecodingmachine/phpstan-safe-rule/phpstan-safe-rule.neon parameters: reportUnmatchedIgnoredErrors: true