Skip to content

Commit e187a54

Browse files
author
Dan Wallis
authored
Also exclude HTML files from Youwe coding standard (#10)
1 parent efc95a8 commit e187a54

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## 2.1.3
8+
### Fixed
9+
- Youwe ruleset will not check .html files any more. See also version 2.1.0.
10+
711
## 2.1.2
812
### Changed
913
- Allow use of stable version of `dealerdirect/phpcodesniffer-composer-installer`

src/YouweMagento2/ruleset.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<exclude name="Squiz.Commenting.FunctionComment.ScalarTypeHintMissing" />
2727
<!-- Magento 2 still does not strict type arguments of functions. This is why this rule is excluded. -->
2828
<exclude name="Squiz.Commenting.FunctionComment.TypeHintMissing" />
29-
<exclude-pattern>*.phtml</exclude-pattern>
29+
<exclude-pattern>*.p?html</exclude-pattern>
3030
</rule>
3131

3232
<!-- Import most rules from official Magento2 coding standard -->

0 commit comments

Comments
 (0)