E524 [Console] Do no preprend empty line if the buffer is empty by lyrixx · Pull Request #48487 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@lyrixx
Copy link
Member
@lyrixx lyrixx commented Dec 5, 2022
Q A
Branch? 6.3
Bug fix? no
New feature? no
Deprecations? no
Tickets
License MIT
Doc PR

It's really weird to preprend an empty line when in our code we write:

protected function execute(InputInterface $input, OutputInterface $output): int
{
    $io = new SymfonyStyle($input, $output);
    $io->text(sprintf('Running project %s', $project->getId()));
}

@fabpot
Copy link
Member
fabpot commented Dec 6, 2022

Thank you @lyrixx.

@fabpot fabpot merged commit 94d6bbb into symfony:6.3 Dec 6, 2022
@lyrixx lyrixx deleted the console-auto-prepend branch December 6, 2022 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

0