Skip to content

Commit 6faffd4

Browse files
committed
Add php 8, drop 7.1 and 7.2; up phpunit to 9.5
1 parent fba5420 commit 6faffd4

2 files changed

Lines changed: 21 additions & 22 deletions

File tree

.github/workflows/ci.yml

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
2727
- uses: shivammathur/setup-php@v2
2828
with:
29-
php-version: '7.1'
29+
php-version: '7.4'
3030
coverage: none
3131
extensions: mongodb, redis, :xdebug
3232
ini-values: memory_limit=2048M
@@ -63,7 +63,7 @@ jobs:
6363
6464
- uses: shivammathur/setup-php@v2
6565
with:
66-
php-version: '7.1'
66+
php-version: '7.4'
6767
coverage: none
6868
extensions: mongodb, redis, :xdebug
6969
ini-values: memory_limit=2048M
@@ -81,24 +81,6 @@ jobs:
8181
matrix:
8282
php: ['7.4']
8383
include:
84-
- php: 7.1
85-
symfony_version: 4.3.*
86-
unit_tests: true
87-
functional_tests: false
88-
rdkafka_tests: false
89-
prepare_container: false
90-
- php: 7.2
91-
symfony_version: 4.3.*
92-
unit_tests: true
93-
functional_tests: false
94-
rdkafka_tests: false
95-
prepare_container: false
96-
- php: 7.2
97-
symfony_version: 5.0.*
98-
unit_tests: true
99-
functional_tests: false
100-
rdkafka_tests: false
101-
prepare_container: false
10284
- php: 7.3
10385
symfony_version: 4.3.*
10486
unit_tests: true
@@ -153,6 +135,23 @@ jobs:
153135
functional_tests: false
154136
rdkafka_tests: true
155137
prepare_container: true
138+
- php: 8.0
139+
symfony_version: 5.2.*
140+
unit_tests: true
141+
functional_tests: false
142+
rdkafka_tests: false
143+
prepare_container: false
144+
- php: 8.0
145+
symfony_version: 5.2.*
146+
unit_tests: false
147+
functional_tests: true
148+
rdkafka_tests: false
149+
prepare_container: true
150+
- php: 8.0
151+
symfony_version: 5.2.*
152+
unit_tests: false
153+
rdkafka_tests: true
154+
prepare_container: true
156155

157156
name: PHP ${{ matrix.php }} tests on Sf ${{ matrix.symfony_version }}, unit=${{ matrix.unit_tests }}, func=${{ matrix.functional_tests }}, rdkafka=${{ matrix.rdkafka_tests }}
158157

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"phpstan": "bin/phpstan analyse --memory-limit=512M -c phpstan.neon"
1010
},
1111
"require": {
12-
"php": "^7.1.3",
12+
"php": "^7.3|^8.0",
1313

1414
"ext-amqp": "^1.9.3",
1515
"ext-gearman": "^2.0",
@@ -41,7 +41,7 @@
4141
"datadog/php-datadogstatsd": "^1.3"
4242
},
4343
"require-dev": {
44-
"phpunit/phpunit": "^7.5",
44+
"phpunit/phpunit": "^9.5",
4545
"phpstan/phpstan": "^0.12",
4646
"queue-interop/queue-spec": "^0.6",
4747
"symfony/browser-kit": "^3.4|^4",

0 commit comments

Comments
 (0)