Skip to content

Commit

Permalink
Add phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
PrinsFrank committed Jul 11, 2022
1 parent 798288b commit 5fee0df
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@
"friendsofphp/php-cs-fixer": "^3.8",
"phpunit/phpunit": "^9.5",
"symfony/panther": "^2.0",
"dbrekelmans/bdi": "^1.0"
"dbrekelmans/bdi": "^1.0",
"phpstan/phpstan": "^1.8"
},
"scripts": {
"cs": "php-cs-fixer fix --allow-risky=yes --dry-run",
"cs:fix": "php-cs-fixer fix --allow-risky=yes",
"stan": "phpstan analyse",
"unit": "phpunit --testsuite=Unit",
"test": [
"@unit",
Expand Down
6 changes: 6 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
parameters:
level: 9
paths:
- src
- tests
- dev

0 comments on commit 5fee0df

Please sign in to comment.