Skip to content

Commit 1dc1154

Browse files
committed
Prevent modifying multiple lines when changing one param in a docblock
Changed rule phpdoc_align from vertical to left.
1 parent 49db311 commit 1dc1154

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/PhpCsFixer/Rules.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ private static function getBaseRules(): array
186186
'php_unit_test_case_static_method_calls' => [
187187
'call_type' => 'self',
188188
],
189+
'phpdoc_align' => ['align' => 'left'], // Prevent modifying multiple lines when changing one param in a docblock
189190
'phpdoc_annotation_without_dot' => false, // Sometimes comments have a good reason to end with a dot. Leave this up to the engineer.
190191
'phpdoc_no_alias_tag' => [
191192
'replacements' => [

0 commit comments

Comments
 (0)