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
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,23 @@ This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a
8
8
9
9
_No documentation available about unreleased changes as of yet._
10
10
11
+
## [3.0.1] - 2023-09-13
12
+
13
+
### Added
14
+
15
+
- In WordPressCS 3.0.0, the functionality of the `WordPress.Security.EscapeOutput` sniff was updated to report unescaped message parameters passed to exceptions created in `throw` statements. This specific violation now has a separate error code: `ExceptionNotEscaped`. This will allow users to ignore or exclude that specific error code. Props [@anomiex].
16
+
The error code(s) for other escaping issues flagged by the sniff remain unchanged.
17
+
18
+
### Changed
19
+
20
+
- Updated the CI workflow to test the example ruleset for issues.
21
+
- Funding files and updates in the Readme about funding the project.
22
+
23
+
### Fixed
24
+
25
+
- Fixed a sniff name in the `phpcs.xml.dist.sample` file (case-sensitive sniff name). Props [@dawidurbanski].
Copy file name to clipboardExpand all lines: README.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,13 +39,17 @@
39
39
*[Fixing errors or ignoring them](#fixing-errors-or-ignoring-them)
40
40
+[Tools shipped with WordPressCS](#tools-shipped-with-wordpresscs)
41
41
*[Contributing](#contributing)
42
+
*[Funding](#funding)
42
43
*[License](#license)
43
44
45
+
---
44
46
45
47
## Introduction
46
48
47
49
This project is a collection of [PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) rules (sniffs) to validate code developed for WordPress. It ensures code quality and adherence to coding conventions, especially the official [WordPress Coding Standards](https://make.wordpress.org/core/handbook/best-practices/coding-standards/).
48
50
51
+
This project needs funding. [Find out how you can help](#funding).
52
+
49
53
## Minimum Requirements
50
54
51
55
The WordPress Coding Standards package requires:
@@ -62,7 +66,7 @@ For the best results, it is recommended to also ensure the following additional
62
66
63
67
## Installation
64
68
65
-
As of WordPressCS 3.0.0, installation via Composer using the below instructions is the only supported type of installation.
69
+
As of [WordPressCS 3.0.0](https://make.wordpress.org/core/2023/08/21/wordpresscs-3-0-0-is-now-available/), installation via Composer using the below instructions is the only supported type of installation.
66
70
67
71
[Composer](https://getcomposer.org/) will automatically install the project dependencies and register the rulesets from WordPressCS and other external standards with PHP_CodeSniffer using the [Composer PHPCS plugin](https://github.com/PHPCSStandards/composer-installer).
68
72
@@ -248,6 +252,10 @@ At this moment, WordPressCS offer the following tools:
248
252
249
253
See [CONTRIBUTING](.github/CONTRIBUTING.md), including information about [unit testing](.github/CONTRIBUTING.md#unit-testing) the standard.
250
254
255
+
## Funding
256
+
257
+
If you want to sponsor the work on WordPressCS, you can do so by donating to the [WP PHP Open Collective](https://opencollective.com//thewpcc/contribute/wp-php-63406).
0 commit comments