Skip to content

Commit a39cd44

Browse files
authored
Merge pull request #16 from Codeception/php8
Support PHP 8
2 parents 689a42c + 8190486 commit a39cd44

File tree

6 files changed

+11
-369
lines changed

6 files changed

+11
-369
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
strategy:
1010
matrix:
11-
php: [5.6, 7.0, 7.1, 7.2, 7.3, 7.4]
11+
php: [5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0]
1212

1313
steps:
1414
- name: Checkout code
@@ -24,10 +24,13 @@ jobs:
2424
- name: Validate composer.json and composer.lock
2525
run: composer validate
2626

27-
- name: Install dependencies
28-
run: |
29-
composer require phpunit/phpunit "<=8.5.2" --no-update --ignore-platform-reqs
30-
composer install --prefer-dist --no-progress --no-interaction --no-suggest
27+
- name: Install dependencies on PHP 7
28+
if: matrix.php < 8
29+
run: composer install --prefer-dist --no-progress --no-interaction
30+
31+
- name: Install dependencies on PHP 8
32+
if: matrix.php == 8
33+
run: composer install --prefer-dist --no-progress --no-interaction --ignore-platform-req=php
3134

3235
- name: Run test suite
3336
run: php vendor/bin/codecept run

Robofile.php

Lines changed: 0 additions & 21 deletions
This file was deleted.

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@
1515
],
1616
"minimum-stability": "RC",
1717
"require": {
18-
"php": ">=5.6.0 <8.0",
18+
"php": ">=5.6.0 <9.0",
1919
"codeception/codeception": "^4.0"
2020
},
2121
"require-dev": {
22-
"codeception/util-robohelpers": "dev-master",
2322
"doctrine/orm": "^2",
2423
"doctrine/annotations": "^1",
2524
"doctrine/data-fixtures": "^1",

0 commit comments

Comments
 (0)