Skip to content

Commit 5717a2f

Browse files
authored
To PHP8 (#7)
1 parent 5ef2c93 commit 5717a2f

File tree

2 files changed

+13
-18
lines changed

2 files changed

+13
-18
lines changed

.circleci/config.yml

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,37 @@
11
version: 2
22
jobs:
3-
test-php73:
3+
4+
test-php74:
45
docker:
5-
- image: circleci/php:7.3-cli
6+
- image: circleci/php:7.4-cli
67

78
working_directory: ~/project
89
steps:
910
- checkout
1011

1112
- run:
12-
name: Run tests / Symfony 4^3
13-
command: |
14-
composer update -n --prefer-dist --prefer-lowest --no-suggest
15-
php vendor/bin/phpunit --testsuite=base
16-
17-
- run:
18-
name: Run tests / Symfony 5^0
13+
name: Run tests
1914
command: |
2015
composer update -n --prefer-dist --no-suggest
21-
php vendor/bin/phpunit --testsuite=base
16+
php vendor/bin/phpunit
2217
23-
test-php74:
18+
test-php80:
2419
docker:
25-
- image: circleci/php:7.4-cli
20+
- image: circleci/php:8.0-cli
2621

2722
working_directory: ~/project
2823
steps:
2924
- checkout
3025

3126
- run:
32-
name: Run tests / Symfony 5^0
27+
name: Run tests
3328
command: |
3429
composer update -n --prefer-dist --no-suggest
35-
php vendor/bin/phpunit --testsuite=base
30+
php vendor/bin/phpunit
3631
3732
workflows:
3833
version: 2
3934
test:
4035
jobs:
41-
- test-php73
42-
- test-php74
36+
- test-php74
37+
- test-php80

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
],
1414

1515
"require": {
16-
"php": "^7.3",
16+
"php": "^7.4 || ^8.0",
1717
"react/event-loop": "^1.0 || ^0.5 || ^0.4 || ^0.3.5",
1818
"react/promise": "^2.7 || ^1.2.1",
1919
"react/child-process": "^0.6",
@@ -22,7 +22,7 @@
2222
},
2323
"require-dev": {
2424
"clue/block-react": "^1.3",
25-
"phpunit/phpunit" : "7.5.17"
25+
"phpunit/phpunit" : "^9"
2626
},
2727
"autoload": {
2828
"files": [ "src/functions_include.php" ]

0 commit comments

Comments
 (0)