We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This should be fixed by changing config/routes.php, and requiring cake 4.3
config/routes.php
diff --git a/config/routes.php b/config/routes.php index 6ed7cdd..0cd2bce 100644 --- a/config/routes.php +++ b/config/routes.php @@ -3,7 +3,8 @@ use Cake\Routing\RouteBuilder; use Cake\Routing\Router; -Router::prefix('Admin', function (RouteBuilder $routes) { +/** @var \Cake\Routing\RouteBuilder $routes */ +$routes->prefix('Admin', function (RouteBuilder $routes) {
I tried to make a PR but couldn't get test to run with new Test Migrator
The text was updated successfully, but these errors were encountered:
@deprecated 4.3.0 Use the non-static method RouterBuilder::prefix() instead.
@deprecated 4.3.0 Use the non-static method
instead.
This cannot be fixed in a way that it works for CakePHP 4.2 as well As such you should just set
routes
Sorry, something went wrong.
No branches or pull requests
This should be fixed by changing
config/routes.php
, and requiring cake 4.3I tried to make a PR but couldn't get test to run with new Test Migrator
The text was updated successfully, but these errors were encountered: