Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit 55e12a2

Browse files
committed
Add phpstan static analysis tool
1 parent 17fb475 commit 55e12a2

File tree

3 files changed

+1006
-56
lines changed

3 files changed

+1006
-56
lines changed

composer.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"zendframework/zend-stdlib": "^3.1"
2727
},
2828
"require-dev": {
29+
"phpstan/phpstan": "dev-master",
2930
"phpunit/phpunit": "^6.4.1",
3031
"zendframework/zend-coding-standard": "~1.0.0",
3132
"zendframework/zend-i18n": "^2.7.4"
@@ -66,6 +67,7 @@
6667
],
6768
"cs-check": "phpcs",
6869
"cs-fix": "phpcbf",
70+
"phpstan": "phpstan analyse -l 7 -c phpstan.neon src/",
6971
"test": "phpunit --colors=always",
7072
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
7173
"upload-coverage": "coveralls -v"

0 commit comments

Comments
 (0)