2 Commits
1.0.0 ... 1.0.1

2 changed files with 15 additions and 2 deletions

View File

@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
## [1.0.1] - 2023-07-21
### Changed
- `comment_to_phpdoc` no longer fixes PHPStan error suppression and the `todo` tag.
## [1.0.0] - 2023-05-17
### Added
- `single_space_around_construct` fixer.
@ -161,7 +165,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Added
- First release
[Unreleased]: https://github.com/elyby/php-code-style/compare/1.0.0...HEAD
[Unreleased]: https://github.com/elyby/php-code-style/compare/1.0.1...HEAD
[1.0.1]: https://github.com/elyby/php-code-style/compare/1.0.0...1.0.1
[1.0.0]: https://github.com/elyby/php-code-style/compare/0.5.0...1.0.0
[0.5.0]: https://github.com/elyby/php-code-style/compare/0.4.0...0.5.0
[0.4.0]: https://github.com/elyby/php-code-style/compare/0.3.0...0.4.0

View File

@ -83,7 +83,15 @@ final class Rules {
'visibility_required' => true,
// Comment
'comment_to_phpdoc' => true,
'comment_to_phpdoc' => [
'ignored_tags' => [
'todo',
// https://phpstan.org/user-guide/ignoring-errors
'phpstan-ignore',
'phpstan-ignore-line',
'phpstan-ignore-next-line',
],
],
'multiline_comment_opening_closing' => true,
'no_empty_comment' => true,
'single_line_comment_spacing' => true,