Magento Coding Standard (PHPCS) report for wika-group/magento2-azure-ad-b2c-sso =============================================================================== Package version: 1.19.0 | Magento: 2.4.9 | Tested: 2026-10-13 24 errors, 45 warnings in 14 files Plugin/Customer/Session.php 21:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Helper/Data.php 106:156 warning Line exceeds 120 characters; contains 156 characters (Generic.Files.LineLength.TooLong) 139:154 warning Line exceeds 120 characters; contains 154 characters (Generic.Files.LineLength.TooLong) 152:17 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 214:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 253:61 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) Helper/Settings.php 35:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 40:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 72:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 84:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 99:132 warning Line exceeds 120 characters; contains 132 characters (Generic.Files.LineLength.TooLong) 118:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/AzureB2cProvider.php 31:133 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 117:40 warning The use of function base64_decode() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 117:146 warning Line exceeds 120 characters; contains 146 characters (Generic.Files.LineLength.TooLong) 135:151 warning Line exceeds 120 characters; contains 151 characters (Generic.Files.LineLength.TooLong) Model/ResourceModel/User.php 13:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/User.php 28:16 warning The use of function intval() is discouraged; use (int) construction() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) Model/Validator/Name.php 19:8 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) Observer/ControllerActionPredispatch.php 7:88 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 8:1 warning Expected 0 spaces before opening brace; 1 found (PSR2.Classes.ClassDeclaration.SpaceBeforeBrace) 26:38 error Direct use of $_GET Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 31:13 error Direct use of $_GET Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 38:9 error Use of die language construct is discouraged. (Magento2.Security.LanguageConstruct.ExitUsage) 40:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Observer/CustomerLogout.php 7:75 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 8:1 warning Expected 0 spaces before opening brace; 1 found (PSR2.Classes.ClassDeclaration.SpaceBeforeBrace) 29:9 error Use of die language construct is discouraged. (Magento2.Security.LanguageConstruct.ExitUsage) 31:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) etc/frontend/routes.xml 3:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 4:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 5:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 6:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 7:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) etc/acl.xml 3:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 4:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 5:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 6:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 7:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 8:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 9:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 10:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 11:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 12:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 13:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 14:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 15:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) Controller/Login/Callback.php 34:39 error Direct use of $_GET Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 36:17 error Use of echo language construct is discouraged. (Magento2.Security.LanguageConstruct.DirectOutput) 37:17 error Use of echo language construct is discouraged. (Magento2.Security.LanguageConstruct.DirectOutput) 37:87 error Direct use of $_GET Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 38:59 error Direct use of $_GET Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 39:21 error Use of echo language construct is discouraged. (Magento2.Security.LanguageConstruct.DirectOutput) 39:97 error Direct use of $_GET Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 39:133 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 41:47 error Direct use of $_GET Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 42:21 error Use of echo language construct is discouraged. (Magento2.Security.LanguageConstruct.DirectOutput) 42:91 error Direct use of $_GET Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 44:17 error Use of exit language construct is discouraged. (Magento2.Security.LanguageConstruct.ExitUsage) 51:39 error Direct use of $_GET Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 56:67 error Direct use of $_GET Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) Controller/Login/Authorize.php 22:41 error Direct use of $_GET Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 23:24 error Direct use of $_GET Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 41:44 error Direct use of $_GET Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 42:38 error Direct use of $_GET Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) view/frontend/templates/button.phtml 11:1 warning Line indented incorrectly; expected 4 spaces, found 0 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 12:135 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 13:55 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 14:129 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped)