rector icon indicating copy to clipboard operation
rector copied to clipboard

CLI output missing linebreak

Open sreichel opened this issue 1 year ago • 0 comments

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 avatar Jan 01 '25 23:01 sreichel