Skip to content

Commit

Permalink
Configure PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed May 24, 2023
1 parent e56c14f commit a5ba6ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -16,4 +16,4 @@ cs-fix:

.PHONY: phpstan
phpstan:
php vendor/bin/phpstan analyse -l 7 -c phpstan.neon src
php vendor/bin/phpstan
5 changes: 5 additions & 0 deletions phpstan.neon
@@ -1,2 +1,7 @@
includes:
- vendor/phpstan/phpstan-strict-rules/rules.neon

parameters:
level: 7
paths:
- src

0 comments on commit a5ba6ab

Please sign in to comment.