Skip to content

Commit

Permalink
required php version dependency updated
Browse files Browse the repository at this point in the history
  • Loading branch information
rrd108 committed Jul 22, 2023
1 parent caa9783 commit b12a216
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 44 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,6 @@ on:
branches: [main]

jobs:
testsuite_php_7_4:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup PHP 7.4 Environment
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
extensions: intl, mbstring, simplexml, pdo, pdo_mysql
coverage: pcov

- name: Install Packages in the temporary container
working-directory: ./
run: composer install

- name: Run tests with PHP 7.4
working-directory: ./
run: |
export CODECOVERAGE=1
vendor/bin/phpunit --verbose tests
testsuite_php_8_1:
runs-on: ubuntu-latest

Expand Down
43 changes: 22 additions & 21 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
{
"name": "rrd108/cakephp-json-api-exception",
"description": "JsonApiException plugin for CakePHP",
"type": "cakephp-plugin",
"license": "MIT",
"require": {
"php": ">=7.2",
"cakephp/cakephp": "^4.0"
},
"require-dev": {
"phpunit/phpunit": "^8.5 || ^9.3"
},
"autoload": {
"psr-4": {
"JsonApiException\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"JsonApiException\\Test\\": "tests/",
"Cake\\Test\\": "vendor/cakephp/cakephp/tests/"
}
"name": "rrd108/cakephp-json-api-exception",
"description": "JsonApiException plugin for CakePHP",
"version": "0.4.0",
"type": "cakephp-plugin",
"license": "MIT",
"require": {
"php": ">=8.0",
"cakephp/cakephp": "^4.0"
},
"require-dev": {
"phpunit/phpunit": "^8.5 || ^9.3"
},
"autoload": {
"psr-4": {
"JsonApiException\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"JsonApiException\\Test\\": "tests/",
"Cake\\Test\\": "vendor/cakephp/cakephp/tests/"
}
}
}

0 comments on commit b12a216

Please sign in to comment.