Skip to content

Commit b4f03f2

Browse files
committed
Add phpcs exclusion for unprefixed code in polyfills
1 parent fc5529e commit b4f03f2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

phpcs.xml.dist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,9 @@
7373
<exclude-pattern>*/utils/behat-tags\.php$</exclude-pattern>
7474
</rule>
7575

76+
<!-- This is a procedural stand-alone file that is adding polyfills when
77+
applicable only. -->
78+
<rule ref="WordPress.NamingConventions.PrefixAllGlobals">
79+
<exclude-pattern>*/features/bootstrap/polyfills\.php$</exclude-pattern>
80+
</rule>
7681
</ruleset>

0 commit comments

Comments
 (0)