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
195 stars 39 forks source link

::setValue() error not enough passed parameters for PHP 8.3 #458

Closed afragen closed 2 months ago

afragen commented 2 months ago

When using PHP 8.3 I see an error in Abstract_PHP_CodeSniffer_Check::reset_php_codesniffer_config() in line 201. The setValue command for the Reflection requires a class/object and a value as parameters. PHP 8.3 flags this as an error.