From da6f8be90f416d4cca7ceb744b9f0195570bc68b Mon Sep 17 00:00:00 2001 From: Dan Wallis Date: Tue, 30 Apr 2024 14:24:30 +0100 Subject: [PATCH] Avoid breaking XML files --- CHANGELOG.md | 6 +++++- src/YouweMagento2/ruleset.xml | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9490a98..347c448 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,12 @@ 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.2.1 +### Fixed +- Avoid breaking XML files by excluding `PSR12.Operators.OperatorSpacing` from running there. + ## 2.2.0 -## Changed +### Changed - Apply more rules to .html and .phtml files. In previous updates (see pull requests [#5] and [#10]), we excluded these files very widely; this change makes the exclusion more specific and intentional. [#5]: https://github.com/YouweGit/coding-standard-magento2/pull/5 diff --git a/src/YouweMagento2/ruleset.xml b/src/YouweMagento2/ruleset.xml index 498872a..aa29d92 100644 --- a/src/YouweMagento2/ruleset.xml +++ b/src/YouweMagento2/ruleset.xml @@ -73,4 +73,6 @@ *.(x|p?ht)ml$ *.(x|p?ht)ml$ *.(x|p?ht)ml$ + + *.xml$