Skip to content

Commit

Permalink
Add phpstan/phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
PReimers committed Mar 4, 2019
1 parent d89df1b commit a4830b3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -19,4 +19,5 @@ script:
- php examples/persisting-new-objects-in-batch.php > /dev/null
- php examples/working-with-query-resultsets-in-batch.php > /dev/null
- ./vendor/bin/phpcs
- ./vendor/bin/phpstan analyse
- ulimit -n 4096 && phpdbg -qrr ./vendor/bin/infection -vvv --min-msi=91 --min-covered-msi=100
2 changes: 2 additions & 0 deletions composer.json
Expand Up @@ -25,6 +25,8 @@
"require-dev": {
"doctrine/coding-standard": "^5.0.1",
"infection/infection": "^0.12.2",
"phpstan/phpstan": "^0.11.2",
"phpstan/phpstan-phpunit": "^0.11.0",
"phpunit/phpunit": "^8.0.4"
},
"autoload": {
Expand Down
8 changes: 8 additions & 0 deletions phpstan.neon
@@ -0,0 +1,8 @@
parameters:
level: 7
paths:
- src
- test

includes:
- vendor/phpstan/phpstan-phpunit/extension.neon

0 comments on commit a4830b3

Please sign in to comment.