We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa40feb commit 2666d4cCopy full SHA for 2666d4c
composer.json
@@ -47,7 +47,8 @@
47
"phpstan/phpstan": "^0.12.0",
48
"squizlabs/php_codesniffer": "^3.5",
49
"magento/magento-coding-standard": "@dev",
50
- "bkubicki/magento2-unit-tests-doubles": "^1.2.0"
+ "bkubicki/magento2-unit-tests-doubles": "^1.2.0",
51
+ "bitexpert/phpstan-magento": "^0.9.0"
52
},
53
"scripts": {
54
"test": [
phpstan.neon
@@ -3,6 +3,8 @@ parameters:
3
paths:
4
- src
5
- tests
6
- ignoreErrors:
7
- - '#(class|type) Magento\\TestFramework#i'
8
- - '#(class|type) Magento\\\S*Factory#i'
+ parameters:
+ bootstrapFiles:
+ - vendor/bitexpert/phpstan-magento/autoload.php
9
+ includes:
10
+ - vendor/bitexpert/phpstan-magento/extension.neon
0 commit comments