Skip to content

Commit 23a34df

Browse files
committed
chore: allow to use @property-read and @property-write
1 parent 3d058b1 commit 23a34df

1 file changed

Lines changed: 29 additions & 1 deletion

File tree

.php-cs-fixer.dist.php

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,35 @@
4343
__DIR__ . '/spark',
4444
]);
4545

46-
$overrides = [];
46+
$overrides = [
47+
'phpdoc_no_alias_tag' => [
48+
'replacements' => [
49+
'type' => 'var',
50+
'link' => 'see',
51+
],
52+
],
53+
'phpdoc_align' => [
54+
'align' => 'vertical',
55+
'spacing' => 1,
56+
'tags' => [
57+
'method',
58+
'param',
59+
'phpstan-assert',
60+
'phpstan-assert-if-true',
61+
'phpstan-assert-if-false',
62+
'phpstan-param',
63+
'phpstan-property',
64+
'phpstan-return',
65+
'property',
66+
'property-read',
67+
'property-write',
68+
'return',
69+
'throws',
70+
'type',
71+
'var',
72+
],
73+
],
74+
];
4775

4876
$options = [
4977
'cacheFile' => 'build/.php-cs-fixer.cache',

0 commit comments

Comments
 (0)