Skip to content

Commit f2fcca4

Browse files
authored
Merge pull request #42 from PHPCSStandards/feature/prepare-for-1.0.1-release
Readme/Changelog: update for release of v 1.0.1
2 parents 04cacfd + d00dca5 commit f2fcca4

File tree

2 files changed

+17
-7
lines changed

2 files changed

+17
-7
lines changed

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,22 @@ This projects adheres to [Keep a CHANGELOG](http://keepachangelog.com/) and uses
1010
_Nothing yet._
1111

1212

13+
## [1.0.1] - 2020-06-28
14+
15+
### Changed
16+
* The `master` branch has been renamed to `stable`.
17+
* The version requirements for the [Dealerdirect Composer PHPCS plugin] have been widened to allow installation of releases from the `0.7.x` range, which brings compatibility with Composer 2.0.
18+
* Miscellaneous updates to the development environment and CI scripts.
19+
20+
1321
## 1.0.0 - 2020-02-12
1422

1523
Initial release containing:
1624
* Feature completeness checking tool for PHPCS sniffs.
1725
* A `PHPCSDebug` standard to help debugging sniffs.
1826

1927

20-
[Unreleased]: https://github.com/PHPCSStandards/PHPCSDevTools/compare/1.0.0...HEAD
28+
[Unreleased]: https://github.com/PHPCSStandards/PHPCSDevTools/compare/master...HEAD
29+
[1.0.1]: https://github.com/PHPCSStandards/PHPCSDevTools/compare/1.0.0...1.0.1
2130

31+
[Dealerdirect Composer PHPCS plugin]: https://github.com/Dealerdirect/phpcodesniffer-composer-installer/

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ composer require --dev phpcsstandards/phpcsdevtools:^1.0
4343

4444
If you work on several different sniff repos, you may want to install this toolset globally:
4545
```bash
46-
composer global require phpcsstandards/phpcsdevtools:^1.0
46+
composer global require --dev phpcsstandards/phpcsdevtools:^1.0
4747
```
4848

4949
Composer will automatically install dependencies and register the PHPCSDebug standard with PHP_CodeSniffer using the [DealerDirect Composer PHPCS plugin](https://github.com/Dealerdirect/phpcodesniffer-composer-installer/).
@@ -59,7 +59,7 @@ Composer will automatically install dependencies and register the PHPCSDebug sta
5959
```bash
6060
phpcs --config-set installed_paths /path/to/PHPCSDevTools
6161
```
62-
**Warning**: :warning: The `installed_paths` command overwrites any previously set `installed_paths`. If you have previously set `installed_paths` for other external standards, run `phpcs --config-show` first and then run the `installed_paths` command with all the paths you need separated by comma's, i.e.:
62+
:warning: **Warning**: The `installed_paths` command overwrites any previously set `installed_paths`. If you have previously set `installed_paths` for other external standards, run `phpcs --config-show` first and then run the `installed_paths` command with all the paths you need separated by comma's, i.e.:
6363
```bash
6464
phpcs --config-set installed_paths /path/1,/path/2,/path/3
6565
```
@@ -70,9 +70,9 @@ Features
7070

7171
### Checking whether all sniffs in a PHPCS standard are feature complete
7272

73-
You can now easily check whether each and every sniff in your standard is accompanied by a documentation XML file (warning) as well as unit test files (error).
73+
You can now check whether each and every sniff in your standard is accompanied by a documentation XML file (warning) as well as unit test files (error).
7474

75-
To use the tool, run it from the root of the your standards repo like so:
75+
To use the tool, run it from the root of your standards repo like so:
7676
```bash
7777
# When installed as a project dependency:
7878
vendor/bin/phpcs-check-feature-completeness
@@ -122,7 +122,7 @@ Once this project is installed, you will see a new `PHPCSDebug` ruleset in the l
122122
For now, this standard only contains one sniff: `PHPCSDebug.Debug.TokenList`.
123123
This sniff will display compact, but detailed information about the tokens found in a (test case) file.
124124

125-
This sniff is compatible with PHPCS 3.0+.
125+
This sniff is compatible with PHPCS 3.0.2+.
126126

127127
Typical usage:
128128
* Set up a test case file for a new sniff you intend to write.
@@ -172,7 +172,7 @@ PHPCS itself can also display similar information using the `-vv` or `-vvv` verb
172172

173173
Contributing
174174
-------
175-
Contributions to this project are welcome. Just clone the repo, branch off from `develop`, make your changes, commit them and send in a pull request.
175+
Contributions to this project are welcome. Clone this repository, branch off from `develop`, make your changes, commit them and send in a pull request.
176176

177177
If unsure whether the changes you are proposing would be welcome, open an issue first to discuss your proposal.
178178

0 commit comments

Comments
 (0)