Skip to content

Commit

Permalink
Use bootstrapFiles instead of autoload_files
Browse files Browse the repository at this point in the history
  • Loading branch information
j0k3r committed Oct 25, 2020
1 parent 13bfdf6 commit e3aea38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ cache:
jobs:
fast_finish: true
include:
- php: 7.2
env: CS_FIXER=run
- php: 7.3
env: CS_FIXER=run
- php: 7.2
env: COVERAGE=run
- php: 7.4
- php: nightly
Expand Down Expand Up @@ -64,7 +64,7 @@ before_script:
script:
- php bin/simple-phpunit -v $PHPUNIT_FLAGS
- if [ "$CS_FIXER" = "run" ]; then php bin/php-cs-fixer fix --verbose --dry-run ; fi;
- if [ "$CS_FIXER" = "run" ]; then php bin/phpstan analyse ; fi;
- if [ "$CS_FIXER" = "run" ]; then php bin/phpstan analyse --no-progress ; fi;

after_success:
- |
Expand Down
2 changes: 1 addition & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ parameters:
objectManagerLoader: tests/object-manager.php

# https://github.com/phpstan/phpstan/issues/694#issuecomment-350724288
autoload_files:
bootstrapFiles:
- vendor/bin/.phpunit/phpunit-8.3-0/vendor/autoload.php

ignoreErrors:
Expand Down

0 comments on commit e3aea38

Please sign in to comment.