mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-25 14:26:08 +03:00
Also check tests folder
This commit is contained in:
parent
6a4c815b6d
commit
b5b27c95b1
@ -15,8 +15,9 @@
|
|||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"doctrine/coding-standard": "^4.0",
|
"doctrine/coding-standard": "^4.0",
|
||||||
|
"phpstan/phpstan": "^0.10.3",
|
||||||
|
"phpstan/phpstan-phpunit": "^0.10.0",
|
||||||
"phpunit/phpunit": "^7.2",
|
"phpunit/phpunit": "^7.2",
|
||||||
"phpstan/phpstan-shim": "^0.10",
|
|
||||||
"psr/http-message": "^1.0",
|
"psr/http-message": "^1.0",
|
||||||
"react/promise": "2.*"
|
"react/promise": "2.*"
|
||||||
},
|
},
|
||||||
@ -42,6 +43,6 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint" : "phpcs",
|
"lint" : "phpcs",
|
||||||
"static-analysis": "@php ./vendor/bin/phpstan.phar analyse --ansi -l 1 -c phpstan.neon src"
|
"static-analysis": "@php ./vendor/bin/phpstan analyse --ansi -l 1 -c phpstan.neon src tests"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
includes:
|
||||||
|
- vendor/phpstan/phpstan-phpunit/extension.neon
|
||||||
|
- vendor/phpstan/phpstan-phpunit/rules.neon
|
Loading…
Reference in New Issue
Block a user