Skip to content

Commit 8dd0113

Browse files
#234: Added PHPStan to build plan
1 parent abf77dc commit 8dd0113

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ before_script:
2727
script:
2828
- XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
2929
- vendor/bin/rector process --dry-run --no-progress-bar
30+
- vendor/bin/phpstan analyze --no-progress
3031

3132
after_success:
3233
- bash <(curl -s https://codecov.io/bash) -f build/logs/clover.xml

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"require-dev": {
1616
"darkwebdesign/symfony-addon-transformers": "6.0.*",
1717
"doctrine/orm": "^2.7",
18+
"phpstan/phpstan": "^1.10",
1819
"phpunit/phpunit": "^8.5",
1920
"rector/rector": "^0.18.6"
2021
},

phpstan.neon

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
parameters:
2+
level: 1
3+
paths:
4+
- src
5+
- tests

0 commit comments

Comments
 (0)