Skip to content

Commit

Permalink
Work around phpstan/phpstan#1185
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jul 10, 2018
1 parent 0ce3e2c commit 3afc7e1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- travis_retry ./build/tools/composer require --no-update phpunit/php-invoker:^2.0
install: travis_retry ./build/tools/composer update --prefer-dist --prefer-stable
script:
- ./build/tools/phpstan analyse --level=0 src
- ./build/tools/phpstan analyse --level=0 -c phpstan.neon src
- ./build/tools/phpstan analyse --level=2 -c phpstan-tests.neon tests
- stage: Static Code Analysis
php: 7.2
Expand Down
7 changes: 7 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
parameters:
ignoreErrors:
# https://github.com/phpstan/phpstan/issues/1185
- '#Function xdebug_start_function_monitor not found.#'
- '#Function xdebug_get_monitored_functions not found.#'
- '#Function xdebug_stop_function_monitor not found.#'

0 comments on commit 3afc7e1

Please sign in to comment.