Skip to content

Commit 35cab45

Browse files
swissspidyCopilot
andauthored
Add @skipglobalargcheck for conflicting arguments (#213)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 94592b8 commit 35cab45

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"authors": [],
88
"require": {
99
"php": ">=7.2.24",
10-
"wp-cli/wp-cli": "^2.12"
10+
"wp-cli/wp-cli": "^2.13"
1111
},
1212
"require-dev": {
1313
"wp-cli/wp-cli-tests": "^5"

src/Command.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ class Command {
127127
* | total (7) | 1.0335s | 77.42% |
128128
* +--------------------------+---------+-------------+
129129
*
130+
* @skipglobalargcheck
130131
* @when before_wp_load
131132
*/
132133
public function stage( $args, $assoc_args ) {
@@ -254,6 +255,7 @@ public function stage( $args, $assoc_args ) {
254255
* | total (7) | 8 | 0 |
255256
* +--------------------------------+------------+--------------+
256257
*
258+
* @skipglobalargcheck
257259
* @when before_wp_load
258260
*/
259261
public function hook( $args, $assoc_args ) {

0 commit comments

Comments
 (0)