Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 41d7e6b

Browse files
feat: add spaces between union types
1 parent ffd9d00 commit 41d7e6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/coding_style.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@
7474
SingleLineEmptyBodyFixer::class,
7575
CastSpacesFixer::class,
7676
TypeDeclarationSpacesFixer::class,
77-
TypesSpacesFixer::class,
7877
// Casing
7978
ClassReferenceNameCasingFixer::class,
8079
LowercaseStaticReferenceFixer::class,
@@ -115,6 +114,7 @@
115114
StatementIndentationFixer::class,
116115
]);
117116

117+
$ecsConfig->ruleWithConfiguration(TypesSpacesFixer::class, ['space' => 'single', 'space_multiple_catch' => 'single']);
118118
$ecsConfig->ruleWithConfiguration(ArraySyntaxFixer::class, ['syntax' => 'short']);
119119
$ecsConfig->ruleWithConfiguration(LineLengthFixer::class, [LineLengthFixer::LINE_LENGTH => 120]);
120120
$ecsConfig->ruleWithConfiguration(

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /