Skip to content

Commit

Permalink
feat: add spaces between union types
Browse files Browse the repository at this point in the history
  • Loading branch information
rgomezcasas committed Aug 5, 2024
1 parent ffd9d00 commit 41d7e6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coding_style.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
SingleLineEmptyBodyFixer::class,
CastSpacesFixer::class,
TypeDeclarationSpacesFixer::class,
TypesSpacesFixer::class,
// Casing
ClassReferenceNameCasingFixer::class,
LowercaseStaticReferenceFixer::class,
Expand Down Expand Up @@ -115,6 +114,7 @@
StatementIndentationFixer::class,
]);

$ecsConfig->ruleWithConfiguration(TypesSpacesFixer::class, ['space' => 'single', 'space_multiple_catch' => 'single']);
$ecsConfig->ruleWithConfiguration(ArraySyntaxFixer::class, ['syntax' => 'short']);
$ecsConfig->ruleWithConfiguration(LineLengthFixer::class, [LineLengthFixer::LINE_LENGTH => 120]);
$ecsConfig->ruleWithConfiguration(
Expand Down

0 comments on commit 41d7e6b

Please sign in to comment.