Skip to content

Add support for routes/console.php #465

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

Merged
merged 4 commits into from
May 28, 2025

Conversation

stefanfisk
Copy link
Contributor

This PR adds support for routes/console.php.

First it removes a duplicate call to Application::resolveConsoleSchedule() which causes Illuminate\Console\Scheduling\Schedule to be instantiated twice with the first instance not being bound to the container.

Then it removes a duplicate call to Kernel::commands() which is already performed by the call to Kernel::bootstrap() a few lines above.

Lastly it requires routes/console.php if the file exists.

@Log1x Log1x merged commit 47310d4 into roots:main May 28, 2025
2 checks passed
@Log1x
Copy link
Member

Log1x commented May 28, 2025

thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants