Problem/Motivation
I am upgrading PHP71 to PHP74 or PHP80. So I am running PHP_CodeSniffer-3.6.1 and PHPCompatibility-9.3.5 to test for issues.
Steps to reproduce
Install PHP_CodeSniffer-3.6.1 and PHPCompatibility-9.3.5. Run the test.
Proposed resolution
views/includes/admin.inc 119 25 warning Since PHP 7.0, functions inspecting arguments, like func_get_args(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter \$args\" was used
Comments
Comment #2
damienmckennaThis was fixed in #3129270: PHP 7.3 deprecation fix for func_get_args() , the sniffer gave you a false positive.
Comment #3
webservant316 commentedthanks