Skip to content

Also exclude HTML files from Youwe coding standard ruleset #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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