Skip to content

Commit 9c5049d

Browse files
committed
support PHP 8.5 and CakePHP 5.3
1 parent f4fb993 commit 9c5049d

2 files changed

Lines changed: 9 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,21 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
cakephp-version: ['5.0.*', '5.1.*', '5.2.*']
20-
php-version: ['8.2', '8.3', '8.4']
19+
cakephp-version: ['5.0.*', '5.1.*', '5.2.*', '5.3.*']
20+
php-version: ['8.2', '8.3', '8.4', '8.5']
2121
db-type: ['mysql']
2222
prefer-lowest: ['']
2323
coverage: ['no']
2424
include:
25+
# 最小バージョンテスト(prefer-lowest)
2526
- cakephp-version: '5.0.*'
2627
php-version: '8.1'
2728
db-type: 'mysql:8.0'
2829
prefer-lowest: 'prefer-lowest'
2930
coverage: 'no'
30-
- cakephp-version: '5.2.*'
31-
php-version: '8.4'
32-
db-type: 'mysql'
33-
prefer-lowest: ''
34-
coverage: 'no'
35-
36-
- php-version: '8.4'
37-
cakephp-version: '5.2.*'
31+
# 最新バージョンテスト(カバレッジ付き)
32+
- cakephp-version: '5.3.*'
33+
php-version: '8.5'
3834
db-type: 'mysql'
3935
prefer-lowest: ''
4036
coverage: 'coverage'
@@ -56,7 +52,7 @@ jobs:
5652
uses: shivammathur/setup-php@v2
5753
with:
5854
php-version: ${{ matrix.php-version }}
59-
extensions: mbstring, intl, apcu, sqlite, pdo_${{ matrix.db-type }}
55+
extensions: mbstring, intl, apcu, sqlite, pdo_mysql
6056
ini-values: apc.enable_cli = 1
6157
coverage: xdebug
6258

@@ -119,7 +115,7 @@ jobs:
119115
- name: Setup PHP
120116
uses: shivammathur/setup-php@v2
121117
with:
122-
php-version: '8.4'
118+
php-version: '8.5'
123119
extensions: mbstring, intl, apcu
124120
coverage: none
125121

src/Plugin.php renamed to src/RememberMePlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/**
99
* Plugin class for CakePHP.
1010
*/
11-
class Plugin extends BasePlugin
11+
class RememberMePlugin extends BasePlugin
1212
{
1313
/**
1414
* Do bootstrapping or not

0 commit comments

Comments
 (0)