PHP 8 Compatibility issue

Created on 19 April 2023, over 1 year ago

Problem/Motivation

FILE: .../web/sites/all/modules/contrib/apply_for_role/views/handlers/apply_for_role_views_handler_field_application_link_delete.inc
---------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------
 41 | ERROR | Functions can not have multiple parameters with the same name since PHP 7.0
---------------------------------------------------------------------------------------------------------------------------------


FILE: ...web/sites/all/modules/contrib/apply_for_role/views/handlers/apply_for_role_views_handler_field_application_link_approve.inc
---------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------
 47 | ERROR | Functions can not have multiple parameters with the same name since PHP 7.0
---------------------------------------------------------------------------------------------------------------------------------


FILE: ...ng/web/sites/all/modules/contrib/apply_for_role/views/handlers/apply_for_role_views_handler_field_application_link_deny.inc
---------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------
 47 | ERROR | Functions can not have multiple parameters with the same name since PHP 7.0
---------------------------------------------------------------------------------------------------------------------------------

Steps to reproduce

phpcs -p . --standard=PHPCompatibility --extensions=module/php,inc/php,install/php,php/php --runtime-set testVersion 8.1

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇮🇳India harivansh

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024