Skip to content

Commit

Permalink
Fix phpstan configuration
Browse files Browse the repository at this point in the history
Relying on phpstan/phpstan-phpunit instead of ignoring things on our
own.
  • Loading branch information
lcobucci committed Dec 11, 2017
1 parent 507b8b1 commit 50171b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@
"require-dev": {
"humbug/humbug": "dev-master@dev",
"mikey179/vfsStream": "^1.6",
"phpstan/phpstan": "^0.9.0@dev",
"phpunit/phpunit": "^6.4",
"phpstan/phpstan": "^0.9",
"phpstan/phpstan-phpunit": "^0.9",
"phpunit/phpunit": "^6.5",
"squizlabs/php_codesniffer": "^3.1",
"symfony/proxy-manager-bridge": "^3.3|^4.0",
"symfony/yaml": "^3.3|^4.0"
Expand Down
7 changes: 2 additions & 5 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
parameters:
ignoreErrors:
# Ignore PHPUnit mock stuff
- '#PHPUnit\\Framework\\MockObject\\MockObject.* given#'
- '#PHPUnit\\Framework\\MockObject\\MockObject::.*\(\)#'
includes:
- vendor/phpstan/phpstan-phpunit/extension.neon

0 comments on commit 50171b4

Please sign in to comment.