Skip to content

Commit 5e1bf72

Browse files
Copilotswissspidy
andcommitted
Fix phpcs namespace exclusion for ExpandsIdRanges trait and alignment in reset_password
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
1 parent 3cc06a9 commit 5e1bf72

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

features/post.feature

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,6 @@ Feature: Manage WordPress posts
603603
{"block_version":1}
604604
"""
605605

606-
607606
Scenario: Delete posts using ID ranges
608607
When I run `wp post create --post_title='Post A' --porcelain`
609608
Then STDOUT should be a number

phpcs.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
<rule ref="WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedNamespaceFound">
5757
<exclude-pattern>*/src/WP_CLI/Fetchers/(Comment|Post|Signup|Site|User)\.php$</exclude-pattern>
5858
<exclude-pattern>*/src/WP_CLI/CommandWith(DBObject|Meta|Terms)\.php$</exclude-pattern>
59+
<exclude-pattern>*/src/WP_CLI/ExpandsIdRanges\.php$</exclude-pattern>
5960
</rule>
6061

6162
<rule ref="WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound">

0 commit comments

Comments
 (0)