Skip to content

Commit 11bcb4c

Browse files
committed
Fix issues related to dependencies
1 parent 30b0107 commit 11bcb4c

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

.env.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
PHP_VERSION=7.4
1+
PHP_VERSION=8.0

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
strategy:
3333
fail-fast: false
3434
matrix:
35-
php-versions: ['7.4', '8.1', '8.2', '8.3']
35+
php-versions: ['8.0', '8.1', '8.2', '8.3']
3636

3737
steps:
3838
- uses: actions/checkout@v2

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ After changing the PHP Version you need to run `make clean_all up` to start the
3333
Example:
3434

3535
```
36-
$ echo "PHP_VERSION=7.4" > .env
36+
$ echo "PHP_VERSION=8.1" > .env
3737
$ make clean_all up cli
3838
Stopping yii2-openapi_php_1 ... done # TODO
3939
Stopping yii2-openapi_maria_1 ... done
@@ -53,10 +53,10 @@ docker-compose exec php bash
5353
5454
root@f9928598f841:/app# php -v
5555
56-
PHP 7.4.27 (cli) (built: Jan 26 2022 18:08:44) ( NTS )
56+
PHP 8.1.27 (cli) (built: Jan 26 2022 18:08:44) ( NTS )
5757
Copyright (c) The PHP Group
5858
Zend Engine v3.4.0, Copyright (c) Zend Technologies
59-
with Zend OPcache v7.4.27, Copyright (c), by Zend Technologies
59+
with Zend OPcache v8.1.27, Copyright (c), by Zend Technologies
6060
with Xdebug v2.9.6, Copyright (c) 2002-2020, by Derick Rethans
6161
```
6262

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"type": "library",
1111
"license": "MIT",
1212
"require": {
13-
"php": ">=7.4.0",
13+
"php": ">=8",
1414
"ext-json": "*",
1515
"league/fractal": "^0.20.0",
1616
"yiisoft/yii2": "~2.0.15"
@@ -19,13 +19,13 @@
1919
"require-dev": {
2020
"cebe/indent": "*",
2121
"friendsofphp/php-cs-fixer": "~2.16",
22-
"codeception/codeception": "^4.1 | ^5.0",
22+
"codeception/codeception": "5.1.*",
2323
"codeception/module-yii2": "^1.1",
24-
"codeception/module-rest": "^2.0 | ^3.0",
25-
"codeception/module-phpbrowser": "^1.0 | ^2.0",
26-
"codeception/module-asserts": "^1.0 | ^2.0 | ^3.0",
24+
"codeception/module-rest": "^3.0",
25+
"codeception/module-phpbrowser": "3.0.*",
26+
"codeception/module-asserts": "^3.0",
2727
"fzaninotto/faker": "^1.9@dev",
28-
"codeception/module-db": "^1.0 | ^2.0 | ^3.0",
28+
"codeception/module-db": "^3.0",
2929
"codeception/assert-throws": "^1.0",
3030
"codeception/verify": "^1.5"
3131
},

tests/docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM yiisoftware/yii2-php:7.4-apache
1+
FROM yiisoftware/yii2-php:8.0-apache
22

33
ENV INSIDE_DOCKER=1
44

0 commit comments

Comments
 (0)