Skip to content

Commit 8507584

Browse files
committed
[TASK] Raise PHP compatibility to 8.0
1 parent edec3fc commit 8507584

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.travis.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jdk:
2020

2121
sudo: required
2222

23+
before_install:
24+
- echo 'xdebug.mode=coverage' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
25+
2326
install:
2427
- mkdir -p .Log/coverage/ .Log/log/
2528
- >
@@ -59,9 +62,12 @@ script:
5962
jobs:
6063
fast_finish: true
6164
include:
65+
- stage: test
66+
php: 8.0
67+
env: COVERAGE_VERSIONS="~9.0.0 ~9.1.0 ~9.2.0"
6268
- stage: test
6369
php: 7.4
64-
env: COVERAGE_VERSIONS="~9.0.0 ~9.1.0"
70+
env: COVERAGE_VERSIONS="~9.0.0 ~9.1.0 ~9.2.0"
6571
- stage: test
6672
php: 7.4
6773
env: COVERAGE_VERSIONS="~8.0.0"
@@ -79,7 +85,7 @@ jobs:
7985
env: COVERAGE_VERSIONS="^5.0 ^6.0 ^7.0 ^8.0"
8086
- stage: test
8187
php: 7.3
82-
env: COVERAGE_VERSIONS="~9.0.0 ~9.1.0"
88+
env: COVERAGE_VERSIONS="~9.0.0 ~9.1.0 ~9.2.0"
8389
- stage: test
8490
php: 7.3
8591
env: COVERAGE_VERSIONS="~8.0.0"
@@ -126,7 +132,7 @@ jobs:
126132
- stage: ✔ with sonarqube scanner
127133
if: type = push AND branch IN (master, pre-merge) AND env(SONAR_TOKEN) IS present AND fork = false
128134
php: 7.3
129-
env: COVERAGE_VERSIONS="~9.0.0 ~9.1.0"
135+
env: COVERAGE_VERSIONS="~9.0.0 ~9.1.0 ~9.2.0"
130136
before_install:
131137
before_script:
132138
script:

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
}
2727
],
2828
"require": {
29-
"php": ">=7.0.8 <7.5",
29+
"php": ">=7.0.8 <7.5 || ~8.0.0",
3030
"ext-dom": "*",
3131
"ext-json": "*",
3232
"ext-simplexml": "*",

0 commit comments

Comments
 (0)