Skip to content

Commit 9e7e2c7

Browse files
committed
Integrated phpstan-phpunit extension
1 parent 39a0a48 commit 9e7e2c7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"consistence/coding-standard": "~0.13.0",
1919
"jakub-onderka/php-parallel-lint": "^0.9.2",
2020
"phing/phing": "^2.13.0",
21+
"phpstan/phpstan-phpunit": "^0.9",
2122
"phpunit/phpunit": "^6.4",
2223
"satooshi/php-coveralls": "^1.0",
2324
"slevomat/coding-standard": "^2.0"

phpstan.neon

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
parameters:
2-
ignoreErrors:
3-
- '#PHPUnit_Framework_MockObject_MockObject given#'
1+
includes:
2+
- vendor/phpstan/phpstan-phpunit/extension.neon
3+
- vendor/phpstan/phpstan-phpunit/rules.neon

0 commit comments

Comments
 (0)