Skip to content
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

[11.x] Register console commands, paths and routes after the app is booted #50738

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

plumthedev
Copy link
Contributor

@plumthedev plumthedev commented Mar 24, 2024

During new approach for application bootstrap, console kernel was loading commands, paths and routes shortly after resolving. At this moment, bootstrap/providers.php were not loaded yet.
Now kernel is loading resources after app is booted and ready to work.
I believe that tests are not needed at all here. It simply make sense.

This pull request is resolving issue: #50716

@crynobone crynobone changed the title Register console commands, paths and routes after the app is booted [11.x] Register console commands, paths and routes after the app is booted Mar 25, 2024
crynobone added a commit that referenced this pull request Mar 25, 2024
This also apply the changes from PR #50738 for `withCommandRouting()`
method.

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
taylorotwell pushed a commit that referenced this pull request Mar 25, 2024
* [11.x] Fixes `ApplicationBuilder::withCommandRouting()` usage.

This also apply the changes from PR #50738 for `withCommandRouting()`
method.

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

* Apply fixes from StyleCI

* wip

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

* wip

* wip

---------

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
Co-authored-by: StyleCI Bot <bot@styleci.io>
@taylorotwell taylorotwell merged commit 57610f7 into laravel:11.x Mar 25, 2024
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants