From 6682757af64a77471eba59a639d3e169ba3977ee Mon Sep 17 00:00:00 2001 From: Graham Wharton <30697781+gwharton@users.noreply.github.com> Date: Thu, 29 Aug 2024 16:10:14 +0100 Subject: [PATCH 1/4] Fixed include-patterns for Windows --- Magento2/ruleset.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Magento2/ruleset.xml b/Magento2/ruleset.xml index 4ac058c0..59588fb5 100644 --- a/Magento2/ruleset.xml +++ b/Magento2/ruleset.xml @@ -307,12 +307,12 @@ warning - *\/module.xml$ + */module.xml$ 8 warning - *\/di.xml$ + */di.xml$ 8 warning @@ -322,7 +322,7 @@ *\.xml$ - *\/widget.xml$ + */widget.xml$ 8 warning From e4f12a799c4b805dafb5b61425851abbead59f4b Mon Sep 17 00:00:00 2001 From: Graham Wharton <30697781+gwharton@users.noreply.github.com> Date: Thu, 29 Aug 2024 16:13:26 +0100 Subject: [PATCH 2/4] Fixed include-patterns for Windows --- Magento2/ruleset.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Magento2/ruleset.xml b/Magento2/ruleset.xml index 59588fb5..d55e4316 100644 --- a/Magento2/ruleset.xml +++ b/Magento2/ruleset.xml @@ -212,7 +212,7 @@ *\.xml$ - *\/.phtml$ + *\.phtml$ 9 warning *\.xml$ From f258e53d7ccc80a99f952b87329e731e1815242e Mon Sep 17 00:00:00 2001 From: Graham Wharton <30697781+gwharton@users.noreply.github.com> Date: Thu, 29 Aug 2024 16:21:20 +0100 Subject: [PATCH 3/4] Fixed include-patterns for Windows --- Magento2/ruleset.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Magento2/ruleset.xml b/Magento2/ruleset.xml index d55e4316..741da2e6 100644 --- a/Magento2/ruleset.xml +++ b/Magento2/ruleset.xml @@ -165,10 +165,10 @@ *\.js$ - *\/etc/*.xml$ - *\/etc/wsdl.xml$ - *\/etc/wsdl2.xml$ - *\/etc/wsi.xml$ + */etc/*.xml$ + */etc/wsdl.xml$ + */etc/wsdl2.xml$ + */etc/wsi.xml$ 10 error From 1b283ebfc617808c59c17e18de4d7e1dc7c10e11 Mon Sep 17 00:00:00 2001 From: Graham Wharton <30697781+gwharton@users.noreply.github.com> Date: Thu, 29 Aug 2024 16:42:29 +0100 Subject: [PATCH 4/4] Fixed include-patterns for Windows --- Magento2/ruleset.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Magento2/ruleset.xml b/Magento2/ruleset.xml index 741da2e6..e4980259 100644 --- a/Magento2/ruleset.xml +++ b/Magento2/ruleset.xml @@ -156,7 +156,7 @@ 10 error - */view/(adminhtml|frontend|base)/*\/.xml + */view/(adminhtml|frontend|base)/*/*.xml 10