Skip to content

Commit 1c686ab

Browse files
committed
Raise PHP minimum to 7.4
1 parent 7b20932 commit 1c686ab

10 files changed

Lines changed: 1138 additions & 703 deletions

File tree

.travis.yml

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ stages:
1515
################
1616

1717
php:
18-
- 7.2
19-
- 7.3
2018
- 7.4
19+
- nightly
2120

2221
env:
2322
- COMMAND="composer install"
@@ -32,13 +31,13 @@ script:
3231
jobs:
3332
fast_finish: true
3433
allow_failures:
35-
- php: 7.3
34+
- php: 7.4
3635
env: Psalm
37-
- php: 7.3
36+
- php: 7.4
3837
env: Security check (composer install)
39-
- php: 7.3
38+
- php: 7.4
4039
env: Security check (composer update)
41-
- php: 7.3
40+
- php: 7.4
4241
env: PHP Codesniffer
4342

4443
include:
@@ -48,23 +47,15 @@ jobs:
4847
##########################
4948

5049
- stage: pre-conditions
51-
php: 7.2
52-
env: Syntax check PHP
53-
before_script:
54-
- composer install
55-
script:
56-
- vendor/bin/check-syntax-php.sh
57-
58-
- stage: pre-conditions
59-
php: 7.3
50+
php: 7.4
6051
env: Syntax check PHP
6152
before_script:
6253
- composer install
6354
script:
6455
- vendor/bin/check-syntax-php.sh
6556

6657
- stage: pre-conditions
67-
php: 7.4
58+
php: nightly
6859
env: Syntax check PHP
6960
before_script:
7061
- composer install
@@ -86,23 +77,23 @@ jobs:
8677
###################
8778

8879
- stage: quality
89-
php: 7.3
80+
php: 7.4
9081
env: Security check (composer install)
9182
before_script:
9283
- composer install
9384
script:
9485
- vendor/bin/security-checker security:check
9586

9687
- stage: quality
97-
php: 7.3
88+
php: 7.4
9889
env: Security check (composer update)
9990
before_script:
10091
- composer update
10192
script:
10293
- vendor/bin/security-checker security:check
10394

10495
- stage: quality
105-
php: 7.3
96+
php: 7.4
10697
env: Codecov
10798
before_script:
10899
- composer update
@@ -111,7 +102,7 @@ jobs:
111102
- bash <(curl -s https://codecov.io/bash)
112103

113104
- stage: quality
114-
php: 7.3
105+
php: 7.4
115106
env: Psalm
116107
before_script:
117108
- composer update
@@ -120,7 +111,7 @@ jobs:
120111
- vendor/bin/psalter --issues=UnnecessaryVarAnnotation --dry-run
121112

122113
- stage: quality
123-
php: 7.3
114+
php: 7.4
124115
env: PHP Codesniffer
125116
before_script:
126117
- composer update

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"files": ["tests/_autoload_modules.php"]
3333
},
3434
"require": {
35-
"php": ">=7.2",
35+
"php": ">=7.4",
3636
"ext-SPL": "*",
3737
"ext-zlib": "*",
3838
"ext-pcre": "*",

0 commit comments

Comments
 (0)