Skip to content

Commit e2efa86

Browse files
Merge pull request #20 from lvgunst/change-phpdoc-align-to-left
Change rule phpdoc_align from vertical to left
2 parents 49db311 + c6561f8 commit e2efa86

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,4 @@ strong opinions, and, most importantly, who know how to ship great products. Wan
9090

9191
## License
9292
[BSD (Berkeley Software Distribution) License](https://opensource.org/licenses/bsd-license.php).
93-
Copyright (c) 2023, Mollie B.V.
93+
Copyright (c) 2025, Mollie B.V.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
],
1212
"require": {
1313
"php": "^7.1.3 || ^8.0",
14-
"friendsofphp/php-cs-fixer": "^3.64"
14+
"friendsofphp/php-cs-fixer": "^3.68"
1515
},
1616
"minimum-stability": "stable",
1717
"autoload": {

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)