Skip to content

Commit

Permalink
Phpstan - analyze errrors in travis.ci
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenekdrahos committed Sep 30, 2017
1 parent 6b3049e commit 946d30e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ci.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

./phpqa --verbose --report --config tests/.travis --tools phpcs:0,php-cs-fixer:0,phpmd:0,phpcpd:0,parallel-lint:0,phpstan,phpmetrics:0,phploc,pdepend,phpunit:0,psalm
./phpqa --verbose --report --config tests/.travis --tools phpcs:0,php-cs-fixer:0,phpmd:0,phpcpd:0,parallel-lint:0,phpstan:0,phpmetrics:0,phploc,pdepend,phpunit:0,psalm
4 changes: 4 additions & 0 deletions tests/.travis/phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,9 @@ parameters:
excludes_analyse:
- %currentWorkingDirectory%/src/Task/NonParallelExecV0.php
- %currentWorkingDirectory%/src/Task/NonParallelExecV1.php
- %currentWorkingDirectory%/src/Task/RoboAdapter.php
- %currentWorkingDirectory%/src/Tools/Analyzer/Phpcs.php
- %currentWorkingDirectory%/src/Tools/Analyzer/PhpcsV3.php
ignoreErrors:
- '#Call to an undefined method Prophecy\\Prophecy\\ObjectProphecy::[a-zA-Z0-9_]+\(\)#'
- '#Constant [A-Z_]+ not found#'

0 comments on commit 946d30e

Please # to comment.