Skip to content

Commit f148561

Browse files
committed
Update dependencies and CI for CakePHP v5.x
1 parent d556f4e commit f148561

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
php-version: ['8.1', '8.2']
14+
php-version: ['8.2', '8.3']
1515
name: PHP ${{ matrix.php-version }}
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919

2020
- name: Setup PHP
2121
uses: shivammathur/setup-php@v2
@@ -35,12 +35,12 @@ jobs:
3535
runs-on: ubuntu-latest
3636

3737
steps:
38-
- uses: actions/checkout@v3
38+
- uses: actions/checkout@v4
3939

4040
- name: Setup PHP
4141
uses: shivammathur/setup-php@v2
4242
with:
43-
php-version: '8.2'
43+
php-version: '8.3'
4444
extensions: mbstring, intl
4545
coverage: none
4646

@@ -52,4 +52,4 @@ jobs:
5252

5353
- name: Run phpstan
5454
if: success() || failure()
55-
run: vendor/bin/phpstan analyse src/ tests/
55+
run: vendor/bin/phpstan analyse

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"type": "cakephp-plugin",
55
"license": "MIT",
66
"require": {
7-
"php": ">=7.4",
8-
"cakephp/cakephp": "4.*"
7+
"php": ">=8.2",
8+
"cakephp/cakephp": "^5.0"
99
},
1010
"require-dev": {
11-
"cakephp/cakephp-codesniffer": "^4.5",
12-
"phpstan/phpstan": "^1.9",
13-
"phpunit/phpunit": "^9.3"
11+
"cakephp/cakephp-codesniffer": "^5.0",
12+
"phpstan/phpstan": "^1.10",
13+
"phpunit/phpunit": "^10.1"
1414
},
1515
"autoload": {
1616
"psr-4": {

0 commit comments

Comments
 (0)