Skip to content

Commit

Permalink
Remove the whitespace aware fixer autowiring workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
leofeyer committed Aug 25, 2023
1 parent 4c24e5a commit fe5195d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"php": "^7.4 || ^8.0",
"kubawerlos/php-cs-fixer-custom-fixers": "^3.14",
"slevomat/coding-standard": "^8.0",
"symplify/easy-coding-standard": "^12.0"
"symplify/easy-coding-standard": "^12.0.7"
},
"require-dev": {
"phpunit/phpunit": "^9.5"
Expand Down
2 changes: 0 additions & 2 deletions config/contao.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,6 @@
$ecsConfig->ruleWithConfiguration(\PhpCsFixer\Fixer\ListNotation\ListSyntaxFixer::class, ['syntax' => 'short']);
$ecsConfig->rule(\PhpCsFixer\Fixer\Whitespace\MethodChainingIndentationFixer::class);
$ecsConfig->rule(\PhpCsFixer\Fixer\Comment\MultilineCommentOpeningClosingFixer::class);
// TODO: Remove the next line once https://github.com/easy-coding-standard/easy-coding-standard/pull/110 has been released
$ecsConfig->rule(\PhpCsFixerCustomFixers\Fixer\MultilinePromotedPropertiesFixer::class);
$ecsConfig->ruleWithConfiguration(\PhpCsFixerCustomFixers\Fixer\MultilinePromotedPropertiesFixer::class, ['minimum_number_of_parameters' => 2]);
$ecsConfig->ruleWithConfiguration(\PhpCsFixer\Fixer\Semicolon\MultilineWhitespaceBeforeSemicolonsFixer::class, ['strategy' => 'new_line_for_chained_calls']);
$ecsConfig->ruleWithConfiguration(\PhpCsFixer\Fixer\ConstantNotation\NativeConstantInvocationFixer::class, ['fix_built_in' => false, 'include' => ['DIRECTORY_SEPARATOR', 'PHP_SAPI', 'PHP_VERSION_ID'], 'scope' => 'namespaced']);
Expand Down

0 comments on commit fe5195d

Please sign in to comment.