$ phpcs --standard=PHPCompatibility --extensions=php,module,inc,install,test,profile,theme,css --runtime-set testVersion /sites/default/modules/contrib/flag
FILE: ...es\default\modules\contrib\flag\tests\flag_hook_test\flag_hook_test.mod ule
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
--------------------------------------------------------------------------------
71 | 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 "$type" was used, and possibly changed (by
| | reference), on line 70.
80 | 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 "$type" was used, and possibly changed (by
| | reference), on line 79.
89 | 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 "$type" was used, and possibly changed (by
| | reference), on line 88.
98 | 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 "$type" was used, and possibly changed (by
| | reference), on line 97.
--------------------------------------------------------------------------------