Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295515

PHPCS Warning - PHP7.2 Compatibility issue in /includes/form.inc

$
0
0

Getting following issue after PHP upgradation to 7.2 in phpcs

"FILE: docroot/includes/form.inc
------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------
725 | 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 ""$form_state"" was used, and possibly changed (by reference), on line 724.
------------------------------------------------------------------------------------------------------------------------------------------------------"


Viewing all articles
Browse latest Browse all 295515

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>