You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+30-3Lines changed: 30 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,32 @@ This projects adheres to [Keep a CHANGELOG](https://keepachangelog.com/) and use
9
9
10
10
_Nothing yet._
11
11
12
+
## [1.0.2] - 2023-03-28
13
+
14
+
### Changed
15
+
16
+
#### Tokens
17
+
18
+
* The `Collections::arrayOpenTokensBC()`, `Collections::arrayTokensBC()`, `Collections::listOpenTokensBC()`, `Collections::listTokensBC()`, `Collections::shortArrayListOpenTokensBC()`, `Collections::shortArrayTokensBC()` and `Collections::shortListTokensBC()` token arrays will no longer contain the `T_OPEN_SQUARE_BRACKET` and/or the `T_CLOSE_SQUARE_BRACKET` token constants if PHP_CodeSniffer 3.7.2 or higher is used. [#444]
19
+
An upstream bugfix makes it unnecessary to check those tokens for being a short array or short list.
20
+
Sniff which use these token arrays is combination with using the `Arrays`/`Lists` classes, should experience a performance boost on PHPCS 3.7.2+ due to this change.
21
+
22
+
#### Other
23
+
24
+
* Minor documentation improvements.
25
+
* Various small housekeeping and maintenance updates.
26
+
27
+
### Fixed
28
+
29
+
#### Utils
30
+
31
+
* The `Lists::isShortList()` method will now correctly recognize a short list nested in a long list as a short list. [#446]
32
+
Note: this is a parse error in PHP, but the method should still handle this correctly.
@@ -58,7 +84,7 @@ For the full list of features, please see the changelogs of the alpha/rc release
58
84
59
85
#### Other
60
86
61
-
* Various housekeeping and CI maintainance.
87
+
* Various housekeeping and CI maintenance.
62
88
63
89
### Removed
64
90
@@ -259,7 +285,7 @@ Please report any bugs/oversights you encounter!
259
285
* Composer: The package will now identify itself as a static analysis tool. Thanks [@GaryJones]! [#341]
260
286
* Readme/website homepage: the installation instructions have been updated to include information on installing this library and the included [Composer PHPCS plugin] in combination with Composer >= 2.2. [#291], [#292]
261
287
* Various documentation improvements. [#216], [#309], [#394], [#395], [#396], [#398]
262
-
* Various housekeeping and CI maintainance.
288
+
* Various housekeeping and CI maintenance.
263
289
Amongst other things, CI is now run via GitHub Actions ([#239]), the PHPCSUtils native tests now use the [PHPUnit Polyfills] package ([#277]) and the tests are now run against PHP 5.4 - 8.2.
264
290
265
291
### Deprecated
@@ -779,6 +805,7 @@ This initial alpha release contains the following utility classes:
0 commit comments