Skip to content

Commit a80165b

Browse files
Coding Standards: Remove temporary exclusion from the PHPCS ruleset.
Now that the `block-library` package is updated for WP 6.4, this is no longer necessary. Related PR from Gutenberg repository: * [WordPress/gutenberg#53866 #53866 Update WPCS to v3.0, and fix all reported Coding Standards issues] Follow-up to [56695], [56710]. See #59161. git-svn-id: https://develop.svn.wordpress.org/trunk@56741 602fd350-edb4-49c9-b593-d223f7449a82
1 parent f0a1369 commit a80165b

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

phpcs.xml.dist

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -274,12 +274,6 @@
274274
<exclude-pattern>/src/wp-includes/class-wpdb\.php</exclude-pattern>
275275
</rule>
276276

277-
<!-- Temporarily ignore this sniff for block files until the changes from upstream make it into core.
278-
This can be removed once the block-library package is updated for WP 6.4. -->
279-
<rule ref="Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction">
280-
<exclude-pattern>/src/wp-includes/blocks/*</exclude-pattern>
281-
</rule>
282-
283277
<!-- Allow the WP DB Class and related tests for usage of direct database access functions. -->
284278
<rule ref="WordPress.DB.RestrictedFunctions">
285279
<exclude-pattern>/src/wp-includes/class-wpdb\.php</exclude-pattern>

0 commit comments

Comments
 (0)