Skip to content

Add support for routes/console.php#465

Merged
Log1x merged 4 commits into
roots:mainfrom
stefanfisk:feature/routes-console-php
May 28, 2025
Merged

Add support for routes/console.php#465
Log1x merged 4 commits into
roots:mainfrom
stefanfisk:feature/routes-console-php

Conversation

@stefanfisk

Copy link
Copy Markdown
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

Log1x commented May 28, 2025

Copy link
Copy Markdown
Member

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