Magento Coding Standard (PHPCS) report for mobbexco/magento-2 ============================================================= Package version: 5.0.2 | Magento: 2.4.9 | Tested: 2026-07-30 16 errors, 841 warnings in 65 files Plugin/Adminhtml/CaptureButton.php 1:1 warning End of line character is invalid; expected "\n" but found "\r\n" (Generic.Files.LineEndings.InvalidEOLChar) 10:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 18:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 28:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 36:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 55:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Plugin/SaveCheckoutForm.php 13:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 15:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 26:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 35:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 37:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 41:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 44:147 warning Line exceeds 120 characters; contains 147 characters (Generic.Files.LineLength.TooLong) 47:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 52:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 72:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Plugin/CheckoutForm.php 9:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 11:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 26:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 28:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 31:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 37:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 61:205 warning Line exceeds 120 characters; contains 205 characters (Generic.Files.LineLength.TooLong) 64:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Plugin/CsrfValidatorSkip.php 5:25 warning Opening brace of a class must be on the line after the definition (PSR2.Classes.ClassDeclaration.OpenBraceNewLine) 6:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 13:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 17:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 21:37 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 23:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Helper/Config.php 1:1 warning End of line character is invalid; expected "\n" but found "\r\n" (Generic.Files.LineEndings.InvalidEOLChar) 8:12 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar) 53:121 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 54:121 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 68:12 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar) 86:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 103:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 107:12 warning $name parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 109:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 110:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 117:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 120:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 123:12 warning $name parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 134:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 140:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 150:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 154:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 156:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 157:6 warning Additional blank lines found at end of the annotation block (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 162:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 169:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 170:8 warning ...$products parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 171:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 174:12 warning $products parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 180:31 warning array_merge(...) is used in a loop and is a resources greedy construction. (Magento2.Performance.ForeachArrayMerge.ForeachArrayMerge) 180:31 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 185:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 186:35 warning array_merge(...) is used in a loop and is a resources greedy construction. (Magento2.Performance.ForeachArrayMerge.ForeachArrayMerge) 186:35 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 191:8 warning Line indented incorrectly; expected at least 8 spaces, found 7 (Generic.WhiteSpace.ScopeIndent.Incorrect) 196:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 198:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 200:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 201:6 warning Additional blank lines found at end of the annotation block (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 212:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 213:16 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 214:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 215:6 warning Additional blank lines found at end of the annotation block (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 225:8 warning Short description must start with a capital letter (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 227:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 229:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 234:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 238:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 242:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 250:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 253:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 256:75 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 265:66 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 266:37 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 270:91 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 274:39 warning array_merge(...) is used in a loop and is a resources greedy construction. (Magento2.Performance.ForeachArrayMerge.ForeachArrayMerge) 275:40 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 285:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 291:45 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 295:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 299:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 301:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 304:13 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 304:60 warning Incorrect spacing between argument "$catalogType" and equals sign; expected 1 but found 0 (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpaceBeforeEquals) 304:60 warning Incorrect spacing between default value and equals sign for argument "$catalogType"; expected 1 but found 0 (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpaceAfterEquals) 304:71 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 311:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Helper/Sdk.php 1:1 warning End of line character is invalid; expected "\n" but found "\r\n" (Generic.Files.LineEndings.InvalidEOLChar) 31:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 57:27 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 57:45 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 57:99 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 57:130 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 60:155 warning Line exceeds 120 characters; contains 155 characters (Generic.Files.LineLength.TooLong) 61:15 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 62:37 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 69:58 warning The use of function dirname() is discouraged; use Magento\Framework\Filesystem\DriverInterface::getParentDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 77:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Helper/Quote.php 34:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 58:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 60:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 110:142 warning Line exceeds 120 characters; contains 142 characters (Generic.Files.LineLength.TooLong) 127:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 128:6 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 129:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 129:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 142:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 144:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 150:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 150:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 156:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 156:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 162:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 162:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 168:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 168:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 169:90 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 171:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 171:2 warning Line indented incorrectly; expected 4 spaces, found 1 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 171:2 warning Closing brace indented incorrectly; expected 4 spaces, found 1 (Squiz.WhiteSpace.ScopeClosingBrace.Indent) 173:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 200:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 201:8 warning $data parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 202:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 205:12 warning $quote parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 207:39 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 210:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 210:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 214:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 214:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 223:134 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 229:178 warning Line exceeds 120 characters; contains 179 characters (Generic.Files.LineLength.TooLong) 238:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 240:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) Helper/Logger.php 1:1 warning End of line character is invalid; expected "\n" but found "\r\n" (Generic.Files.LineEndings.InvalidEOLChar) 25:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 30:1 warning Blank lines are not allowed in a multi-line function declaration (Squiz.Functions.MultiLineFunctionDeclaration.EmptyLine) 45:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 45:15 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 64:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 67:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 68:15 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 77:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 90:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 95:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 96:242 warning Line exceeds 120 characters; contains 242 characters (Generic.Files.LineLength.TooLong) 98:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 103:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Helper/Mobbex.php 7:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 9:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 11:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 43:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 69:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 78:9 warning Expected "if (...) {\n"; found "if (...){\n" (PEAR.ControlStructures.ControlSignature.Found) 78:40 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 123:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 145:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 156:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 158:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 171:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 173:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 179:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 179:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 185:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 185:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 191:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 191:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 197:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 197:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 198:90 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 200:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 200:2 warning Line indented incorrectly; expected 4 spaces, found 1 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 200:2 warning Closing brace indented incorrectly; expected 4 spaces, found 1 (Squiz.WhiteSpace.ScopeClosingBrace.Indent) 204:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 206:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 207:16 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 211:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 217:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 232:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 234:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 239:39 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 242:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 242:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 246:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 246:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 255:134 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 261:178 warning Line exceeds 120 characters; contains 179 characters (Generic.Files.LineLength.TooLong) 270:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 270:32 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 271:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) Helper/Db.php 13:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 13:86 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 20:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 22:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 31:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) Model/CustomField.php 9:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 11:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 23:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 27:8 warning $searched_column parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 27:8 warning $data parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 29:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 32:12 warning Extra @param found in method annotation (Magento2.Annotation.MethodArguments.ExtraParam) 45:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 51:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 58:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 61:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 64:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 67:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 70:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 78:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 83:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 106:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 110:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 117:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 125:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/CustomConfigProvider.php 7:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 9:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 23:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 38:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 39:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 50:121 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 54:135 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) 63:125 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 65:135 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) 67:82 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) Model/Invoice/Fee.php 7:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 9:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 11:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 12:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 29:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Repository.php 11:12 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar) 17:12 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar) 19:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 27:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 29:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 47:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 50:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 55:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 63:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 66:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 78:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 80:15 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 81:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 92:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 94:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 97:12 warning Empty FUNCTION statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedFunction) 101:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Method/SugapayTransparent.php 7:3 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 8:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 12:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 65:33 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 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) 101:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 102:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 108:9 warning Code after the RETURN statement on line 107 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 109:13 warning Code after the RETURN statement on line 107 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 112:9 warning Code after the RETURN statement on line 107 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 113:9 warning Code after the RETURN statement on line 107 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 116:9 warning Code after the RETURN statement on line 107 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 117:13 warning Code after the RETURN statement on line 107 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 118:13 warning Code after the RETURN statement on line 107 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 119:17 warning Code after the RETURN statement on line 107 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 120:17 warning Code after the RETURN statement on line 107 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 121:17 warning Code after the RETURN statement on line 107 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 122:13 warning Code after the RETURN statement on line 107 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 125:9 warning Code after the RETURN statement on line 107 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 127:9 warning Code after the RETURN statement on line 107 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 128:13 warning Code after the RETURN statement on line 107 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 130:13 warning Code after the RETURN statement on line 107 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 131:17 warning Code after the RETURN statement on line 107 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 133:17 warning Code after the RETURN statement on line 107 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 137:9 warning Code after the RETURN statement on line 107 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) Model/Method/Sugapay.php 7:3 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 8:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 10:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 12:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 65:33 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 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) 101:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 102:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/EventManager.php 16:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 28:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 32:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 35:12 warning $args parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 45:81 warning The use of function gettype() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 56:17 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 59:26 warning The use of function call_user_func_array() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 62:17 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 71:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/OrderUpdate.php 9:8 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 10:13 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 11:8 warning Short description must be before @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.ShortDescriptionAfterVar) 76:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 118:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 127:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 130:9 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 131:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 134:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 141:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 145:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 147:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 149:9 warning Usage of ELSE IF is discouraged; use ELSEIF instead (PSR2.ControlStructures.ElseIfDeclaration.NotAllowed) 149:14 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 149:154 warning Line exceeds 120 characters; contains 154 characters (Generic.Files.LineLength.TooLong) 165:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 179:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 195:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 199:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 210:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 217:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 223:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 231:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 246:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 253:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 253:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 264:11 warning Usage of ELSE IF is discouraged; use ELSEIF instead (PSR2.ControlStructures.ElseIfDeclaration.NotAllowed) 271:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 273:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 274:16 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 280:11 warning Usage of ELSE IF is discouraged; use ELSEIF instead (PSR2.ControlStructures.ElseIfDeclaration.NotAllowed) 282:11 warning Usage of ELSE IF is discouraged; use ELSEIF instead (PSR2.ControlStructures.ElseIfDeclaration.NotAllowed) 284:11 warning Usage of ELSE IF is discouraged; use ELSEIF instead (PSR2.ControlStructures.ElseIfDeclaration.NotAllowed) 286:11 warning Usage of ELSE IF is discouraged; use ELSEIF instead (PSR2.ControlStructures.ElseIfDeclaration.NotAllowed) 288:11 warning Usage of ELSE IF is discouraged; use ELSEIF instead (PSR2.ControlStructures.ElseIfDeclaration.NotAllowed) 299:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 300:15 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 301:15 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 302:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 303:6 warning Additional blank lines found at end of the annotation block (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 304:12 warning $order parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 307:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 314:50 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 337:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 342:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 356:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 357:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 365:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 368:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 377:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 380:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 384:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 384:47 warning Expected 0 spaces before closing bracket; 1 found (PSR2.ControlStructures.ControlStructureSpacing.SpaceBeforeCloseBrace) 392:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 394:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 401:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 404:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 412:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 415:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 415:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 419:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 423:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 423:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 432:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 449:17 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 449:17 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 455:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 473:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) Model/Transaction.php 9:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 11:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 23:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 32:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 37:157 warning Line exceeds 120 characters; contains 157 characters (Generic.Files.LineLength.TooLong) 44:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 46:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 52:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 60:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 61:8 warning $childs parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 63:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 66:12 warning Extra @param found in method annotation (Magento2.Annotation.MethodArguments.ExtraParam) 66:12 warning $parent parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 76:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 78:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 88:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 91:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 98:130 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 100:140 warning Line exceeds 120 characters; contains 140 characters (Generic.Files.LineLength.TooLong) 102:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 103:134 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 104:140 warning Line exceeds 120 characters; contains 140 characters (Generic.Files.LineLength.TooLong) 105:140 warning Line exceeds 120 characters; contains 140 characters (Generic.Files.LineLength.TooLong) 106:140 warning Line exceeds 120 characters; contains 140 characters (Generic.Files.LineLength.TooLong) 107:144 warning Line exceeds 120 characters; contains 144 characters (Generic.Files.LineLength.TooLong) 108:138 warning Line exceeds 120 characters; contains 138 characters (Generic.Files.LineLength.TooLong) 109:159 warning Line exceeds 120 characters; contains 159 characters (Generic.Files.LineLength.TooLong) 110:161 warning Line exceeds 120 characters; contains 161 characters (Generic.Files.LineLength.TooLong) 111:191 warning Line exceeds 120 characters; contains 191 characters (Generic.Files.LineLength.TooLong) 112:168 warning Line exceeds 120 characters; contains 168 characters (Generic.Files.LineLength.TooLong) 113:166 warning Line exceeds 120 characters; contains 166 characters (Generic.Files.LineLength.TooLong) 114:145 warning Line exceeds 120 characters; contains 145 characters (Generic.Files.LineLength.TooLong) 115:161 warning Line exceeds 120 characters; contains 161 characters (Generic.Files.LineLength.TooLong) 122:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 123:148 warning Line exceeds 120 characters; contains 148 characters (Generic.Files.LineLength.TooLong) 148:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 148:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 161:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Themes.php 9:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 11:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 13:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 14:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Config/OrderStatus.php 7:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 9:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 16:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Model/Config/Source/MultivendorSelect.php 5:1 warning Opening class brace must be on a line by itself (PSR2.Classes.ClassDeclaration.OpenBraceNotAlone) 5:2 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 19:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Config/Source/PaymentModeSelect.php 6:1 warning Opening class brace must be on a line by itself (PSR2.Classes.ClassDeclaration.OpenBraceNotAlone) 6:2 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 19:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Cache.php 10:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 12:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 24:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 32:46 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 49:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) Model/Log.php 9:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 11:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 23:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 32:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 40:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 42:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 48:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 53:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/OrderRepository.php 19:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 33:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 36:6 warning Expected 1 space after asterisk; 6 found (Squiz.Commenting.DocCommentAlignment.SpaceAfterStar) 37:6 warning Expected 1 space after asterisk; 6 found (Squiz.Commenting.DocCommentAlignment.SpaceAfterStar) 38:6 warning Expected 1 space after asterisk; 6 found (Squiz.Commenting.DocCommentAlignment.SpaceAfterStar) 41:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 47:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 58:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 59:16 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 65:13 warning Expected 1 space after FUNCTION keyword; 0 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction) 73:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 75:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 76:16 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 85:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 87:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 88:16 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 98:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Source/CustomField.php 9:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 20:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Source/Transaction.php 9:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 20:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Source/Transaction/Collection.php 9:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 18:22 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 18:57 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 20:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Source/Cache.php 9:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 13:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 22:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Source/Log.php 9:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 20:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Source/Cache/Collection.php 9:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 18:22 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 18:51 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 20:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Source/CustomField/Collection.php 9:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 18:22 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 18:57 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 20:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Source/Log/Collection.php 9:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 18:22 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 18:49 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 20:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Observer/ProductSaveObserver.php 22:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 28:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 37:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 43:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 50:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 51:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 52:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 53:138 warning Line exceeds 120 characters; contains 138 characters (Generic.Files.LineLength.TooLong) 64:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Observer/OrderPlaceAfter.php 13:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 17:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 23:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 31:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 31:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) Observer/CancelOrderObserver.php 22:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 28:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 37:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 43:9 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 43:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 43:80 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 45:11 warning Expected "} else if (...) {\n"; found "} else if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 45:11 warning Usage of ELSE IF is discouraged; use ELSEIF instead (PSR2.ControlStructures.ElseIfDeclaration.NotAllowed) 45:16 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 45:16 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 45:51 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 46:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 48:11 warning Expected "} else if (...) {\n"; found "} else if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 48:11 warning Usage of ELSE IF is discouraged; use ELSEIF instead (PSR2.ControlStructures.ElseIfDeclaration.NotAllowed) 48:16 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 48:16 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 48:51 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 49:93 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 55:6 warning Expected 1 space after asterisk; 2 found (Squiz.Commenting.DocCommentAlignment.SpaceAfterStar) 55:9 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 55:21 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 57:12 warning $order parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 60:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 63:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) Observer/RefundObserverBeforeSave.php 12:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 14:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 31:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 38:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 52:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 53:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 61:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 68:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 69:17 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 69:141 warning Line exceeds 120 characters; contains 141 characters (Generic.Files.LineLength.TooLong) 71:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 72:17 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 87:11 warning Exceptions must not be handled in the same function where they are thrown. (Magento2.Exceptions.ThrowCatch.ThrowCatch) 89:25 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 90:76 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 107:15 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 109:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 111:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 117:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 117:33 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 121:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 128:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 129:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 131:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 131:34 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 132:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 137:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 138:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 153:26 warning Expected 1 space after FUNCTION keyword; 0 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction) 156:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 157:17 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 167:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 177:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 180:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 181:16 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) Observer/DataAssignObserver.php 12:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 14:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 16:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 17:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Observer/CategorySaveObserver.php 22:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 28:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 37:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 43:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 49:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 50:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 51:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 52:136 warning Line exceeds 120 characters; contains 136 characters (Generic.Files.LineLength.TooLong) 63:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Setup/UpgradeData.php 1:1 error UpgradeData scripts are obsolete. Please use data patches approach in module's Setup/Patch/Data dir (Magento2.Legacy.InstallUpgrade.ObsoleteUpgradeDataScript) 37:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 58:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 75:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 75:17 warning The use of function intval() is discouraged; use (int) construction() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 82:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 113:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 121:5 warning Expected 5 spaces before asterisk; 4 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 122:5 warning Expected 5 spaces before asterisk; 4 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 130:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 137:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 145:17 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 171:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 172:15 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 178:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 185:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 196:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 199:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 200:16 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) Setup/UpgradeSchema.php 1:1 error UpgradeSchema scripts are obsolete. Please use declarative schema approach in module's etc/db_schema.xml file (Magento2.Legacy.InstallUpgrade.ObsoleteUpgradeSchemaScript) 12:12 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 21:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 24:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 26:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 35:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 41:9 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 43:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 44:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 56:17 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 57:21 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) etc/sales.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/module.xml 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) registration.php 52:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 52:1 warning Multi-line function call not indented correctly; expected 4 spaces but found 1 (PSR2.Methods.FunctionCallSignature.Indent) 53:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 53:1 warning Multi-line function call not indented correctly; expected 4 spaces but found 1 (PSR2.Methods.FunctionCallSignature.Indent) 54:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 54:1 warning Multi-line function call not indented correctly; expected 4 spaces but found 1 (PSR2.Methods.FunctionCallSignature.Indent) Controller/Payment/Process.php 7:3 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 10:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 23:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 34:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 39:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 42:37 warning The use of function file_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 50:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 51:17 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 63:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 73:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 76:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 79:13 error Use of die language construct is discouraged. (Magento2.Security.LanguageConstruct.ExitUsage) 80:11 warning Exceptions must not be handled in the same function where they are thrown. (Magento2.Exceptions.ThrowCatch.ThrowCatch) 83:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 96:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 98:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 103:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 104:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 114:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 115:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 118:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 118:156 warning Line exceeds 120 characters; contains 156 characters (Generic.Files.LineLength.TooLong) 119:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 122:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 123:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 125:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 126:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 129:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 130:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 132:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 133:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 136:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 137:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 139:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 140:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 143:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 144:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 146:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 147:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 149:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 150:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 155:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 162:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 164:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 187:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 200:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 204:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 206:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 221:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) Controller/Payment/PaymentReturn.php 6:4 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 7:3 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 10:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 12:107 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 29:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 46:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 67:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) Controller/Payment/Sources.php 7:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 27:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 33:1 warning Blank lines are not allowed in a multi-line function declaration (Squiz.Functions.MultiLineFunctionDeclaration.EmptyLine) 35:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 68:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 84:13 warning Space before opening parenthesis of function call prohibited (PSR2.Methods.FunctionCallSignature.SpaceBeforeOpenBracket) 84:13 error Use of die language construct is discouraged. (Magento2.Security.LanguageConstruct.ExitUsage) 93:26 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 93:50 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 100:13 warning Space before opening parenthesis of function call prohibited (PSR2.Methods.FunctionCallSignature.SpaceBeforeOpenBracket) 100:13 error Use of die language construct is discouraged. (Magento2.Security.LanguageConstruct.ExitUsage) Controller/Payment/Task.php 28:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 45:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 51:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 52:17 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 59:11 warning Exceptions must not be handled in the same function where they are thrown. (Magento2.Exceptions.ThrowCatch.ThrowCatch) 68:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 77:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 81:13 warning The use of function sleep() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Controller/Payment/Detect.php 7:3 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 10:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 23:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 38:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 41:37 warning The use of function file_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 46:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 47:17 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 49:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 50:17 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 52:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 53:17 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 55:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 56:17 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 58:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 59:17 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 63:13 error Use of die language construct is discouraged. (Magento2.Security.LanguageConstruct.ExitUsage) 64:11 warning Exceptions must not be handled in the same function where they are thrown. (Magento2.Exceptions.ThrowCatch.ThrowCatch) 67:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 80:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 83:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 85:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 107:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) Controller/Payment/Webhook.php 7:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 9:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 44:12 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 46:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 74:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 75:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 82:37 warning The use of function file_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 86:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 87:17 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 89:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 90:17 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 102:11 warning Exceptions must not be handled in the same function where they are thrown. (Magento2.Exceptions.ThrowCatch.ThrowCatch) 103:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 107:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 111:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 112:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 115:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 137:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 141:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 142:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 144:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 156:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 160:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 170:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 186:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 199:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Controller/Payment/Checkout.php 7:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 10:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 21:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 26:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 35:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Controller/AdminHtml/Payment/Capture.php 19:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 37:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 47:143 warning Line exceeds 120 characters; contains 143 characters (Generic.Files.LineLength.TooLong) 56:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 57:17 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 60:11 warning Exceptions must not be handled in the same function where they are thrown. (Magento2.Exceptions.ThrowCatch.ThrowCatch) 68:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) view/frontend/templates/finance-widget.phtml 3:48 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 4:56 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 7:26 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) view/frontend/templates/payment/failure.phtml 1:11 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 1:38 warning Expected 0 spaces after closing parenthesis; found 1 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 2:42 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 4:19 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 4:37 warning Expected 0 spaces after closing parenthesis; found 1 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 5:59 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 5:66 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 6:21 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 8:15 warning Expected 0 spaces after ELSE keyword; 1 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 9:17 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 9:146 warning Line exceeds 120 characters; contains 147 characters (Generic.Files.LineLength.TooLong) view/frontend/web/template/payment/cc.html 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) view/frontend/web/template/payment/sugapay.html 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) view/frontend/web/template/payment/cc-form.html 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) view/adminhtml/templates/catalog-settings.phtml 1:79 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 1:97 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 6:31 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 6:54 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 7:25 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 7:81 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 8:25 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 8:73 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 9:25 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 9:80 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 10:25 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 10:81 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 11:25 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 11:80 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 12:25 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 12:83 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 15:5 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 26:13 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 27:12 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 28:29 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 29:61 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 29:112 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 29:130 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 29:145 warning Line exceeds 120 characters; contains 146 characters (Generic.Files.LineLength.TooLong) 35:5 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 36:1 warning Line indented incorrectly; expected 4 spaces, found 0 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 38:17 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 39:16 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 41:66 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 41:115 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 42:71 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 42:132 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 42:150 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 42:165 warning Line exceeds 120 characters; contains 166 characters (Generic.Files.LineLength.TooLong) 45:1 warning Line indented incorrectly; expected at least 4 spaces, found 0 (Generic.WhiteSpace.ScopeIndent.Incorrect) 48:1 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 48:50 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 64:42 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 64:60 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 65:65 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 66:67 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 67:67 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 68:74 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 69:74 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 71:26 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) Block/FinanceWidget.php 29:12 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar) 32:12 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar) 35:12 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar) 37:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 68:17 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 70:11 warning Exceptions must not be handled in the same function where they are thrown. (Magento2.Exceptions.ThrowCatch.ThrowCatch) 71:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 78:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 82:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 83:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 85:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 86:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 88:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 89:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 107:9 warning Expected 0 spaces before closing parenthesis; newline found (PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket) 110:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 114:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 115:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 117:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 118:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 120:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 121:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 125:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 141:9 warning Expected 0 spaces before closing parenthesis; newline found (PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket) 143:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Block/Category.php 1:1 warning End of line character is invalid; expected "\n" but found "\r\n" (Generic.Files.LineEndings.InvalidEOLChar) 28:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 46:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Block/Sales/Order/Totals/Fee.php 8:4 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 10:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 12:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 23:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 32:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 43:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 46:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 65:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 67:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 70:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Block/PaymentFailure.php 1:1 warning End of line character is invalid; expected "\n" but found "\r\n" (Generic.Files.LineEndings.InvalidEOLChar) 13:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 24:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 30:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 40:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Block/Info.php 1:1 warning End of line character is invalid; expected "\n" but found "\r\n" (Generic.Files.LineEndings.InvalidEOLChar) 19:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 20:67 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 39:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 62:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 70:130 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 86:149 warning Line exceeds 120 characters; contains 149 characters (Generic.Files.LineLength.TooLong) 102:154 warning Line exceeds 120 characters; contains 154 characters (Generic.Files.LineLength.TooLong) 114:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 123:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) Block/Product.php 1:1 warning End of line character is invalid; expected "\n" but found "\r\n" (Generic.Files.LineEndings.InvalidEOLChar) 28:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 46:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound)