Skip to content

Commit 2d03d76

Browse files
committed
Adding PHP8 support to v5 using @szepeviktor fix
1 parent 6f9b59e commit 2d03d76

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,14 @@ matrix:
4444
- php: nightly
4545
env:
4646
- COLLECT_COVERAGE=false
47-
- COMPOSER_ARGS="--no-interaction --no-suggest --prefer-source --ignore-platform-reqs"
47+
- COMPOSER_ARGS="--no-interaction --no-suggest --prefer-source"
4848
- RUN_PHPSTAN=false
4949
- VALIDATE_CODING_STYLE=false
50+
install:
51+
- composer remove --no-interaction --no-update --dev "friendsofphp/php-cs-fixer"
52+
- travis_retry composer require $COMPOSER_ARGS --no-update --dev "composer/composer:2.0.x-dev"
53+
- travis_retry composer require $COMPOSER_ARGS --no-update --dev "phpunit/phpunit:^9.3.11"
54+
- travis_retry composer update $COMPOSER_ARGS
5055
allow_failures:
5156
- php: nightly
5257
fast_finish: true

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@
4343
"psl"
4444
],
4545
"require": {
46-
"php": "^7.2.5",
4746
"ext-intl": "*",
4847
"ext-json": "*",
48+
"php": "^7.2.5 || ^8.0",
4949
"psr/log": "^1.1",
5050
"psr/simple-cache": "^1.0.1"
5151
},

0 commit comments

Comments
 (0)