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

[10.x] Fix undefined constant STDIN error with Artisan::call during a request #48559

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

jessarcher
Copy link
Member

@jessarcher jessarcher commented Sep 26, 2023

This PR fixes a bug introduced in #48468 where an "Undefined constant" error would occur in environments where a command is used in an environment where STDIN is not defined. For example, when using Artisan::call in the request lifecycle.

Fixes laravel/prompts#86

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.

STDIN complain
2 participants