Skip to content

Commit cf7a49a

Browse files
authored
Merge pull request #49 from infinum/exclude-original-commenting-sniff
Exclude original commenting sniff
2 parents 8ade500 + 0fd6f24 commit cf7a49a

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ The semantic versioning started from version 0.2.1.
1010

1111
_No documentation available about unreleased changes yet._
1212

13+
## [1.4.2](https://github.com/infinum/eightshift-coding-standards/compare/1.4.1...1.4.2) - 2022-03-10
14+
15+
### Fixed
16+
- Exclude the native `WordPress.Security.EscapeOutput.OutputNotEscaped` sniff, because we are overloading it
17+
1318
## [1.4.1](https://github.com/infinum/eightshift-coding-standards/compare/1.4.0...1.4.1) - 2022-03-10
1419

1520
### Fixed

Eightshift/ruleset.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,10 @@
147147
<exclude name="WordPress.PHP.YodaConditions.NotYoda"/>
148148
</rule>
149149

150-
<!-- Security sniffs. -->
151-
<rule ref="WordPress.Security"/>
150+
<!-- Exclude the WP escape output sniff, because we are overloading it. -->
151+
<rule ref="WordPress.Security">
152+
<exclude name="WordPress.Security.EscapeOutput"/>
153+
</rule>
152154

153155
<!-- I18n sniffs. -->
154156
<rule ref="WordPress.Utils.I18nTextDomainFixer"/>

0 commit comments

Comments
 (0)