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

CLI output missing linebreak #8957

Open
sreichel opened this issue Jan 1, 2025 · 0 comments
Open

CLI output missing linebreak #8957

sreichel opened this issue Jan 1, 2025 · 0 comments
Labels

Comments

@sreichel
Copy link

sreichel commented Jan 1, 2025

Bug Report

Not realy a bug ...

Subject Details
Rector version e.g. v2.0.5 (invoke vendor/bin/rector --version)

I run rector as comoser-script and the output looks like ...

 5168/5253 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░]  98% 5184/5253 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░]  98%
 [WARNING] The "Rector\Configuration\RectorConfigBuilder::withPreparedSets()" method uses named arguments. Its suitable 
           for PHP 8.0+. In lower PHP versions, use "withSets([...])" method instead                                    

 5200/5253 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░]  98%
 [WARNING] The "Rector\Configuration\RectorConfigBuilder::withPreparedSets()" method uses named arguments. Its suitable 
           for PHP 8.0+. In lower PHP versions, use "withSets([...])" method instead   

Expected Behaviour

Show warning one at the beginning and have a nicer output

 [WARNING] The "Rector\Configuration\RectorConfigBuilder::withPreparedSets()" method uses named arguments. Its suitable 
           for PHP 8.0+. In lower PHP versions, use "withSets([...])" method instead   
 5168/5253 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░]  98%
 5184/5253 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░]  98%
 5200/5253 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░]  98%

@sreichel sreichel added the bug label Jan 1, 2025
@sreichel sreichel changed the title CLI output "broken" CLI output missing linebreak Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant