Skip to content

Commit

Permalink
Merge pull request #251 from PHPCSStandards/feature/changelog-3.8.1
Browse files Browse the repository at this point in the history
Changelog for the 3.8.1 release
  • Loading branch information
jrfnl committed Jan 11, 2024
2 parents 65270eb + 8f5f986 commit 14f5fff
Showing 1 changed file with 56 additions and 2 deletions.
58 changes: 56 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,53 @@ The file documents changes to the PHP_CodeSniffer project.
_Nothing yet._


## [3.8.1] - 2024-01-11

### Added
- Documentation has been added for the following sniffs:
- Generic.CodeAnalysis.EmptyPHPStatement
- Generic.Formatting.SpaceBeforeCast
- Generic.PHP.Syntax
- Generic.WhiteSpace.LanguageConstructSpacing
- PSR12.Classes.ClosingBrace
- PSR12.Classes.OpeningBraceSpace
- PSR12.ControlStructures.BooleanOperatorPlacement
- PSR12.Files.OpenTag
- Thanks to [Rodrigo Primo][@rodrigoprimo] and [Denis Žoljom][@dingo-d] for the patches

### Changed
- GitHub releases will now always only contain unversioned release assets (PHARS + asc files) (same as it previously was in the squizlabs repo). See [#205] for context.
- Thanks to [Shivam Mathur][@shivammathur] for opening a discussion about this
- Various housekeeping, includes improvements to the tests and documentation
- Thanks to [Dan Wallis][@fredden], [Lucas Hoffmann][@lucc], [Rodrigo Primo][@rodrigoprimo] and [Juliette Reinders Folmer][@jrfnl] for their contributions

### Fixed
- Fixed bug [#124] : Report Full : avoid unnecessarily wrapping lines when `-s` is used
- Thanks to [Brad Jorsch][@anomiex] for the patch
- Fixed bug [#124] : Report Full : fix incorrect bolding of pipes when `-s` is used and messages wraps
- Thanks to [Brad Jorsch][@anomiex] for the patch
- Fixed bug [#150] : Squiz.WhiteSpace.KeywordSpacing : prevent a PHP notice when run during live coding
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
- Fixed bug [#154] : Report Full : delimiter line calculation could go wonky on wide screens when a report contains multi-line messages
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
- Fixed bug [#178] : Squiz.Commenting.VariableComment : docblocks were incorrectly being flagged as missing when a property declaration used PHP native union/intersection type declarations
- Thanks to [Ferdinand Kuhl][@fcool] for the patch
- Fixed bug [#211] : Squiz.Commenting.VariableComment : docblocks were incorrectly being flagged as missing when a property declaration used PHP 8.2+ stand-alone `true`/`false`/`null` type declarations
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
- Fixed bug [#211] : Squiz.Commenting.VariableComment : docblocks were incorrectly being flagged as missing when a property declaration used PHP native `parent`, `self` or a namespace relative class name type declaration
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
- Fixed bug [#226] : Generic.CodeAnalysis.ForLoopShouldBeWhileLoop : prevent a potential PHP 8.3 deprecation notice during live coding
- Thanks to [Rodrigo Primo][@rodrigoprimo] for the patch

[#124]: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/124
[#150]: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/150
[#154]: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/154
[#178]: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/178
[#205]: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/205
[#211]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/211
[#226]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/226


## [3.8.0] - 2023-12-08

[Squizlabs/PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) is dead. Long live [PHPCSStandards/PHP_CodeSniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer)!
Expand Down Expand Up @@ -699,9 +746,9 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
- The cache is no longer used if the list of loaded PHP extensions changes
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
- `Generic.NamingConventions.CamelCapsFunctionName` no longer reports `__serialize` and `__unserialize` as invalid names
- Thanks to [Filip Å][@filips123]  for the patch
- Thanks to [Filip Š][@filips123] for the patch
- `PEAR.NamingConventions.ValidFunctionName` no longer reports `__serialize` and `__unserialize` as invalid names
- Thanks to [Filip Å][@filips123]  for the patch
- Thanks to [Filip Š][@filips123] for the patch
- `Squiz.Scope.StaticThisUsage` now detects usage of `$this` inside closures and arrow functions
- Thanks to [Michał Bundyra][@michalbundyra] for the patch

Expand Down Expand Up @@ -5346,6 +5393,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
-->

[Unreleased]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/master...HEAD
[3.8.1]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.8.0...3.8.1
[3.8.0]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.7.2...3.8.0
[3.7.2]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.7.1...3.7.2
[3.7.1]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.7.0...3.7.1
Expand Down Expand Up @@ -5455,6 +5503,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
[@AndrewDawes]: https://github.com/AndrewDawes
[@andygrunwald]: https://github.com/andygrunwald
[@annechko]: https://github.com/annechko
[@anomiex]: https://github.com/anomiex
[@arnested]: https://github.com/arnested
[@asnyder]: https://github.com/asnyder
[@Astinus-Eberhard]: https://github.com/Astinus-Eberhard
Expand Down Expand Up @@ -5490,6 +5539,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
[@derrabus]: https://github.com/derrabus
[@deviantintegral]: https://github.com/deviantintegral
[@dhensby]: https://github.com/dhensby
[@dingo-d]: https://github.com/dingo-d
[@dominics]: https://github.com/dominics
[@donatj]: https://github.com/donatj
[@dryabkov]: https://github.com/dryabkov
Expand All @@ -5505,6 +5555,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
[@exussum12]: https://github.com/exussum12
[@fabacino]: https://github.com/fabacino
[@fabre-thibaud]: https://github.com/fabre-thibaud
[@fcool]: https://github.com/fcool
[@filips123]: https://github.com/filips123
[@Fischer-Bjoern]: https://github.com/Fischer-Bjoern
[@fonsecas72]: https://github.com/fonsecas72
Expand Down Expand Up @@ -5553,6 +5604,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
[@legoktm]: https://github.com/legoktm
[@lmanzke]: https://github.com/lmanzke
[@localheinz]: https://github.com/localheinz
[@lucc]: https://github.com/lucc
[@MacDada]: https://github.com/MacDada
[@Majkl578]: https://github.com/Majkl578
[@manuelpichler]: https://github.com/manuelpichler
Expand Down Expand Up @@ -5595,6 +5647,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
[@rhorber]: https://github.com/rhorber
[@rmccue]: https://github.com/rmccue
[@robocoder]: https://github.com/robocoder
[@rodrigoprimo]: https://github.com/rodrigoprimo
[@rogeriopradoj]: https://github.com/rogeriopradoj
[@rovangju]: https://github.com/rovangju
[@rvanvelzen]: https://github.com/rvanvelzen
Expand All @@ -5606,6 +5659,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
[@sebastianbergmann]: https://github.com/sebastianbergmann
[@sertand]: https://github.com/sertand
[@shanethehat]: https://github.com/shanethehat
[@shivammathur]: https://github.com/shivammathur
[@simonsan]: https://github.com/simonsan
[@sjlangley]: https://github.com/sjlangley
[@sserbin]: https://github.com/sserbin
Expand Down

0 comments on commit 14f5fff

Please sign in to comment.