-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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
Queue output not readable after update to 9.42 in PHPStorm #45200
Comments
@schonhoff If you revert to |
@nunomaduro And also reverted back to 9.40.1: The 9.40.1 is working like a charm. All versions above this version aren't working correctly. I also tried out 4 different computer (all Windows 10) and 3 different PHPStorm versions. All have the same display error. |
I've tried this under VSCode against Laravel 9.43.0, 9.42.2, 9.41.0 and 9.40.1 - all work well in a Windows 10 system with the Latin 1 code page (850 - OEM Multilingual Latin 1; Western European (DOS)) in both PowerShell and CMD prompt. There is one difference between 9.40.1 and 9.41.0: 9.40.1 outputs the start of the line ( What codepage is running on your Windows System, @schonhoff ? (Run chcp in PowerShell or CMD Prompt to find out.) |
Hi @PHPGuus, output of the chcp on a CMD Promp: I'm using PHPStorm and not VSCode, can that make a differnece? This is one of my PHPStorm installations:
Still no changes after updating from PHPStorm 2022.2.4 to 2022.3 . I did some changes to my vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php and reverted line after line back to track down the issue. After I changed this line: if (Terminal::hasSttyAvailable()) {
$this->components->info(
sprintf('Processing jobs from the [%s] %s.', $queue, str('queue')->plural(explode(',', $queue)))
);
} to not use the if statement, the console output was fine again. No other change was made to the code. Only the if statement needs to be commented out. What do I need to change for the if statement? |
Hi @schonhoff I have this PhpStorm: And in that PhpStorm, the PowerShell and the CMD Prompt both display the output properly for the 4 version I mentioned earlier. Which display language is active in Windows for you? I have "English (United States)". I still suspect some character class collision somewhere, that is possibly triggered by the Can you run Best regards, |
Hi @PHPGuus, our display language is Output of stty in PHPStorm, CMD and Powershell (same for my college):
The stty command is only available because we need to use Git for windows (and it includes this command). The version is My Powershell version with
|
Hi @PHPGuus, I fixed the problem. |
Description:
Hello,
after upgrading Laravel localy to version 9.42 from 9.39 the
queue:work
command is not rendered correctly in PHPStorm. Either cmd nor powershell can be used for it because it can not be read. I'm fine with it but PHPStorm should work as an IDE and it worked before. My guess is is the PR #44971 that broke it. Before I updated it looked like the screenshots in the PR. I hope this can be fixed. If more information is required I will try to provide them.Screenshot PHPSotrm
Screenshot CMD
The text was updated successfully, but these errors were encountered: