Running Copilot coding agent #19
Annotations
9 errors
|
copilot:
src/WP_CLI/CommandWithUpgrade.php#L228
is_wp_error(WP_Error) will always evaluate to true.
|
|
copilot:
src/WP_CLI/CommandWithUpgrade.php#L382
Parameter #1 $filename of function unlink expects string, Requests_Response|WpOrg\Requests\Response given.
|
|
copilot:
src/WP_CLI/CommandWithUpgrade.php#L381
Parameter #1 $from of function copy expects string, Requests_Response|WpOrg\Requests\Response given.
|
|
copilot:
src/WP_CLI/CommandWithUpgrade.php#L368
Parameter #1 $filename of function unlink expects string, Requests_Response|WpOrg\Requests\Response given.
|
|
copilot:
src/WP_CLI/CommandWithUpgrade.php#L359
Parameter #1 $path of function WP_CLI\Utils\basename expects string, string|false|null given.
|
|
copilot:
src/WP_CLI/CommandWithUpgrade.php#L355
Parameter #1 $plugin_file of function get_plugin_data expects string, Requests_Response|WpOrg\Requests\Response given.
|
|
copilot:
src/WP_CLI/CommandWithUpgrade.php#L349
is_wp_error(Requests_Response|WpOrg\Requests\Response) will always evaluate to false.
|
|
copilot:
src/WP_CLI/CommandWithUpgrade.php#L227
is_wp_error(WP_Error) will always evaluate to true.
|
|
copilot:
src/WP_CLI/CommandWithUpgrade.php#L218
Parameter #1 $path of function pathinfo expects string, string|false|null given.
|