Skip to content

Commit 97a21ff

Browse files
authored
Cakephp5.3 deprecations (#30)
This pull request updates the codebase to address CakePHP 5.3 deprecations, primarily focusing on renaming the plugin class and updating CI configurations.
1 parent a6e8278 commit 97a21ff

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
matrix:
1212
operating-system: [ ubuntu-22.04 ]
13-
php-versions: ['8.1', '8.4']
13+
php-versions: ['8.1', '8.5']
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v2

phpcs.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0"?>
22
<ruleset name="App">
3-
<config name="installed_paths" value="../../cakephp/cakephp-codesniffer"/>
4-
3+
<config name="installed_paths" value="vendor/cakephp/cakephp-codesniffer,vendor/slevomat/coding-standard"/>
54
<rule ref="CakePHP"/>
65
</ruleset>

src/Plugin.php renamed to src/CakePreloaderPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
/**
1414
* Plugin for Preloader
1515
*/
16-
class Plugin extends BasePlugin
16+
class CakePreloaderPlugin extends BasePlugin
1717
{
1818
/**
1919
* @inheritDoc

0 commit comments

Comments
 (0)