Skip to content

Commit

Permalink
Robo - don't analyze compatibility classes with phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenekdrahos committed May 7, 2017
1 parent 8623458 commit 3ae75a6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/.travis/phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ parameters:
autoload_directories:
- %currentWorkingDirectory%/tests
autoload_files:
- %currentWorkingDirectory%/RoboFile.php
- %currentWorkingDirectory%/RoboFile.php
# exclude robo v0/v1 compatibility classes - it's not possible to analyze them with phsptan (only one robo version is installed)
excludes_analyse:
- %currentWorkingDirectory%/src/Task/NonParallelExecV0.php
- %currentWorkingDirectory%/src/Task/NonParallelExecV1.php
ignoreErrors:
- '#Call to an undefined method Prophecy\\Prophecy\\ObjectProphecy::[a-zA-Z0-9_]+\(\)#'

0 comments on commit 3ae75a6

Please sign in to comment.