$ 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.
--------------------------------------------------------------------------------
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | flag-PHPCompatiblity-3067469-fixed.png | 467.81 KB | Deepmala Barkhane |
| #3 | 3067469_php_7.2_issues.patch | 1.87 KB | devdesagar |
Issue fork flag-3067469
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
Comment #2
devdesagar commentedComment #3
devdesagar commentedHi Team,
This patch is used to remove this warnings.
Regards,
Sagar.
Comment #4
joseph.olstadComment #5
Deepmala Barkhane commentedpatch #3 works for me.Please find the screenshot for the same.
Comment #6
gisleDeepmala 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.
Comment #7
joseph.olstadWould 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.