Skip to content

Add void return type hints to console commands#295

Merged
taylorotwell merged 1 commit intolaravel:2.xfrom
dominosaurs:patch
Mar 26, 2026
Merged

Add void return type hints to console commands#295
taylorotwell merged 1 commit intolaravel:2.xfrom
dominosaurs:patch

Conversation

@dominosaurs
Copy link
Copy Markdown
Contributor

Improves type safety and ensures compatibility with Symfony\Component\Console\Command\Command::configure(): void to fix #294

Improves type safety and ensures compatibility with `Symfony\Component\Console\Command\Command::configure(): void` to fix #294
@taylorotwell taylorotwell merged commit 5d24908 into laravel:2.x Mar 26, 2026
30 checks passed
msonowal added a commit to msonowal/docker-php-node that referenced this pull request Mar 26, 2026
Use laravel/envoy:2.x-dev to pull the unreleased fix for void return
type hints on console commands (laravel/envoy#295).

Co-Authored-By: jupitora <84776679+boruah@users.noreply.github.com>
@dinandmentink
Copy link
Copy Markdown

Any chance we could get a release with this PR? After upgrading to Laravel v13 my envoy deploys are failing on this.

@dominosaurs
Copy link
Copy Markdown
Contributor Author

hi @dinandmentink, for short term solution you can try the msonowals workaround (above): msonowal/docker-php-node@69dca7d

@dinandmentink
Copy link
Copy Markdown

@dominosaurs Yes, that would work, thanks for the suggestion. I was kinda hoping for a quick minor release, so I don't have to go through a bunch of codebases and revert the dev version again, this being a first-party laravel package that now breaks for all laravel 13 installs.

Anyway, the horror, I'll live. Thanks for the quick fix!

msonowal added a commit to msonowal/docker-php-node that referenced this pull request Mar 28, 2026
* Upgrade PHP version to 8.5 in Dockerfile

Updated PHP version in Dockerfile from 8.4 to 8.5.

* Update README.md

* Update docker-image.yml

Update Node version to v22 in README

Update PHP version in README tags section

Update Node version to v24 in README

Fix envoy compatibility with Symfony Console v8 on PHP 8.5

Use laravel/envoy:2.x-dev to pull the unreleased fix for void return
type hints on console commands (laravel/envoy#295).

Co-Authored-By: jupitora <84776679+boruah@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants