mirror of
https://gh.wpcy.net/https://github.com/nlemoine/wp-cli-move.git
synced 2026-06-17 02:07:12 +08:00
- parse URL components individually, the array shape returned by the full parse is typed differently across PHP versions - mark version-dependent ignore patterns with reportUnmatched: false, they only match on some PHP/wp-cli combinations
19 lines
744 B
Text
19 lines
744 B
Text
parameters:
|
|
level: 8
|
|
editorUrl: 'vscode://file/%%file%%:%%line%%'
|
|
paths:
|
|
- command.php
|
|
- src/
|
|
scanFiles:
|
|
- %rootDir%/../../php-stubs/wordpress-stubs/wordpress-stubs.php
|
|
scanDirectories:
|
|
- %rootDir%/../../wp-cli/wp-cli
|
|
ignoreErrors:
|
|
-
|
|
message: '#Parameter \#[0-9]+ \$cmd of function WP_CLI\\Utils\\esc_cmd expects array<string>, string given.#'
|
|
identifier: argument.type
|
|
reportUnmatched: false
|
|
-
|
|
message: '#Parameter \#[0-9]+ \$assoc_args of function WP_CLI\\Utils\\assoc_args_to_str expects array<string, string>, array<string, string\|true> given.#'
|
|
identifier: argument.type
|
|
reportUnmatched: false
|