Skip to content

Commit 441beb1

Browse files
authored
Merge pull request #5 from driftphp/feature/to-php8
Support for php8
2 parents 47252fa + 690c3c3 commit 441beb1

File tree

2 files changed

+12
-24
lines changed

2 files changed

+12
-24
lines changed

.circleci/config.yml

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,27 @@
11
version: 2
22
jobs:
3-
test-php73:
3+
test-php74:
44
docker:
5-
- image: circleci/php:7.3-cli
5+
- image: circleci/php:7.4-cli
66

77
working_directory: ~/project
88
steps:
99
- checkout
1010

11-
- run:
12-
name: Install PHPUnit
13-
command: |
14-
composer require phpunit/phpunit:7.5.17 --no-update
15-
1611
- run:
1712
name: Run tests / Symfony 4^3
1813
command: |
1914
composer update -n --prefer-dist --prefer-lowest --no-suggest
2015
php vendor/bin/phpunit
2116
22-
- run:
23-
name: Run tests / Symfony 5^0
24-
command: |
25-
composer update -n --prefer-dist --no-suggest
26-
php vendor/bin/phpunit
27-
28-
test-php74:
17+
test-php80:
2918
docker:
30-
- image: circleci/php:7.4-cli
19+
- image: circleci/php:8.0-cli
3120

3221
working_directory: ~/project
3322
steps:
3423
- checkout
3524

36-
- run:
37-
name: Install PHPUnit
38-
command: |
39-
composer require phpunit/phpunit:7.5.17 --no-update
40-
4125
- run:
4226
name: Run tests / Symfony 5^0
4327
command: |
@@ -49,5 +33,5 @@ workflows:
4933
version: 2
5034
test:
5135
jobs:
52-
- test-php73
53-
- test-php74
36+
- test-php74
37+
- test-php80

composer.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,16 @@
1515
],
1616

1717
"require": {
18-
"php": "^7.3",
18+
"php": "^7.4 | ^8.0",
1919
"drift/http-kernel": "0.1.*",
20-
"mmoreram/base-bundle": "^2.1",
20+
"mmoreram/base-bundle": "^2.3",
2121
"voryx/pgasync": "^2.0.2"
2222
},
2323

24+
"require-dev": {
25+
"phpunit/phpunit": "^9"
26+
},
27+
2428
"autoload": {
2529
"psr-4": {
2630
"Drift\\Postgresql\\": "."

0 commit comments

Comments
 (0)