Run following PHPCS command

$ phpcs --standard=PHPCompatibility --extensions=php,module,inc,install,test,profile,theme --runtime-set testVersion 7.2 source/deploy/modules/contrib/fb/

FILE: source\deploy\modules\contrib\fb\fb.module
---------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------
2023 | WARNING | Since PHP 7.0, functions inspecting arguments, like debug_backtrace(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter "$event_type" was used, and possibly changed (by reference), on line 1997.

FILE: D:source\deploy\modules\contrib\fb\fb_devel.module
---------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
---------------------------------------------------------------------------
869 | WARNING | Since PHP 7.0, functions inspecting arguments, like debug_backtrace(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter "$fb" was used, and possibly changed (by reference), on line 868.
876 | 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 "$fb" was used, and possibly changed (by reference), on line 868.

Any plan to resolve this?

Comments

shital.mahajan created an issue.