Skip to content

Commit 721a55b

Browse files
committed
minor #58443 Various CS fix for consistency (alexandre-daubois)
This PR was merged into the 7.2 branch. Discussion ---------- Various CS fix for consistency | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | - | License | MIT A few fixes to match the rest of the codebase: - Remove useless `else` branches (as done in symfony/symfony#57897) - Instantiating anonymous classes should not be followed by parentheses - An attribute without args should not be followed by parentheses Commits ------- 75582694ec Various CS fix for consistency
2 parents 270fd98 + 8453956 commit 721a55b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Fixtures/application_signalable.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313
require $vendor.'/vendor/autoload.php';
1414

15-
(new class() extends SingleCommandApplication implements SignalableCommandInterface {
15+
(new class extends SingleCommandApplication implements SignalableCommandInterface {
1616
public function getSubscribedSignals(): array
1717
{
1818
return [SIGINT];

0 commit comments

Comments
 (0)