$ 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.
--------------------------------------------------------------------------------

Issue fork flag-3067469

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

devdesagar created an issue. See original summary.

devdesagar’s picture

Issue summary: View changes
devdesagar’s picture

StatusFileSize
new1.87 KB

Hi Team,

This patch is used to remove this warnings.
Regards,
Sagar.

joseph.olstad’s picture

Status: Active » Reviewed & tested by the community
Deepmala Barkhane’s picture

Assigned: Unassigned » Deepmala Barkhane
StatusFileSize
new467.81 KB

patch #3 works for me.Please find the screenshot for the same.

gisle’s picture

Assigned: Deepmala Barkhane » Unassigned

Deepmala Barkhane, why did you assign yourself to this issue? What do you plan to do?

AFAIK, there is nothing you can do here, so that move made no sense whatsoever. I've unassigned you.

Please read this page: Issue Queue Etiquette. Pay attention to #7.

joseph.olstad’s picture

Would seem logical for drupal.org to upgrade to a higher performance version of PHP soon. This appears to be a blocker so perhaps after 4 + years of RTBC this could be committed.