Magento Coding Standard (PHPCS) report for warleyelias/customer-login ===================================================================== Package version: 1.1.1 | Magento: 2.4.9 | Tested: 2026-06-02 1 error, 70 warnings in 7 files Plugin/Customer/Model/AuthenticationPlugin.php 19:28 warning Opening brace of a class must be on the line after the definition (PSR2.Classes.ClassDeclaration.OpenBraceNewLine) 49:103 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 63:133 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 67:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Plugin/Customer/Model/AccountManagement/AuthenticatePlugin.php 19:26 warning Opening brace of a class must be on the line after the definition (PSR2.Classes.ClassDeclaration.OpenBraceNewLine) 49:91 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 63:133 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 67:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Customer/Attribute/Source/Reason.php 26:70 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 27:5 warning The implements keyword must be on the same line as the class name (PSR2.Classes.ClassDeclaration.ImplementsLine) 29:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 60:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 61:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 63:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 72:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 73:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 98:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 99:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Observer/LoginBefore.php 20:48 warning Opening brace of a class must be on the line after the definition (PSR2.Classes.ClassDeclaration.OpenBraceNewLine) 23:5 warning Expected 5 spaces before asterisk; 4 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 28:5 warning Expected 5 spaces before asterisk; 4 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 33:5 warning Expected 5 spaces before asterisk; 4 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 34:5 warning Expected 5 spaces before asterisk; 4 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 42:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 44:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 63:133 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 67:2 warning Line indented incorrectly; expected 0 spaces, found 1 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 67:2 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) 67:2 warning Closing brace indented incorrectly; expected 0 spaces, found 1 (Squiz.WhiteSpace.ScopeClosingBrace.Indent) Setup/InstallData.php 1:1 error InstallData scripts are obsolete. Please use data patches approach in module's Setup/Patch/Data dir (Magento2.Legacy.InstallUpgrade.ObsoleteInstallDataScript) 60:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 62:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 99:23 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 101:13 warning Empty IF statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedIf) 133:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 133:33 warning Newline required after opening brace (Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace) 133:34 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) view/adminhtml/templates/system/config/form/field/array.phtml 28:74 warning Unescaped output detected. (Magento2.Security.XssTemplate.FoundNotAllowed) 30:100 warning Unescaped output detected. (Magento2.Security.XssTemplate.FoundNotAllowed) 34:54 warning Unescaped output detected. (Magento2.Security.XssTemplate.FoundNotAllowed) 36:79 warning Unescaped output detected. (Magento2.Security.XssTemplate.FoundNotAllowed) 36:122 warning Unescaped output detected. (Magento2.Security.XssTemplate.FoundNotAllowed) 36:137 warning Line exceeds 120 characters; contains 141 characters (Generic.Files.LineLength.TooLong) 42:73 warning Unescaped output detected. (Magento2.Security.XssTemplate.FoundNotAllowed) 42:141 warning Unescaped output detected. (Magento2.Security.XssTemplate.FoundNotAllowed) 42:153 warning Line exceeds 120 characters; contains 168 characters (Generic.Files.LineLength.TooLong) 43:68 warning Unescaped output detected. (Magento2.Security.XssTemplate.FoundNotAllowed) 48:59 warning Unescaped output detected. (Magento2.Security.XssTemplate.FoundNotAllowed) 51:83 warning Unescaped output detected. (Magento2.Security.XssTemplate.FoundNotAllowed) 59:53 warning Unescaped output detected. (Magento2.Security.XssTemplate.FoundNotAllowed) 66:69 warning Unescaped output detected. (Magento2.Security.XssTemplate.FoundNotAllowed) 71:139 warning Unescaped output detected. (Magento2.Security.XssTemplate.FoundNotAllowed) 71:157 warning Line exceeds 120 characters; contains 181 characters (Generic.Files.LineLength.TooLong) 74:110 warning Unescaped output detected. (Magento2.Security.XssTemplate.FoundNotAllowed) 74:214 warning Unescaped output detected. (Magento2.Security.XssTemplate.FoundNotAllowed) 74:229 warning Line exceeds 120 characters; contains 253 characters (Generic.Files.LineLength.TooLong) 91:50 warning Unescaped output detected. (Magento2.Security.XssTemplate.FoundNotAllowed) 102:66 warning Unescaped output detected. (Magento2.Security.XssTemplate.FoundNotAllowed) 102:77 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 131:64 warning Unescaped output detected. (Magento2.Security.XssTemplate.FoundNotAllowed) 131:124 warning Unescaped output detected. (Magento2.Security.XssTemplate.FoundNotAllowed) 131:182 warning Unescaped output detected. (Magento2.Security.XssTemplate.FoundNotAllowed) 131:193 warning Line exceeds 120 characters; contains 209 characters (Generic.Files.LineLength.TooLong) 136:43 warning Unescaped output detected. (Magento2.Security.XssTemplate.FoundNotAllowed) 136:78 warning Unescaped output detected. (Magento2.Security.XssTemplate.FoundNotAllowed) 142:82 warning Unescaped output detected. (Magento2.Security.XssTemplate.FoundNotAllowed) Block/Adminhtml/Form/Field/Reasons.php 57:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 94:1 warning Multi-line function call not indented correctly; expected 16 spaces but found 12 (PSR2.Methods.FunctionCallSignature.Indent) 95:1 warning Multi-line function call not indented correctly; expected 12 spaces but found 8 (PSR2.Methods.FunctionCallSignature.Indent) 95:9 warning Line indented incorrectly; expected at least 12 spaces, found 8 (Generic.WhiteSpace.ScopeIndent.Incorrect) 97:9 warning Line indented incorrectly; expected at least 12 spaces, found 8 (Generic.WhiteSpace.ScopeIndent.Incorrect)