FILE: project/app/modules/custom/i18n_sso/i18n_sso.module
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
14 | ERROR | Unnecessarily gendered language in a comment
----------------------------------------------------------------------

Comments

Grimreaper created an issue. See original summary.

grimreaper’s picture

Title: Fix coding standards » Fix coding standards and PHPMD

FILE: /project/app/modules/custom/i18n_sso/i18n_sso.install
-----------------------------------------------------------
12 | VIOLATION | Avoid using undefined variables such as '$schema' which will lead to PHP notices.
62 | VIOLATION | Avoid using undefined variables such as '$schema' which will lead to PHP notices.

FILE: /project/app/modules/custom/i18n_sso/src/Controller/TokenController.php
-----------------------------------------------------------------------------
62 | VIOLATION | Missing class import via use statement (line '62', column '18').
79 | VIOLATION | Missing class import via use statement (line '79', column '20').
107 | VIOLATION | Avoid using undefined variables such as '$data' which will lead to PHP notices.
108 | VIOLATION | Avoid using undefined variables such as '$data' which will lead to PHP notices.
109 | VIOLATION | Avoid using undefined variables such as '$data' which will lead to PHP notices.

FILE: /project/app/modules/custom/i18n_sso/src/EventSubscriber/SsoAllowOrigin.php
---------------------------------------------------------------------------------
59 | VIOLATION | Avoid using undefined variables such as '$events' which will lead to PHP notices.
60 | VIOLATION | Avoid using undefined variables such as '$events' which will lead to PHP notices.

FILE: /project/app/modules/custom/i18n_sso/src/Service/Token.php
----------------------------------------------------------------
51 | VIOLATION | getToken accesses the super-global variable $_SERVER.
74 | VIOLATION | createToken accesses the super-global variable $_SERVER.
74 | VIOLATION | createToken accesses the super-global variable $_SERVER.
100 | VIOLATION | getUserId accesses the super-global variable $_SERVER.
149 | VIOLATION | deleteExpiredTokens accesses the super-global variable $_SERVER.

  • Grimreaper authored 9d69ebb on 8.x-1.x
    Issue #3138181 by Grimreaper: Fix coding standards and PHPMD
    
grimreaper’s picture

Assigned: grimreaper » Unassigned
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.