Skip to content

Commit 7e4feb4

Browse files
authored
bug #55 Drop MultilineWhitespaceBeforeSemicolonsFixer (coldic3)
This PR was merged into the 4.3-dev branch. Discussion ---------- Drop the rule as it does not work as we expect. For more details see the discussion: PHP-CS-Fixer/PHP-CS-Fixer#6950 Commits ------- 131ac77 Drop MultilineWhitespaceBeforeSemicolonsFixer
2 parents a46aab4 + 131ac77 commit 7e4feb4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ecs.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@
109109
use PhpCsFixer\Fixer\PhpTag\NoClosingTagFixer;
110110
use PhpCsFixer\Fixer\PhpUnit\PhpUnitDedicateAssertFixer;
111111
use PhpCsFixer\Fixer\PhpUnit\PhpUnitFqcnAnnotationFixer;
112-
use PhpCsFixer\Fixer\Semicolon\MultilineWhitespaceBeforeSemicolonsFixer;
113112
use PhpCsFixer\Fixer\Semicolon\NoEmptyStatementFixer;
114113
use PhpCsFixer\Fixer\Semicolon\NoSinglelineWhitespaceBeforeSemicolonsFixer;
115114
use PhpCsFixer\Fixer\Semicolon\SpaceAfterSemicolonFixer;
@@ -248,7 +247,6 @@
248247
$ecsConfig->ruleWithConfiguration(ForbiddenAnnotationsSniff::class, ['forbiddenAnnotations' => ['@api', '@author', '@category', '@copyright', '@created', '@license', '@package', '@since', '@subpackage', '@version']]);
249248
$ecsConfig->ruleWithConfiguration(IncrementStyleFixer::class, ['style' => 'pre']);
250249
$ecsConfig->ruleWithConfiguration(ListSyntaxFixer::class, ['syntax' => 'short']);
251-
$ecsConfig->ruleWithConfiguration(MultilineWhitespaceBeforeSemicolonsFixer::class, ['strategy' => 'new_line_for_chained_calls']);
252250
$ecsConfig->ruleWithConfiguration(NoExtraBlankLinesFixer::class, ['tokens' => ['break', 'case', 'continue', 'curly_brace_block', 'default', 'extra', 'parenthesis_brace_block', 'return', 'square_brace_block', 'switch', 'throw', 'use']]);
253251
$ecsConfig->ruleWithConfiguration(NoMixedEchoPrintFixer::class, ['use' => 'echo']);
254252
$ecsConfig->ruleWithConfiguration(NoSuperfluousPhpdocTagsFixer::class, ['allow_mixed' => true]);

0 commit comments

Comments
 (0)