Skip to content

Commit

Permalink
Merge pull request #74 from PHPCSStandards/feature/release-version-1.1.1
Browse files Browse the repository at this point in the history
Readme/Changelog: update for release of v 1.1.1
  • Loading branch information
jrfnl authored Apr 28, 2022
2 parents 6105e52 + b61f5e5 commit 3f671a6
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 27 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ This projects adheres to [Keep a CHANGELOG](http://keepachangelog.com/) and uses
_Nothing yet._


## [1.1.1] - 2022-04-27

### Changed
* `PHPCSDebug.Debug.TokenList`: readability improvement (alignment of content length).
* All functionality is now also tested against PHP 8.1.
* Update to the installation instructions to allow for Composer 2.2+.
* Minor other documentation improvements.
* The documentation of the project will now also be available at <https://phpcsstandards.github.io/PHPCSDevTools/>.
* Miscellaneous updates to the development environment and CI scripts.


## [1.1.0] - 2020-12-20

### Added
Expand Down Expand Up @@ -38,6 +49,7 @@ Initial release containing:


[Unreleased]: https://github.com/PHPCSStandards/PHPCSDevTools/compare/stable...HEAD
[1.1.1]: https://github.com/PHPCSStandards/PHPCSDevTools/compare/1.1.0...1.1.1
[1.1.0]: https://github.com/PHPCSStandards/PHPCSDevTools/compare/1.0.1...1.1.0
[1.0.1]: https://github.com/PHPCSStandards/PHPCSDevTools/compare/1.0.0...1.0.1

Expand Down
52 changes: 26 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,32 +145,32 @@ The output will look something along the lines of:
```
Ptr | Ln | Col | Cond | ( #) | Token Type | [len]: Content
-------------------------------------------------------------------------
0 | L1 | C 1 | CC 0 | ( 0) | T_OPEN_TAG | [5]: <?php
1 | L2 | C 1 | CC 0 | ( 0) | T_WHITESPACE | [0]:
2 | L3 | C 1 | CC 0 | ( 0) | T_COMMENT | [32]: // Boolean not operator: All OK.
3 | L4 | C 1 | CC 0 | ( 0) | T_IF | [2]: if
4 | L4 | C 3 | CC 0 | ( 0) | T_WHITESPACE | [1]:
5 | L4 | C 4 | CC 0 | ( 0) | T_OPEN_PARENTHESIS | [1]: (
6 | L4 | C 5 | CC 0 | ( 1) | T_WHITESPACE | [1]:
7 | L4 | C 6 | CC 0 | ( 1) | T_CONSTANT_ENCAPSED_STRING | [4]: 'bb'
8 | L4 | C 10 | CC 0 | ( 1) | T_WHITESPACE | [1]:
9 | L4 | C 11 | CC 0 | ( 1) | T_IS_NOT_IDENTICAL | [3]: !==
10 | L4 | C 14 | CC 0 | ( 1) | T_WHITESPACE | [1]:
11 | L4 | C 15 | CC 0 | ( 1) | T_CONSTANT_ENCAPSED_STRING | [4]: 'bb'
12 | L4 | C 19 | CC 0 | ( 1) | T_WHITESPACE | [1]:
13 | L4 | C 20 | CC 0 | ( 0) | T_CLOSE_PARENTHESIS | [1]: )
14 | L4 | C 21 | CC 0 | ( 0) | T_WHITESPACE | [1]:
15 | L4 | C 22 | CC 0 | ( 0) | T_OPEN_CURLY_BRACKET | [1]: {
16 | L4 | C 23 | CC 0 | ( 0) | T_WHITESPACE | [0]:
17 | L5 | C 1 | CC 0 | ( 0) | T_WHITESPACE | [1]: \t
18 | L5 | C 2 | CC 0 | ( 0) | T_IF | [2]: if
19 | L5 | C 4 | CC 0 | ( 0) | T_WHITESPACE | [1]:
20 | L5 | C 5 | CC 0 | ( 0) | T_OPEN_PARENTHESIS | [1]: (
21 | L5 | C 6 | CC 0 | ( 0) | T_WHITESPACE | [0]:
0 | L1 | C 1 | CC 0 | ( 0) | T_OPEN_TAG | [ 5]: <?php
1 | L2 | C 1 | CC 0 | ( 0) | T_WHITESPACE | [ 0]:
2 | L3 | C 1 | CC 0 | ( 0) | T_COMMENT | [ 32]: // Boolean not operator: All OK.
3 | L4 | C 1 | CC 0 | ( 0) | T_IF | [ 2]: if
4 | L4 | C 3 | CC 0 | ( 0) | T_WHITESPACE | [ 1]:
5 | L4 | C 4 | CC 0 | ( 0) | T_OPEN_PARENTHESIS | [ 1]: (
6 | L4 | C 5 | CC 0 | ( 1) | T_WHITESPACE | [ 1]:
7 | L4 | C 6 | CC 0 | ( 1) | T_CONSTANT_ENCAPSED_STRING | [ 4]: 'bb'
8 | L4 | C 10 | CC 0 | ( 1) | T_WHITESPACE | [ 1]:
9 | L4 | C 11 | CC 0 | ( 1) | T_IS_NOT_IDENTICAL | [ 3]: !==
10 | L4 | C 14 | CC 0 | ( 1) | T_WHITESPACE | [ 1]:
11 | L4 | C 15 | CC 0 | ( 1) | T_CONSTANT_ENCAPSED_STRING | [ 4]: 'bb'
12 | L4 | C 19 | CC 0 | ( 1) | T_WHITESPACE | [ 1]:
13 | L4 | C 20 | CC 0 | ( 0) | T_CLOSE_PARENTHESIS | [ 1]: )
14 | L4 | C 21 | CC 0 | ( 0) | T_WHITESPACE | [ 1]:
15 | L4 | C 22 | CC 0 | ( 0) | T_OPEN_CURLY_BRACKET | [ 1]: {
16 | L4 | C 23 | CC 0 | ( 0) | T_WHITESPACE | [ 0]:
17 | L5 | C 1 | CC 0 | ( 0) | T_WHITESPACE | [ 1]: \t
18 | L5 | C 2 | CC 0 | ( 0) | T_IF | [ 2]: if
19 | L5 | C 4 | CC 0 | ( 0) | T_WHITESPACE | [ 1]:
20 | L5 | C 5 | CC 0 | ( 0) | T_OPEN_PARENTHESIS | [ 1]: (
21 | L5 | C 6 | CC 0 | ( 0) | T_WHITESPACE | [ 0]:
```

PHPCS itself can also display similar information using the `-vv` or `-vvv` verbosity flags, however, when using those, you will receive a *lot* more information than just the token list and, while useful for debugging PHPCS itself, the additional information is mostly just noise when developing a sniff.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.0
1.1.1

0 comments on commit 3f671a6

Please sign in to comment.