Skip to content

Commit

Permalink
Merge pull request #81 from pierres/patch-1
Browse files Browse the repository at this point in the history
- Support PHP 8.0
- Fix Xdebug coverage
  • Loading branch information
HeahDude authored Dec 28, 2020
2 parents f697c34 + 45fc253 commit 32f4709
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
env: SYMFONY_REQUIRE="4.4.*" COMPOSER_FLAGS="--prefer-stable"
- php: 7.4
env: SYMFONY_REQUIRE="5.0.*" COMPOSER_FLAGS="--prefer-stable"
- php: 8.0
env: SYMFONY_REQUIRE="5.0.*" COMPOSER_FLAGS="--prefer-stable" SYMFONY_DEPRECATIONS_HELPER=weak

# Dev
- php: 7.4
Expand All @@ -43,6 +45,7 @@ jobs:
php: 7.4
before_script:
- mv ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini{.disabled,}
- echo "xdebug.mode = coverage" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
- if [[ ! $(php -m | grep -si xdebug) ]]; then echo "xdebug required for coverage"; exit 1; fi
script:
- ./vendor/bin/simple-phpunit -v --coverage-text
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.1.3 || ^8.0.0",
"ezyang/htmlpurifier": "~4.0",
"symfony/config": "~3.4 || ~4.0 || ^5.0",
"symfony/dependency-injection": "~3.4.1 || ^4.0.1 || ^5.0",
Expand Down

0 comments on commit 32f4709

Please sign in to comment.