WordPress / plugin-check

A repository for the new Plugin Check plugin from the WordPress Performance and Plugins Team.
https://wordpress.org/plugins/plugin-check/
GNU General Public License v2.0
198 stars 39 forks source link

Notice: undefined index #349

Closed yakacj closed 6 months ago

yakacj commented 6 months ago

Hello,

I getting admin notice from Plugin Check ( PCP) version 0.2.2 : Notice: Undefined index: argv in …/plugins/plugin-check/inc/class-phpcs-runner.php on line 126.

$_SERVER[‘argv’]; I replaced with isset( $_SERVER[‘argv’] ) ? $_SERVER[‘argv’] : ”;

Now ok.

mukeshpanchal27 commented 6 months ago

Thank you for bringing up the concern. This issue has already been addressed and fixed, as reported in #338, with an associated PR #340. These changes are set to be included in the upcoming release.

cc. @bordoni