Add InternalInjection sniff exceptions for blocks

This commit is contained in:
Ron Rennick 2023-12-14 08:55:34 -04:00
parent 35a68e212c
commit 8292ff1cca
2 changed files with 8 additions and 0 deletions

View File

@ -113,12 +113,16 @@
<rule ref="WooCommerce.Functions.InternalInjectionMethod.MissingFinal">
<exclude-pattern>src/Internal/Admin/</exclude-pattern>
<exclude-pattern>src/Admin/</exclude-pattern>
<exclude-pattern>src/Blocks/</exclude-pattern>
<exclude-pattern>src/StoreApi/</exclude-pattern>
</rule>
<!-- Temporary -->
<rule ref="WooCommerce.Functions.InternalInjectionMethod.MissingInternalTag">
<exclude-pattern>src/Internal/Admin/</exclude-pattern>
<exclude-pattern>src/Admin/</exclude-pattern>
<exclude-pattern>src/Blocks/</exclude-pattern>
<exclude-pattern>src/StoreApi/</exclude-pattern>
</rule>
<!-- Temporary -->

View File

@ -0,0 +1,4 @@
Significance: minor
Type: update
Add InternalInjection sniff exceptions for blocks