Skip to content

Commit b12a216

Browse files
committedJul 22, 2023
required php version dependency updated
1 parent caa9783 commit b12a216

File tree

2 files changed

+22
-44
lines changed

2 files changed

+22
-44
lines changed
 

Diff for: ‎.github/workflows/main.yml

-23
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,6 @@ on:
55
branches: [main]
66

77
jobs:
8-
testsuite_php_7_4:
9-
runs-on: ubuntu-latest
10-
11-
steps:
12-
- uses: actions/checkout@v3
13-
14-
- name: Setup PHP 7.4 Environment
15-
uses: shivammathur/setup-php@v2
16-
with:
17-
php-version: '7.4'
18-
extensions: intl, mbstring, simplexml, pdo, pdo_mysql
19-
coverage: pcov
20-
21-
- name: Install Packages in the temporary container
22-
working-directory: ./
23-
run: composer install
24-
25-
- name: Run tests with PHP 7.4
26-
working-directory: ./
27-
run: |
28-
export CODECOVERAGE=1
29-
vendor/bin/phpunit --verbose tests
30-
318
testsuite_php_8_1:
329
runs-on: ubuntu-latest
3310

Diff for: ‎composer.json

+22-21
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
11
{
2-
"name": "rrd108/cakephp-json-api-exception",
3-
"description": "JsonApiException plugin for CakePHP",
4-
"type": "cakephp-plugin",
5-
"license": "MIT",
6-
"require": {
7-
"php": ">=7.2",
8-
"cakephp/cakephp": "^4.0"
9-
},
10-
"require-dev": {
11-
"phpunit/phpunit": "^8.5 || ^9.3"
12-
},
13-
"autoload": {
14-
"psr-4": {
15-
"JsonApiException\\": "src/"
16-
}
17-
},
18-
"autoload-dev": {
19-
"psr-4": {
20-
"JsonApiException\\Test\\": "tests/",
21-
"Cake\\Test\\": "vendor/cakephp/cakephp/tests/"
22-
}
2+
"name": "rrd108/cakephp-json-api-exception",
3+
"description": "JsonApiException plugin for CakePHP",
4+
"version": "0.4.0",
5+
"type": "cakephp-plugin",
6+
"license": "MIT",
7+
"require": {
8+
"php": ">=8.0",
9+
"cakephp/cakephp": "^4.0"
10+
},
11+
"require-dev": {
12+
"phpunit/phpunit": "^8.5 || ^9.3"
13+
},
14+
"autoload": {
15+
"psr-4": {
16+
"JsonApiException\\": "src/"
2317
}
18+
},
19+
"autoload-dev": {
20+
"psr-4": {
21+
"JsonApiException\\Test\\": "tests/",
22+
"Cake\\Test\\": "vendor/cakephp/cakephp/tests/"
23+
}
24+
}
2425
}

0 commit comments

Comments
 (0)