Skip to content

Commit

Permalink
Fix travis configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
enumag committed Mar 19, 2017
1 parent 1ef354d commit d0ef811
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -30,7 +30,7 @@ before_script:
script:
- "! (composer outdated --direct | grep ^)"
- if php -v | grep -q 'PHP 7'; then vendor-tools/bin/php-cs-fixer fix --dry-run; fi
- if php -v | grep -q 'PHP 7'; then vendor-tools/bin/phpstan analyse --level=4 --configuration=phpstan.neon src tests; fi
- if php -v | grep -q 'PHP 7'; then vendor-tools/bin/phpstan analyse --level=5 --configuration=phpstan.neon src tests; fi
- vendor/bin/codecept run $coverage

after_success:
Expand Down
2 changes: 2 additions & 0 deletions phpstan.neon
Expand Up @@ -5,4 +5,6 @@ includes:
parameters:
ignoreErrors:
- '#^Access to an undefined property Eloquent\\Phony\\Mock\\Handle\\InstanceHandle::\$[a-zA-Z]++#'
- '#^Parameter \#[0-9]++ \$[a-zA-Z]++ of class [a-zA-Z\\]++ constructor expects [a-zA-Z\\|]++, Eloquent\\Phony\\Mock\\Mock given#'
- '#^Parameter \#[0-9]++ \$[a-zA-Z]++ of method [a-zA-Z\\:]++\(\) expects [a-zA-Z\\]++, Eloquent\\Phony\\Mock\\Mock given#'
- '#^Method [a-zA-Z\\]++::[a-zA-Z]++\(\) should return [a-zA-Z\\]++ but returns Eloquent\\Phony\\Mock\\Mock#'

0 comments on commit d0ef811

Please sign in to comment.