-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecation warnings #34
Comments
What is exact CakePHP version you are using? Also, the package version. |
CakePHP 4.3.0 |
I've fixed it by updating routes.php file in plugin config folder.
I don't know how to perform a pull request, maybe I can collaborate. Thanks |
I'm on CakePHP 4.3 with the latest version of this package and I've also changed the
@ishanvyas22 let me know which version seems more appropriate to you so that I can create a PR. PS: I will be opening the same PR on cakephp-inertiajs too |
@Andream98 v4.3.0 seems good as it is deprecated in that version only. You can create a PR with the change and updating CakePHP version to 4.3 in |
Released in 1.4.0 |
Describe the bug
Hi, i'm new with react and laravel mix.
I'm trying to create an app when I get two deprecation warnings:
Router::plugin()
is deprecated, use the non-static methodRouterBuilder::plugin()
instead. - /Applications/MAMP/htdocs/cakereact/vendor/ishanvyas22/asset-mix/config/routes.php, line: 11You can disable all deprecation warnings by setting
Error.errorLevel
toE_ALL & ~E_USER_DEPRECATED
, or addvendor/ishanvyas22/asset-mix/config/routes.php
toError.ignoredDeprecationPaths
in yourconfig/app.php
to mute deprecations from only this file. [CORE/src/Core/functions.php, line 322]Router::scope()
is deprecated, use the non-static methodRouterBuilder::scope()
instead. - /Applications/MAMP/htdocs/cakereact/vendor/cakephp/cakephp/src/Routing/Router.php, line: 912You can disable all deprecation warnings by setting
Error.errorLevel
toE_ALL & ~E_USER_DEPRECATED
, or addvendor/cakephp/cakephp/src/Routing/Router.php
toError.ignoredDeprecationPaths
in yourconfig/app.php
to mute deprecations from only this file. [CORE/src/Core/functions.php, line 322]The text was updated successfully, but these errors were encountered: