File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
6
6
7
7
## [ Unreleased]
8
+ ### Changed
9
+ - ` comment_to_phpdoc ` no longer fixes PHPStan error suppression and the ` todo ` tag.
8
10
9
11
## [ 1.0.0] - 2023-05-17
10
12
### Added
Original file line number Diff line number Diff line change @@ -83,7 +83,15 @@ public static function create(array $overwrittenRules = []): array {
83
83
'visibility_required ' => true ,
84
84
85
85
// Comment
86
- 'comment_to_phpdoc ' => true ,
86
+ 'comment_to_phpdoc ' => [
87
+ 'ignored_tags ' => [
88
+ 'todo ' ,
89
+ // https://phpstan.org/user-guide/ignoring-errors
90
+ 'phpstan-ignore ' ,
91
+ 'phpstan-ignore-line ' ,
92
+ 'phpstan-ignore-next-line ' ,
93
+ ],
94
+ ],
87
95
'multiline_comment_opening_closing ' => true ,
88
96
'no_empty_comment ' => true ,
89
97
'single_line_comment_spacing ' => true ,
You can’t perform that action at this time.
0 commit comments