Skip to content

Commit

Permalink
Add phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
rgomezcasas committed Dec 8, 2019
1 parent c2c06f1 commit cf0b6da
Show file tree
Hide file tree
Showing 9 changed files with 1,325 additions and 83 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ before_script:

script:
- ./vendor/bin/phpunit
- ./vendor/bin/phpstan analyse -l 7 src

3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"php": ">=7.2"
},
"require-dev": {
"phpunit/phpunit": "^8.4"
"phpunit/phpunit": "^8.4",
"phpstan/phpstan": "^0.11.16"
},
"autoload": {
"files": [
Expand Down
Loading

0 comments on commit cf0b6da

Please sign in to comment.