Skip to content

Commit

Permalink
Sync phpstan config
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Jun 25, 2018
1 parent 9ae69c4 commit 650fc9c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
parameters:
autoload_files:
- vendor-bin/test/vendor/autoload.php

includes:
- vendor-bin/phpstan/vendor/phpstan/phpstan-deprecation-rules/rules.neon
- vendor-bin/phpstan/vendor/phpstan/phpstan-phpunit/extension.neon
- vendor-bin/phpstan/vendor/phpstan/phpstan-phpunit/rules.neon
- vendor-bin/phpstan/vendor/phpstan/phpstan-strict-rules/rules.neon

ignoreErrors:
# Symfony DI
- '#Cannot call method scalarNode\(\) on Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface\|null.#'
3 changes: 2 additions & 1 deletion vendor-bin/phpstan/composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"require": {
"phpstan/phpstan": "^0.10",
"phpstan/phpstan-phpunit": "^0.10"
"phpstan/phpstan-phpunit": "^0.10",
"phpstan/phpstan-strict-rules": "^0.10"
},
"conflict": {
"phpunit/phpunit": ">=7.0"
Expand Down

0 comments on commit 650fc9c

Please sign in to comment.