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:
* [https://github.com/WordPress/gutenberg/pull/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
This commit is contained in:
Sergey Biryukov 2023-09-28 22:30:20 +00:00
parent f0a1369441
commit a80165b78f

View File

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