Skip to content

Commit

Permalink
make PHPStan happy again
Browse files Browse the repository at this point in the history
  • Loading branch information
craue committed Jul 30, 2020
1 parent 0ab9ea1 commit 9f1d36a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis_install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ case "${DEPS:-}" in
esac

if [ -n "${WITH_STATIC_ANALYSIS:-}" ]; then
composer require --no-update --dev "phpstan/phpstan:0.12.25"
composer require --no-update --dev "phpstan/phpstan:^0.12"
fi

# TODO remove as soon as Symfony >= 4.2 is required
Expand Down
4 changes: 1 addition & 3 deletions phpstan-config.neon
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ parameters:
level: 5
paths:
- .
autoload_files:
scanFiles:
- vendor/twig/twig/src/Extension/CoreExtension.php
# TODO remove as soon as Symfony >= 4.2 is required
- Twig/Extension/ArrayHelperExtension.php
excludes_analyse:
- Tests/*
- vendor/*
Expand Down

0 comments on commit 9f1d36a

Please sign in to comment.