Skip to content

Commit

Permalink
Also exclude HTML files from Youwe coding standard (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredden authored May 26, 2023
1 parent efc95a8 commit e187a54
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 2.1.3
### Fixed
- Youwe ruleset will not check .html files any more. See also version 2.1.0.

## 2.1.2
### Changed
- Allow use of stable version of `dealerdirect/phpcodesniffer-composer-installer`
Expand Down
2 changes: 1 addition & 1 deletion src/YouweMagento2/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<exclude name="Squiz.Commenting.FunctionComment.ScalarTypeHintMissing" />
<!-- Magento 2 still does not strict type arguments of functions. This is why this rule is excluded. -->
<exclude name="Squiz.Commenting.FunctionComment.TypeHintMissing" />
<exclude-pattern>*.phtml</exclude-pattern>
<exclude-pattern>*.p?html</exclude-pattern>
</rule>

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

0 comments on commit e187a54

Please sign in to comment.