File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 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/)
55and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
66
77## [ Unreleased]
8+ ### Changed
9+ - ` comment_to_phpdoc ` no longer fixes PHPStan error suppression and the ` todo ` tag.
810
911## [ 1.0.0] - 2023-05-17
1012### Added
Original file line number Diff line number Diff line change @@ -83,7 +83,15 @@ public static function create(array $overwrittenRules = []): array {
8383 'visibility_required ' => true ,
8484
8585 // 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+ ],
8795 'multiline_comment_opening_closing ' => true ,
8896 'no_empty_comment ' => true ,
8997 'single_line_comment_spacing ' => true ,
You can’t perform that action at this time.
0 commit comments