Skip to content
This repository has been archived by the owner on Dec 9, 2017. It is now read-only.

Commit

Permalink
Fix PHPUnit breaks on dep=low
Browse files Browse the repository at this point in the history
And resolve xdebug warning
  • Loading branch information
sstok committed Oct 14, 2016
1 parent b2e86e1 commit 0db7376
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ cache:
directories:
- $HOME/.composer/cache

before_install:
- composer self-update --preview

install:
- export SYMFONY_DEPRECATIONS_HELPER=strict
- if [ "$DEPENDENCIES" == "dev" ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi;
Expand Down
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
"matthiasnoback/symfony-dependency-injection-test": "^1.0.0",
"matthiasnoback/symfony-service-definition-validator": "^1.2.6",
"phpunit/phpunit": "^5.6.1",
"phpdocumentor/type-resolver": ">=0.2",

"sllh/php-cs-fixer-styleci-bridge": "^2.1"
},
"autoload": {
Expand Down
4 changes: 4 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
beStrictAboutTestsThatDoNotTestAnything="false"
beStrictAboutOutputDuringTests="true"
beStrictAboutTodoAnnotatedTests="true"

convertWarningsToExceptions="false"
convertErrorsToExceptions="false"
convertNoticesToExceptions="false"
>
<php>
<ini name="error_reporting" value="-1"/>
Expand Down

0 comments on commit 0db7376

Please sign in to comment.