Skip to content

Commit 975b050

Browse files
committed
Remove deprecation usage
1 parent d72b405 commit 975b050

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
A CakePHP plugin to handle authentication and user authorization the easy way.
1212

13-
This branch is for **CakePHP 5.0+**. For details see [version map](https://github.com/dereuromark/cakephp-tinyauth/wiki#cakephp-version-map).
13+
This branch is for **CakePHP 5.1+**. For details see [version map](https://github.com/dereuromark/cakephp-tinyauth/wiki#cakephp-version-map).
1414

1515
## Features
1616

@@ -39,7 +39,7 @@ This plugin hooks in with a single line of change and manages all that using con
3939
It is also possible to manage the config files without the need to code.
4040
And it can with adapters also be moved completely to the DB and managed by CRUD backend.
4141

42-
Ask yourself: Do you need the overhead and complexity involved with a full blown (RBAC DB) ACL or very specific Policy approaches?
42+
Ask yourself: Do you need the overhead and complexity involved with a full blown (RBAC DB) ACL or very specific Policy approaches?
4343
See also my post [acl-access-control-lists-revised/](https://www.dereuromark.de/2015/01/06/acl-access-control-lists-revised/).
4444
If not, then this plugin could very well be your answer and a super quick solution to your auth problem :)
4545

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"require": {
2626
"php": ">=8.1",
27-
"cakephp/cakephp": "^5.0.0"
27+
"cakephp/cakephp": "^5.1.1"
2828
},
2929
"require-dev": {
3030
"cakephp/authentication": "^3.0.1",

tests/bootstrap.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,16 @@
4949
'engine' => 'File',
5050
'path' => CACHE,
5151
],
52-
'_cake_core_' => [
52+
'_cake_translations_' => [
5353
'className' => 'File',
54-
'prefix' => 'crud_myapp_cake_core_',
54+
'prefix' => 'myapp_cake_translations_',
5555
'path' => CACHE . 'persistent/',
5656
'serialize' => true,
5757
'duration' => '+10 seconds',
5858
],
5959
'_cake_model_' => [
6060
'className' => 'File',
61-
'prefix' => 'crud_my_app_cake_model_',
61+
'prefix' => 'myapp_cake_model_',
6262
'path' => CACHE . 'models/',
6363
'serialize' => 'File',
6464
'duration' => '+10 seconds',

0 commit comments

Comments
 (0)