Skip to content

Commit 6ad0f3d

Browse files
committed
Integrate phpstan/phpstan-phpunit
1 parent ed37eb0 commit 6ad0f3d

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

composer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"consistence/coding-standard": "~0.13.0",
2020
"jakub-onderka/php-parallel-lint": "^0.9.2",
2121
"phing/phing": "^2.16.0",
22-
"phpunit/phpunit": "^5.7",
22+
"phpstan/phpstan-phpunit": "^0.9",
23+
"phpunit/phpunit": "^6.4",
2324
"slevomat/coding-standard": "^2.0"
2425
},
2526
"autoload": {

phpstan.neon

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
parameters:
2-
ignoreErrors:
3-
- '#but returns PHPUnit_Framework_MockObject_MockObject#'
4-
- '#PHPUnit_Framework_MockObject_MockObject given#'
5-
- '#Access to an undefined property PHPUnit_Framework_MockObject_MockObject::\$\w+#'
6-
1+
includes:
2+
- vendor/phpstan/phpstan-phpunit/extension.neon
3+
- vendor/phpstan/phpstan-phpunit/rules.neon

0 commit comments

Comments
 (0)