Add InternalInjection sniff exceptions for blocks
This commit is contained in:
parent
35a68e212c
commit
8292ff1cca
|
@ -113,12 +113,16 @@
|
||||||
<rule ref="WooCommerce.Functions.InternalInjectionMethod.MissingFinal">
|
<rule ref="WooCommerce.Functions.InternalInjectionMethod.MissingFinal">
|
||||||
<exclude-pattern>src/Internal/Admin/</exclude-pattern>
|
<exclude-pattern>src/Internal/Admin/</exclude-pattern>
|
||||||
<exclude-pattern>src/Admin/</exclude-pattern>
|
<exclude-pattern>src/Admin/</exclude-pattern>
|
||||||
|
<exclude-pattern>src/Blocks/</exclude-pattern>
|
||||||
|
<exclude-pattern>src/StoreApi/</exclude-pattern>
|
||||||
</rule>
|
</rule>
|
||||||
|
|
||||||
<!-- Temporary -->
|
<!-- Temporary -->
|
||||||
<rule ref="WooCommerce.Functions.InternalInjectionMethod.MissingInternalTag">
|
<rule ref="WooCommerce.Functions.InternalInjectionMethod.MissingInternalTag">
|
||||||
<exclude-pattern>src/Internal/Admin/</exclude-pattern>
|
<exclude-pattern>src/Internal/Admin/</exclude-pattern>
|
||||||
<exclude-pattern>src/Admin/</exclude-pattern>
|
<exclude-pattern>src/Admin/</exclude-pattern>
|
||||||
|
<exclude-pattern>src/Blocks/</exclude-pattern>
|
||||||
|
<exclude-pattern>src/StoreApi/</exclude-pattern>
|
||||||
</rule>
|
</rule>
|
||||||
|
|
||||||
<!-- Temporary -->
|
<!-- Temporary -->
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: minor
|
||||||
|
Type: update
|
||||||
|
|
||||||
|
Add InternalInjection sniff exceptions for blocks
|
Loading…
Reference in New Issue