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 65f6953 commit bfd9c1c
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:
# PHPUnit
- '#Parameter \#1 \$dompdfFactory of class Core23\\DompdfBundle\\Wrapper\\DompdfWrapper constructor expects Core23\\DompdfBundle\\Factory\\DompdfFactoryInterface, PHPUnit\\Framework\\MockObject\\MockObject given.#'
Expand Down
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 bfd9c1c

Please sign in to comment.