Magento Coding Standard (PHPCS) report for wika-group/magento2-azure-ad-b2c-sso =============================================================================== Package version: 1.16.0 | Magento: 2.4.9 | Tested: 2026-06-12 24 errors, 112 warnings in 16 files Plugin/Customer/Session.php 11:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 16:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 21:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Helper/Data.php 13:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 31:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 36:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 41:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 46:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 51:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 95:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 106:156 warning Line exceeds 120 characters; contains 156 characters (Generic.Files.LineLength.TooLong) 113:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 137:154 warning Line exceeds 120 characters; contains 154 characters (Generic.Files.LineLength.TooLong) 143:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 150:17 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 153:134 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 180:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 205:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 207:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 210:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 215:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 233:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Helper/Settings.php 11:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 18:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 23:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 28:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 33:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 35:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 38:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 40:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 43:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 48:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 55:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 60:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 65:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 70:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 72:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 75:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 82:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 84:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 87:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 92:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 99:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 104:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 109:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 113:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/AzureB2cProvider.php 13:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 28:9 warning No blank lines are allowed before short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 29:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 31:133 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 34:9 warning No blank lines are allowed before short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 35:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 44:9 warning No blank lines are allowed before short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 45:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 90:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 101:8 warning Short description must start with a capital letter (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 110:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 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 9:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 13:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/ResourceModel/User/Collection.php 9:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 11:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/User.php 12:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 17:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 26:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 28:16 warning The use of function intval() is discouraged; use (int) construction() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 31:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 36:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 41:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Config/Source/Group.php 7:20 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 9:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 14:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 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) 9:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 16:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 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) 9:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 16:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 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 11:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 21:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 33:39 error Direct use of $_GET Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 35:17 error Use of echo language construct is discouraged. (Magento2.Security.LanguageConstruct.DirectOutput) 36:17 error Use of echo language construct is discouraged. (Magento2.Security.LanguageConstruct.DirectOutput) 36:51 error Direct use of $_GET Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 37:59 error Direct use of $_GET Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 38:21 error Use of echo language construct is discouraged. (Magento2.Security.LanguageConstruct.DirectOutput) 38:61 error Direct use of $_GET Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 40:47 error Direct use of $_GET Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 41:21 error Use of echo language construct is discouraged. (Magento2.Security.LanguageConstruct.DirectOutput) 41:55 error Direct use of $_GET Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 43:17 error Use of exit language construct is discouraged. (Magento2.Security.LanguageConstruct.ExitUsage) 50:39 error Direct use of $_GET Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 55:67 error Direct use of $_GET Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 59:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Controller/Login/Authorize.php 9:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 19:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 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) 12:151 warning Line exceeds 120 characters; contains 152 characters (Generic.Files.LineLength.TooLong) 13:55 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 14:129 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 14:142 warning Line exceeds 120 characters; contains 142 characters (Generic.Files.LineLength.TooLong) Block/OAuth.php 11:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 19:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)