Skip to content

Commit f39f9fd

Browse files
authored
Stop using src-symfony-compatibility for DrushStyle (#6493)
* Stop using src-symfony-compatibility for DrushStyle We dont need cross Symfony version support * PHPCS
1 parent 054d6e8 commit f39f9fd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src-symfony-compatibility/v6/Style/DrushStyle.php renamed to src/Style/DrushStyle.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@
2222

2323
class DrushStyle extends SymfonyStyle
2424
{
25-
public function success(array|string $message): void {
26-
// Force output to stderr so as to not interfere with formatted output.
27-
$this->getErrorStyle()->success($message);
25+
public function success(array|string $message): void
26+
{
27+
// Force output to stderr so as to not interfere with formatted output.
28+
$this->getErrorStyle()->success($message);
2829
}
2930

3031
public function confirm(string $question, bool $default = true, string $yes = 'Yes', string $no = 'No', bool|string $required = false, ?\Closure $validate = null, string $hint = ''): bool

0 commit comments

Comments
 (0)