Skip to content

CLI output missing linebreak #8957

@sreichel

Description

@sreichel

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%

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions