Skip to content

Commit 14f5fff

Browse files
authored
Merge pull request #251 from PHPCSStandards/feature/changelog-3.8.1
Changelog for the 3.8.1 release
2 parents 65270eb + 8f5f986 commit 14f5fff

File tree

1 file changed

+56
-2
lines changed

1 file changed

+56
-2
lines changed

CHANGELOG.md

+56-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,53 @@ The file documents changes to the PHP_CodeSniffer project.
66
_Nothing yet._
77

88

9+
## [3.8.1] - 2024-01-11
10+
11+
### Added
12+
- Documentation has been added for the following sniffs:
13+
- Generic.CodeAnalysis.EmptyPHPStatement
14+
- Generic.Formatting.SpaceBeforeCast
15+
- Generic.PHP.Syntax
16+
- Generic.WhiteSpace.LanguageConstructSpacing
17+
- PSR12.Classes.ClosingBrace
18+
- PSR12.Classes.OpeningBraceSpace
19+
- PSR12.ControlStructures.BooleanOperatorPlacement
20+
- PSR12.Files.OpenTag
21+
- Thanks to [Rodrigo Primo][@rodrigoprimo] and [Denis Žoljom][@dingo-d] for the patches
22+
23+
### Changed
24+
- 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.
25+
- Thanks to [Shivam Mathur][@shivammathur] for opening a discussion about this
26+
- Various housekeeping, includes improvements to the tests and documentation
27+
- Thanks to [Dan Wallis][@fredden], [Lucas Hoffmann][@lucc], [Rodrigo Primo][@rodrigoprimo] and [Juliette Reinders Folmer][@jrfnl] for their contributions
28+
29+
### Fixed
30+
- Fixed bug [#124] : Report Full : avoid unnecessarily wrapping lines when `-s` is used
31+
- Thanks to [Brad Jorsch][@anomiex] for the patch
32+
- Fixed bug [#124] : Report Full : fix incorrect bolding of pipes when `-s` is used and messages wraps
33+
- Thanks to [Brad Jorsch][@anomiex] for the patch
34+
- Fixed bug [#150] : Squiz.WhiteSpace.KeywordSpacing : prevent a PHP notice when run during live coding
35+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
36+
- Fixed bug [#154] : Report Full : delimiter line calculation could go wonky on wide screens when a report contains multi-line messages
37+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
38+
- Fixed bug [#178] : Squiz.Commenting.VariableComment : docblocks were incorrectly being flagged as missing when a property declaration used PHP native union/intersection type declarations
39+
- Thanks to [Ferdinand Kuhl][@fcool] for the patch
40+
- 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
41+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
42+
- 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
43+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
44+
- Fixed bug [#226] : Generic.CodeAnalysis.ForLoopShouldBeWhileLoop : prevent a potential PHP 8.3 deprecation notice during live coding
45+
- Thanks to [Rodrigo Primo][@rodrigoprimo] for the patch
46+
47+
[#124]: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/124
48+
[#150]: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/150
49+
[#154]: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/154
50+
[#178]: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/178
51+
[#205]: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/205
52+
[#211]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/211
53+
[#226]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/226
54+
55+
956
## [3.8.0] - 2023-12-08
1057

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

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

53485395
[Unreleased]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/master...HEAD
5396+
[3.8.1]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.8.0...3.8.1
53495397
[3.8.0]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.7.2...3.8.0
53505398
[3.7.2]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.7.1...3.7.2
53515399
[3.7.1]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.7.0...3.7.1
@@ -5455,6 +5503,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
54555503
[@AndrewDawes]: https://github.com/AndrewDawes
54565504
[@andygrunwald]: https://github.com/andygrunwald
54575505
[@annechko]: https://github.com/annechko
5506+
[@anomiex]: https://github.com/anomiex
54585507
[@arnested]: https://github.com/arnested
54595508
[@asnyder]: https://github.com/asnyder
54605509
[@Astinus-Eberhard]: https://github.com/Astinus-Eberhard
@@ -5490,6 +5539,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
54905539
[@derrabus]: https://github.com/derrabus
54915540
[@deviantintegral]: https://github.com/deviantintegral
54925541
[@dhensby]: https://github.com/dhensby
5542+
[@dingo-d]: https://github.com/dingo-d
54935543
[@dominics]: https://github.com/dominics
54945544
[@donatj]: https://github.com/donatj
54955545
[@dryabkov]: https://github.com/dryabkov
@@ -5505,6 +5555,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
55055555
[@exussum12]: https://github.com/exussum12
55065556
[@fabacino]: https://github.com/fabacino
55075557
[@fabre-thibaud]: https://github.com/fabre-thibaud
5558+
[@fcool]: https://github.com/fcool
55085559
[@filips123]: https://github.com/filips123
55095560
[@Fischer-Bjoern]: https://github.com/Fischer-Bjoern
55105561
[@fonsecas72]: https://github.com/fonsecas72
@@ -5553,6 +5604,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
55535604
[@legoktm]: https://github.com/legoktm
55545605
[@lmanzke]: https://github.com/lmanzke
55555606
[@localheinz]: https://github.com/localheinz
5607+
[@lucc]: https://github.com/lucc
55565608
[@MacDada]: https://github.com/MacDada
55575609
[@Majkl578]: https://github.com/Majkl578
55585610
[@manuelpichler]: https://github.com/manuelpichler
@@ -5595,6 +5647,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
55955647
[@rhorber]: https://github.com/rhorber
55965648
[@rmccue]: https://github.com/rmccue
55975649
[@robocoder]: https://github.com/robocoder
5650+
[@rodrigoprimo]: https://github.com/rodrigoprimo
55985651
[@rogeriopradoj]: https://github.com/rogeriopradoj
55995652
[@rovangju]: https://github.com/rovangju
56005653
[@rvanvelzen]: https://github.com/rvanvelzen
@@ -5606,6 +5659,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
56065659
[@sebastianbergmann]: https://github.com/sebastianbergmann
56075660
[@sertand]: https://github.com/sertand
56085661
[@shanethehat]: https://github.com/shanethehat
5662+
[@shivammathur]: https://github.com/shivammathur
56095663
[@simonsan]: https://github.com/simonsan
56105664
[@sjlangley]: https://github.com/sjlangley
56115665
[@sserbin]: https://github.com/sserbin

0 commit comments

Comments
 (0)