Skip to content

STDIN complain #86

@oriceon

Description

@oriceon

Laravel Prompts Version

v0.1.9

Laravel Version

10.25.0

PHP Version

8.2.10

Operating System & Version

Linux

Terminal Application

Linux

Description

Hi. After upgrading laravel from 10.24.0 to 10.25.0 witch has laravel/prompts v0.1.9, when i want to call a command from controller Artisan::call('app:set-version'); i get this error:

[2023-09-26 19:26:53] production.ERROR: Undefined constant "Illuminate\Console\Concerns\STDIN" {"userId":40009,"exception":"[object] (Error(code: 0): Undefined constant \"Illuminate\\Console\\Concerns\\STDIN\" at /home/crm/public_html/vendor/laravel/framework/src/Illuminate/Console/Concerns/ConfiguresPrompts.php:27)
....

Steps To Reproduce

Artisan::call('any-command')

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions