Magento Coding Standard (PHPCS) report for outeredge/magento-layout-module ========================================================================== Package version: 3.5.0 | Magento: 2.4.9 | Tested: 2026-05-26 3 errors, 247 warnings in 62 files Helper/Data.php 54:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 55:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 135:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 159:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 160:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 162:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 171:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 172:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 174:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 183:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 184:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 191:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 192:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 199:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 200:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 207:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 208:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 215:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 216:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 218:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 237:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 238:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 240:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 264:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 277:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 278:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 280:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 297:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 297:25 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 299:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) Model/Element.php 9:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 11:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 13:22 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) Model/LayoutApiItem.php 49:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 51:22 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) Model/Template.php 9:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 11:22 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) Model/ResourceModel/Group/Collection.php 21:22 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 21:54 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) Model/ResourceModel/TemplateFields/Collection.php 21:22 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 21:63 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) Model/ResourceModel/Template/Collection.php 21:22 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 21:57 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) Model/ResourceModel/Template.php 9:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/ResourceModel/Element/Collection.php 21:22 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 21:56 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) Model/ResourceModel/TemplateFields.php 9:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/ResourceModel/Group.php 9:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/LayoutApi.php 9:41 warning Opening brace of a class must be on the line after the definition (PSR2.Classes.ClassDeclaration.OpenBraceNewLine) 17:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 18:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 34:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 38:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 52:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/TemplateFields.php 9:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 11:22 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) Model/Group.php 9:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 11:22 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) Setup/InstallSchema.php 1:1 error InstallSchema scripts are obsolete. Please use declarative schema approach in module's etc/db_schema.xml file (Magento2.Legacy.InstallUpgrade.ObsoleteInstallSchemaScript) 13:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 608:1 warning Code must not contain multiple empty lines in a row; found 3 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) Setup/InstallData.php 1:1 error InstallData scripts are obsolete. Please use data patches approach in module's Setup/Patch/Data dir (Magento2.Legacy.InstallUpgrade.ObsoleteInstallDataScript) 13:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 15:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 21:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 22:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 24:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) Setup/ElementSetup.php 9:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 14:35 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 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) 13:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 15:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) etc/webapi.xml 3:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 4:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 5:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 6:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 7:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 8:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) Controller/Adminhtml/Group/Index.php 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) 18:51 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) Controller/Adminhtml/Group/NewAction.php 29:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 30:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Controller/Adminhtml/Group/Delete.php 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) Controller/Adminhtml/Group/Edit.php 10:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 11:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Controller/Adminhtml/Group/Save.php 114:40 warning Possible raw SQL statement "DELETE FROM $table WHERE group_id = $groupId " detected. (Magento2.SQL.RawQuery.FoundRawSql) 118:35 warning Possible raw SQL statement "INSERT INTO $table (group_id, store_id) VALUES ($groupId, $store) detected. (Magento2.SQL.RawQuery.FoundRawSql) 126:22 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 130:40 warning Possible raw SQL statement "UPDATE $table SET `show_in_grid` = $showInGrid WHERE `group_id` = $groupId " detected. (Magento2.SQL.RawQuery.FoundRawSql) Controller/Adminhtml/Element.php 20:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 63:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 64:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Controller/Adminhtml/TemplateFields/NewAction.php 29:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 30:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Controller/Adminhtml/TemplateFields/Delete.php 12:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 13:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Controller/Adminhtml/TemplateFields/Edit.php 10:6 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 11:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 11:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 12:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 13:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) Controller/Adminhtml/TemplateFields/Save.php 130:140 warning Line exceeds 120 characters; contains 140 characters (Generic.Files.LineLength.TooLong) 139:136 warning Line exceeds 120 characters; contains 136 characters (Generic.Files.LineLength.TooLong) 186:8 warning Short description must start with a capital letter (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 188:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 229:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Controller/Adminhtml/Template/Index.php 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) 18:51 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) Controller/Adminhtml/Template/NewAction.php 29:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 30:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Controller/Adminhtml/Template/Delete.php 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) Controller/Adminhtml/Template/Edit.php 10:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 11:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Controller/Adminhtml/Template.php 19:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 35:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 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) Controller/Adminhtml/Element/NewAction.php 29:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 30:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Controller/Adminhtml/Element/Delete.php 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) Controller/Adminhtml/Element/Edit.php 10:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 11:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Controller/Adminhtml/Element/Save.php 47:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 77:134 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 93:12 warning Function's nesting level (6) exceeds 5; consider refactoring the function (Generic.Metrics.NestingLevel.TooHigh) 124:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 148:60 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) Controller/Adminhtml/TemplateFields.php 23:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 41:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 42:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 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) Controller/Adminhtml/Group.php 20:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 63:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 64:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Api/Data/ItemInterface.php 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) Api/LayoutApiInterface.php 18:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 19:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Block/Adminhtml/Group/Grid.php 34:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 35:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 45:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 46:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 53:68 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 54:57 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 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) Block/Adminhtml/Group/Edit/Tabs.php 9:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 10:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 20:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 21:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Block/Adminhtml/Group/Edit/Tab/Main.php 217:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 217:8 warning Short description must start with a capital letter (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 218:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 219:15 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) Block/Adminhtml/Element.php 9:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Block/Adminhtml/TemplateFields/Grid.php 34:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 35:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 45:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 46:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 65:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 66:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 101:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 102:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 103:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 104:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 105:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) Block/Adminhtml/TemplateFields/Edit/Tabs.php 9:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 10:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 20:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 21:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Block/Adminhtml/TemplateFields/Edit/Tab/Main.php 152:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Block/Adminhtml/TemplateFields/Edit.php 99:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 100:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 101:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 102:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 109:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 110:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 111:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 112:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) Block/Adminhtml/Template/Grid.php 34:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 35:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 45:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 46:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 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) Block/Adminhtml/Template/Edit/Tabs.php 9:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 10:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 20:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 21:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Block/Adminhtml/Template/Edit/Tab/Main.php 18:12 warning Possible useless method overriding detected (Generic.CodeAnalysis.UselessOverridingMethod.Found) Block/Adminhtml/Template.php 9:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Block/Adminhtml/Element/Grid.php 34:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 35:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 45:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 46:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 57:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 58:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 114:18 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 130:1 warning Multi-line function call not indented correctly; expected 16 spaces but found 20 (PSR2.Methods.FunctionCallSignature.Indent) 131:1 warning Multi-line function call not indented correctly; expected 16 spaces but found 20 (PSR2.Methods.FunctionCallSignature.Indent) 132:1 warning Multi-line function call not indented correctly; expected 12 spaces but found 20 (PSR2.Methods.FunctionCallSignature.Indent) 132:65 warning Closing parenthesis of a multi-line function call must be on a line by itself (PSR2.Methods.FunctionCallSignature.CloseBracketLine) 154:1 warning Multi-line function call not indented correctly; expected 16 spaces but found 20 (PSR2.Methods.FunctionCallSignature.Indent) 154:56 warning Closing parenthesis of a multi-line function call must be on a line by itself (PSR2.Methods.FunctionCallSignature.CloseBracketLine) Block/Adminhtml/Element/Edit/Tabs.php 9:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 10:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 20:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 21:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Block/Adminhtml/Element/Edit/Tab/Main.php 15:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 71:37 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 131:130 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 172:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 172:11 warning Line indented incorrectly; expected 16 spaces, found 10 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 184:21 warning Line indented incorrectly; expected at least 26 spaces, found 20 (Generic.WhiteSpace.ScopeIndent.Incorrect) 185:21 warning Terminating statement must be indented to the same level as the CASE body (PSR2.ControlStructures.SwitchDeclaration.BreakIndent) 197:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) Block/Adminhtml/Element/Helper/CategoryMultiselect.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:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 16:1 warning Multi-line function declaration not indented correctly; expected 4 spaces but found 8 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 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) 25:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 27:67 warning Space found before comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.SpaceBeforeComma) 30:5 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 34:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 53:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 55:53 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 55:59 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 60:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 63:20 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 65:50 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 67:36 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 70:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 70:38 warning Expected 1 space between comma and argument "$j"; 0 found (Squiz.Functions.FunctionDeclarationArgumentSpacing.NoSpaceBeforeArg) 70:42 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 76:64 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 79:99 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 84:10 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) Block/Adminhtml/Element/Helper/Image.php 9:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) Block/Adminhtml/Element/Helper/CategoryChooser.php 10:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Block/Adminhtml/TemplateFields.php 9:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Block/Adminhtml/Group.php 9:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)