Magento Coding Standard (PHPCS) report for styla/magento2-connect ================================================================= Package version: 2.2.3 | Magento: 2.4.9 | Tested: 2026-05-27 21 errors, 748 warnings in 81 files Helper/Page.php 27:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 32: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) 39:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 40:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 44:12 warning Extra @param found in method annotation (Magento2.Annotation.MethodArguments.ExtraParam) 62:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 63:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 70:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 100:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 101:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Helper/Config.php 12:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 14:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 15:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 16:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 18:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 19:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 21:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 22:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 24:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 26:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 27:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 28:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 29:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 30:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 31:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 32:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 33:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 34:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 35:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 38:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 66:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 67:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 68:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 69:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 71:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 78: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) 87:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 88:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 99:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 118:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 120:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 137:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 213:86 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 241:147 warning Line exceeds 120 characters; contains 147 characters (Generic.Files.LineLength.TooLong) 248:48 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 261:31 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 267:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 267:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 268:20 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 268:187 warning Line exceeds 120 characters; contains 187 characters (Generic.Files.LineLength.TooLong) 277:64 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 307:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 307:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 311:135 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) 314:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 320:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 323:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 329:135 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) 333:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 339:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 361:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 364:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 365:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 372:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 385:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 400:132 warning Line exceeds 120 characters; contains 132 characters (Generic.Files.LineLength.TooLong) Helper/Data.php 64:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 66:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 68:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 70:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 72:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 74:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 76:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 78:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 80:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 82:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 107:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 108:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 119:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 120:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 131:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 132:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 155:86 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 175:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 176:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 190:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 191:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 200:20 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 200:62 error Possible Magento 2 design violation. Detected typical Magento 1.x construction "Mage::". (Magento2.Legacy.MageEntity.FoundLegacyEntity) 271:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 272:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 309:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 310:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 317:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 318:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 325:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 326:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 333:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 334:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Helper/Converter.php 49:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 54: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) 60:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 72:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 107:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 112:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 112:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) Model/Page.php 8:5 warning The extends keyword must be on the same line as the class name (PSR2.Classes.ClassDeclaration.ExtendsLine) 13:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 27:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 28:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 29:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 30:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 32:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 33:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 35:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 40: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) 47:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 49:9 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 52:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 54:9 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 82:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 83:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 90:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 91:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 98:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 99:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 117:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 118:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 128:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 129:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 162:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 178:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 179:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 179:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 192:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 193:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 193:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 193:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 193:8 warning Tags visual alignment must be consistent (Magento2.Annotation.MethodAnnotationStructure.MethodArguments) 218:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 219:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 226:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 227:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 234:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 235:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 242:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 243:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 250:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 258:8 warning Short description must start with a capital letter (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 267:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 304:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 313:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 314:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Product/Configurable/ConfigurableAttributeData.php 16:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 41:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 42:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 46:15 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 52:13 warning Expected "if (...) {\n"; found "if (...){\n" (PEAR.ControlStructures.ControlSignature.Found) 52:36 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 55:13 warning Expected "if (...) {\n"; found "if (...){\n" (PEAR.ControlStructures.ControlSignature.Found) 55:43 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 67:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 68:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 84:43 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) Model/Product/Info/RendererFactory.php 14:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 24:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 25:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 25:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Product/Info/Renderer/DefaultRenderer.php 15:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 17:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 18:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 22:13 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 40:13 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 63:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 70:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 79: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) 95:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 129:149 warning Line exceeds 120 characters; contains 149 characters (Generic.Files.LineLength.TooLong) 165:82 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 167:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 273:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) Model/Product/Info/Renderer/Configurable.php 12:5 warning The extends keyword must be on the same line as the class name (PSR2.Classes.ClassDeclaration.ExtendsLine) 14:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 15:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 35:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 47: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:144 warning Line exceeds 120 characters; contains 144 characters (Generic.Files.LineLength.TooLong) 55:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 70:13 warning Expected "foreach (...) {\n"; found "foreach(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 70:13 warning Expected 1 space after FOREACH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 84:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 105:140 warning Line exceeds 120 characters; contains 140 characters (Generic.Files.LineLength.TooLong) 140:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 141:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 170:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Product/Info.php 8:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 10:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 18:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 33:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 42:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 50:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 56:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 67:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/ResourceModel/Magazine/Collection.php 41:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/ResourceModel/Magazine.php 36:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 36:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 43:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 44:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 50:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Styla/Api.php 13:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 14:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 15:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 40:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 41:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 43:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 48:15 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar) 55:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 61: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:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 81:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 98:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 104:16 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 104:26 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 119:13 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 186:1 warning Multi-line function call not indented correctly; expected 12 spaces but found 16 (PSR2.Methods.FunctionCallSignature.Indent) 190:1 warning Multi-line function call not indented correctly; expected 8 spaces but found 12 (PSR2.Methods.FunctionCallSignature.Indent) 195:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 197:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 199:15 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 208: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) 242:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 301:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 302:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 313:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 314:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Styla/Api/Connector.php 13:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 15:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 16:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 17:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 18:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 20:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 21:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 22:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 23:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 24:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 25:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 26:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 27:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 28:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 29:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 30:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 31:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 32:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 36:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 40:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 54: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:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 83:17 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 154:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 154:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 155:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 161:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 179:6 warning Additional blank lines found at end of the annotation block (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 182:133 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 185:13 warning Expected "foreach (...) {\n"; found "foreach(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 185:13 warning Expected 1 space after FOREACH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 197:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 228:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 241:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 248:8 warning Tags visual alignment must be consistent (Magento2.Annotation.MethodAnnotationStructure.MethodArguments) 249:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 250:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 268:80 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 270:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 273:17 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) 284:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 293:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 297:12 warning Motivation behind the added @deprecated tag MUST be explained. @see tag MUST be used with reference to new implementation when code is deprecated and there is a new alternative. (Magento2.Annotation.MethodAnnotationStructure.InvalidDeprecatedTagUsage) 311:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 351:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 352:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 352:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 361:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 367:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 370:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 383:9 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) Model/Styla/Api/RequestFactory.php 21:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 22:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Styla/Api/ResponseFactory.php 21:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 22:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Styla/Api/Response/Type/AbstractType.php 9:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 10:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 12:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 13:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 15:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 16:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 17:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 18:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 20:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 85:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 119:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 124:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 129:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 131:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 141:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 146:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 151:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 152:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 163:17 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 167:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 168:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 175:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 180:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Styla/Api/Response/Type/Seo.php 6:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 10:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 17:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 34:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Styla/Api/Response/Type/Version.php 6:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 7:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 21:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Styla/Api/Response/Type/Register.php 11:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Styla/Api/Request/Type/AbstractType.php 9:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 10:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 11:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 13:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 15:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 16:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 30:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 34: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) 65:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 87:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 130:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 139:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Styla/Api/Request/Type/Seo.php 2:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) 7:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 9:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 15:15 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar) 16:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 18:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 39:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 48:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Styla/Api/Request/Type/Version.php 2:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) 7:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 22:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 30:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Styla/Api/Request/Type/Register.php 9:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 17:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 22: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) 28:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 38:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 46:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Styla/Api/Cache.php 13:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 14:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 35:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 42:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 54:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 55:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 55:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 55:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 55:8 warning Tags visual alignment must be consistent (Magento2.Annotation.MethodAnnotationStructure.MethodArguments) 68:21 error The use of function serialize() is forbidden; use \Magento\Framework\Serialize\SerializerInterface::serialize() instead (Magento2.Security.InsecureFunction.FoundWithAlternative) 74:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 75:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 75:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 75:8 warning Tags visual alignment must be consistent (Magento2.Annotation.MethodAnnotationStructure.MethodArguments) 93:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 114:23 error The use of function serialize() is forbidden; use \Magento\Framework\Serialize\SerializerInterface::serialize() instead (Magento2.Security.InsecureFunction.FoundWithAlternative) 120:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 133:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 142:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 144:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 153:147 warning Line exceeds 120 characters; contains 147 characters (Generic.Files.LineLength.TooLong) 154:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 178:33 error The use of function unserialize() is forbidden; use \Magento\Framework\Serialize\SerializerInterface::unserialize() instead (Magento2.Security.InsecureFunction.FoundWithAlternative) 183:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 192:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Model/Magazine.php 22:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 40:8 warning Content missing for @var tag in class property declaration. (Magento2.Commenting.ClassPropertyPHPDocFormatting.EmptyVar) 62:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 63:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 70:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 71:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 82:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 84:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 104:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 105:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 112:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 113:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 120:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 121:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 128:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 129:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/DataProvider.php 48:29 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 55:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Api/ProductRepository.php 16:5 warning The implements keyword must be on the same line as the class name (PSR2.Classes.ClassDeclaration.ImplementsLine) 18:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 20:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 22:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 79:6 warning Expected 1 space after asterisk; 2 found (Squiz.Commenting.DocCommentAlignment.SpaceAfterStar) 126:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 160: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) 249:51 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 256:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 256:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 260:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 260:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 309:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 309:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 317:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 317:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 321:9 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 328:148 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 348:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 373:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 374:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 404:77 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 434:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 477:36 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 477:43 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 504:132 warning Line exceeds 120 characters; contains 132 characters (Generic.Files.LineLength.TooLong) 506:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 506:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 541:15 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 556:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) Model/Api/StylaCategory.php 9:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 12:12 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 21:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 30:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Model/Api/Converter/ConverterFactory.php 11:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 13:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 14:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 16:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 44:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 49: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) 55:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 56:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 67:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 68:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 68:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 115:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Api/Converter/Type/AbstractType.php 9:5 warning The implements keyword must be on the same line as the class name (PSR2.Classes.ClassDeclaration.ImplementsLine) 11:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 12:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 13:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 28:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 30:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 33:5 error Final keyword is prohibited in Magento. It decreases extensibility and is not compatible with plugins and proxies. (Magento2.PHP.FinalImplementation.FoundFinal) 38:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 39:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 43:15 warning Empty FUNCTION statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedFunction) 53:24 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 55:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 64:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 68:5 error Final keyword is prohibited in Magento. It decreases extensibility and is not compatible with plugins and proxies. (Magento2.PHP.FinalImplementation.FoundFinal) 76:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 90:36 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 101:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 110:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 120:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 129:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 137:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Api/Converter/Type/Product/Url.php 10:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 12:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 14:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 16:44 warning The closing parenthesis of a multi-line function declaration must be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.CloseBracketLine) 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) 22:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 44:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Model/Api/Converter/Type/Product/SingleImage.php 12:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 14:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 19:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Api/Converter/Type/Product/Gallery.php 10:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 12:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 13:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 14:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 15:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 17:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 19:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 24:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 45:174 warning Line exceeds 120 characters; contains 174 characters (Generic.Files.LineLength.TooLong) 56:149 warning Line exceeds 120 characters; contains 149 characters (Generic.Files.LineLength.TooLong) 68:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Api/Converter/Type/Product/GalleryCaption.php 6:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 6:44 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 7:66 warning Line exceeds 120 characters; contains 162 characters (Generic.Files.LineLength.TooLong) Model/Api/Converter/Type/Product/Entity.php 8:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Api/Converter/Type/Product/Sellable.php 8:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 13:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Model/Api/Converter/Type/Simple.php 6:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Api/Converter/ConverterChain.php 11:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 25:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 25:61 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 29:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 38:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 47:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 68:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 76:39 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 87:39 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) Model/Api/CategoryManagement.php 31: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) 39:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Api/Category/Tree.php 11:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 15:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 29:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 37: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) 44:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 45:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 45:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 76:6 warning Additional blank lines found at end of the annotation block (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 77:15 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 87:6 warning Additional blank lines found at end of the annotation block (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 88:15 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 95:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 96:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/MagazineInterface.php 18:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 23:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 28:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 30:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 31:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 36:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 37:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 44:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 45:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 49:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 50:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 54:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 55:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 59:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 60:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 64:1 warning The closing brace for the interface must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Model/Source/Stores.php 49:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Observer/Navigation.php 29:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 71:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) 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) 17:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 128:18 warning Closing parenthesis of a multi-line function call must be on a line by itself (PSR2.Methods.FunctionCallSignature.CloseBracketLine) Ui/Component/Listing/Grid/Column/Active.php 15:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 16:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 28:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Ui/Component/Listing/Grid/Column/Store.php 30:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 43:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 44:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 61:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Ui/Component/Listing/Grid/Column/IsDefault.php 15:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 16:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 28:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Ui/Component/Listing/Grid/Column/Action.php 19:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 22:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 57: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) 96:33 warning Expected 0 spaces before closing parenthesis; newline found (PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket) 105:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) registration.php 7:2 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Controller/Page/View.php 37:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 44: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) 53:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Controller/Adminhtml/Magazine/Index.php 32: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:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 38:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 47:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Controller/Adminhtml/Magazine/Delete.php 43: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) 50:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 51:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 69:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Controller/Adminhtml/Magazine/Edit.php 59: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) 69:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 70:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 89:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 90:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 90:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 109:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Controller/Adminhtml/Connector/Connect.php 12:13 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 26:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 27:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Controller/Adminhtml/Connector/Save.php 26:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 28:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 36:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) Controller/Router.php 17:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 60:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 62:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 103:15 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 103:15 warning $magazine parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 116:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 138:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Controller/Product/Info.php 43: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) 51:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 82:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 87:47 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 102:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 106:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 112:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 120:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 121:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 127:10 warning Spaces must be used for alignment; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.NonIndentTabsUsed) 127:10 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) Controller/Cart/Add.php 12:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 19:13 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 29:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 41: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) 46:131 warning Line exceeds 120 characters; contains 131 characters (Generic.Files.LineLength.TooLong) 68:39 error Class 'Zend_Filter_LocalizedToNormalized' is restricted in /data/vendor/styla/magento2-connect/Controller/Cart/Add.php. Suggested replacement: Magento\Framework\Filter\LocalizedToNormalized (Magento2.Legacy.RestrictedCode.ZendFilterIsRestricted) 69:61 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 82:17 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 110:11 warning Exceptions must not be handled in the same function where they are thrown. (Magento2.Exceptions.ThrowCatch.ThrowCatch) 132:36 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) view/frontend/templates/page/head/meta.phtml 3:16 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 6:23 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 18:13 warning Short echo tag syntax must be used; expected "" (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:15 warning Short echo tag syntax must be used; expected "