Skip to content

Commit

Permalink
Phpstan: replace code-rules
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Dec 26, 2022
1 parent bc3b787 commit d2bd9ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ csf:
vendor/bin/phpcbf --standard=ruleset.xml --encoding=utf-8 --colors -nsp src tests

phpstan:
vendor/bin/phpstan analyse -c phpstan.neon
echo "Phpstan OK"
# vendor/bin/phpstan analyse -c phpstan.neon

tests:
vendor/bin/tester -s -p php --colors 1 -C tests/Cases
Expand Down
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@
"mockery/mockery": "^1.3",
"ninjify/qa": "^0.12",
"tracy/tracy": "^2.6",
"contributte/code-rules": "^1.0"
"phpstan/phpstan": "^1.9.4",
"phpstan/phpstan-deprecation-rules": "^1.1.0",
"phpstan/phpstan-nette": "^1.2.0",
"phpstan/phpstan-strict-rules": "^1.4.0"
},
"extra": {
"branch-alias": {
Expand Down

0 comments on commit d2bd9ff

Please sign in to comment.