Skip to content

Commit

Permalink
Move phpstan configuration to config file
Browse files Browse the repository at this point in the history
  • Loading branch information
alcaeus committed Dec 6, 2019
1 parent 94089e3 commit 1582483
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ jobs:
- stage: Code Quality
env: STATIC_ANALYSIS
install: travis_retry composer install --prefer-dist
script: vendor/bin/phpstan analyse -l 3 -c phpstan.neon lib tests
script: vendor/bin/phpstan analyze
6 changes: 6 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
parameters:
level: 3

paths:
- lib
- tests

autoload_files:
- %currentWorkingDirectory%/tests/Doctrine/Tests/Common/Persistence/ObjectManagerDecoratorTest.php
- %currentWorkingDirectory%/tests/Doctrine/Tests/Common/Persistence/PersistentObjectTest.php
Expand Down

0 comments on commit 1582483

Please sign in to comment.