Skip to content

Commit

Permalink
chore: allow to use @property-read and @property-write
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Feb 6, 2024
1 parent 3d058b1 commit 23a34df
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,35 @@
__DIR__ . '/spark',
]);

$overrides = [];
$overrides = [
'phpdoc_no_alias_tag' => [
'replacements' => [
'type' => 'var',
'link' => 'see',
],
],
'phpdoc_align' => [
'align' => 'vertical',
'spacing' => 1,
'tags' => [
'method',
'param',
'phpstan-assert',
'phpstan-assert-if-true',
'phpstan-assert-if-false',
'phpstan-param',
'phpstan-property',
'phpstan-return',
'property',
'property-read',
'property-write',
'return',
'throws',
'type',
'var',
],
],
];

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

0 comments on commit 23a34df

Please sign in to comment.