Magento Coding Standard (PHPCS) report for orangecat/imageaistudio ================================================================== Package version: 1.0.0 | Magento: 2.4.9 | Tested: 2026-05-26 10 errors, 370 warnings in 34 files Plugin/GalleryContentPlugin.php 28:9 warning Empty IF statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedIf) Plugin/UsageTotalsPlugin.php 31:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 32:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Helper/Data.php 19: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) 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) 23: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) 31:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 39:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 44:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 53:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 58:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 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) 71:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 72:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 79:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 80:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Service/UsageTracker.php 19:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 20:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 21:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 23:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 33:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 34:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 56:38 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 69:1 warning Multi-line function call not indented correctly; expected 16 spaces but found 17 (PSR2.Methods.FunctionCallSignature.Indent) 70:1 warning Multi-line function call not indented correctly; expected 16 spaces but found 17 (PSR2.Methods.FunctionCallSignature.Indent) 70:25 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 70:40 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 70:49 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) Model/Service/ImageGenerator.php 25:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 26:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 27:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 28:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 29:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 30:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 31:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 33:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 53:78 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 54:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 86:17 warning The use of function file_exists() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 87:33 warning The use of function file_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 112:17 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 126:32 warning The use of function file_exists() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 127:46 warning The use of function file_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 133:125 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 169:47 warning The use of function base64_decode() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 177:22 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 181:39 warning The use of function base64_decode() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 208:11 warning Exceptions must not be handled in the same function where they are thrown. (Magento2.Exceptions.ThrowCatch.ThrowCatch) 214:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) Model/Service/VideoGenerator.php 24:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 25:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 26:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 27:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 28:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 29:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 30:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 31:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 33:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 55:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 76:34 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 110:17 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 121:11 warning Exceptions must not be handled in the same function where they are thrown. (Magento2.Exceptions.ThrowCatch.ThrowCatch) 127:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 136:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 160:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 168:22 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 169:22 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 170:22 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 178:41 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 200:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 209:17 warning The use of function escapeshellarg() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 211:25 error The use of function shell_exec() is forbidden (Magento2.Security.InsecureFunction.Found) 219:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 234:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) Model/Service/ActivityLogger.php 18:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 19:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 21:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 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) 55:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) Model/Usage.php 17:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Video.php 17:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/ResourceModel/Video/Collection.php 17:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 19:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/ResourceModel/Usage.php 17:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/ResourceModel/Video.php 17:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/ResourceModel/Usage/Collection.php 17:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 19:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/ResourceModel/Log.php 17:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/ResourceModel/Log/Collection.php 17:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 19:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Config/Source/MediaType.php 17:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 18:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Log.php 17:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Controller/Adminhtml/Video/UpdateVisibility.php 68:17 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 73:17 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) Controller/Adminhtml/Ai/Generate.php 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) 29:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 31:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 51:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 64:17 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 75:18 warning The use of function file_exists() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 76:18 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 93:121 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 97:39 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 98:49 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 103:11 warning Exceptions must not be handled in the same function where they are thrown. (Magento2.Exceptions.ThrowCatch.ThrowCatch) Controller/Adminhtml/Ai/CheckStatus.php 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) 25:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 37:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Controller/Adminhtml/Ai/Save.php 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) 32:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 52:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 86:22 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 90:18 warning The use of function file_exists() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 91:17 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 98:26 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 99:26 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 100:26 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 112:55 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 141:11 warning Exceptions must not be handled in the same function where they are thrown. (Magento2.Exceptions.ThrowCatch.ThrowCatch) Controller/Adminhtml/Usage/Index.php 19:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) Controller/Adminhtml/Docs/Index.php 21:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) Controller/Adminhtml/Log/Index.php 19:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) view/frontend/templates/product/view/gallery.phtml 14:1 warning Line exceeds 120 characters; contains 138 characters (Generic.Files.LineLength.TooLong) 27:43 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 32:46 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 36:50 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) view/frontend/web/css/source/_module.less 2:32 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 8:17 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 10:23 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 16:16 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 18:28 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 33:25 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 41:31 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 46:28 warning Expected 0 blank lines before closing brace of class definition; -1 found (Magento2.Less.BracesFormatting.SpacingBeforeClose) 47:1 warning Line indented incorrectly; expected 12 spaces, found 8 (Magento2.Less.Indentation.Incorrect) 49:1 warning Line indented incorrectly; expected 12 spaces, found 8 (Magento2.Less.Indentation.Incorrect) 50:1 warning Line indented incorrectly; expected 16 spaces, found 12 (Magento2.Less.Indentation.Incorrect) 51:1 warning Line indented incorrectly; expected 16 spaces, found 12 (Magento2.Less.Indentation.Incorrect) 52:1 warning Line indented incorrectly; expected 16 spaces, found 12 (Magento2.Less.Indentation.Incorrect) 52:21 warning Units specified for "0" value (Magento2.Less.ZeroUnits.ZeroUnitFound) 52:31 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 53:1 warning Line indented incorrectly; expected 16 spaces, found 12 (Magento2.Less.Indentation.Incorrect) 54:1 warning Line indented incorrectly; expected 16 spaces, found 12 (Magento2.Less.Indentation.Incorrect) 55:1 warning Line indented incorrectly; expected 16 spaces, found 12 (Magento2.Less.Indentation.Incorrect) 55:25 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 55:29 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 57:1 warning Line indented incorrectly; expected 16 spaces, found 12 (Magento2.Less.Indentation.Incorrect) 58:1 warning Line indented incorrectly; expected 20 spaces, found 16 (Magento2.Less.Indentation.Incorrect) 59:1 warning Line indented incorrectly; expected 20 spaces, found 16 (Magento2.Less.Indentation.Incorrect) 60:1 warning Line indented incorrectly; expected 20 spaces, found 16 (Magento2.Less.Indentation.Incorrect) 61:1 warning Line indented incorrectly; expected 20 spaces, found 16 (Magento2.Less.Indentation.Incorrect) 61:26 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 61:29 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 62:1 warning Line indented incorrectly; expected 16 spaces, found 12 (Magento2.Less.Indentation.Incorrect) 64:1 warning Line indented incorrectly; expected 16 spaces, found 12 (Magento2.Less.Indentation.Incorrect) 65:1 warning Line indented incorrectly; expected 20 spaces, found 16 (Magento2.Less.Indentation.Incorrect) 66:1 warning Line indented incorrectly; expected 20 spaces, found 16 (Magento2.Less.Indentation.Incorrect) 67:1 warning Line indented incorrectly; expected 20 spaces, found 16 (Magento2.Less.Indentation.Incorrect) 68:1 warning Line indented incorrectly; expected 20 spaces, found 16 (Magento2.Less.Indentation.Incorrect) 69:1 warning Line indented incorrectly; expected 20 spaces, found 16 (Magento2.Less.Indentation.Incorrect) 70:1 warning Line indented incorrectly; expected 20 spaces, found 16 (Magento2.Less.Indentation.Incorrect) 71:1 warning Line indented incorrectly; expected 20 spaces, found 16 (Magento2.Less.Indentation.Incorrect) 72:1 warning Line indented incorrectly; expected 20 spaces, found 16 (Magento2.Less.Indentation.Incorrect) 73:1 warning Line indented incorrectly; expected 20 spaces, found 16 (Magento2.Less.Indentation.Incorrect) 73:43 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 73:47 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 75:1 warning Line indented incorrectly; expected 20 spaces, found 16 (Magento2.Less.Indentation.Incorrect) 76:1 warning Line indented incorrectly; expected 24 spaces, found 20 (Magento2.Less.Indentation.Incorrect) 77:1 warning Line indented incorrectly; expected 24 spaces, found 20 (Magento2.Less.Indentation.Incorrect) 78:1 warning Line indented incorrectly; expected 24 spaces, found 20 (Magento2.Less.Indentation.Incorrect) 79:1 warning Line indented incorrectly; expected 24 spaces, found 20 (Magento2.Less.Indentation.Incorrect) 80:1 warning Line indented incorrectly; expected 24 spaces, found 20 (Magento2.Less.Indentation.Incorrect) 80:71 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 80:75 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 81:1 warning Line indented incorrectly; expected 20 spaces, found 16 (Magento2.Less.Indentation.Incorrect) 82:1 warning Line indented incorrectly; expected 16 spaces, found 12 (Magento2.Less.Indentation.Incorrect) 83:1 warning Line indented incorrectly; expected 12 spaces, found 8 (Magento2.Less.Indentation.Incorrect) 84:1 warning Line indented incorrectly; expected 8 spaces, found 4 (Magento2.Less.Indentation.Incorrect) 85:1 warning Line indented incorrectly; expected 4 spaces, found 0 (Magento2.Less.Indentation.Incorrect) 87:1 warning Line indented incorrectly; expected 4 spaces, found 0 (Magento2.Less.Indentation.Incorrect) 87:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 88:1 warning Line indented incorrectly; expected 4 spaces, found 0 (Magento2.Less.Indentation.Incorrect) 89:1 warning Line indented incorrectly; expected 8 spaces, found 4 (Magento2.Less.Indentation.Incorrect) 90:1 warning Line indented incorrectly; expected 8 spaces, found 4 (Magento2.Less.Indentation.Incorrect) 91:1 warning Line indented incorrectly; expected 8 spaces, found 4 (Magento2.Less.Indentation.Incorrect) 92:1 warning Line indented incorrectly; expected 8 spaces, found 4 (Magento2.Less.Indentation.Incorrect) 93:1 warning Line indented incorrectly; expected 8 spaces, found 4 (Magento2.Less.Indentation.Incorrect) 94:1 warning Line indented incorrectly; expected 8 spaces, found 4 (Magento2.Less.Indentation.Incorrect) 95:1 warning Line indented incorrectly; expected 8 spaces, found 4 (Magento2.Less.Indentation.Incorrect) 96:1 warning Line indented incorrectly; expected 8 spaces, found 4 (Magento2.Less.Indentation.Incorrect) 96:37 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 97:1 warning Line indented incorrectly; expected 8 spaces, found 4 (Magento2.Less.Indentation.Incorrect) 98:1 warning Line indented incorrectly; expected 8 spaces, found 4 (Magento2.Less.Indentation.Incorrect) 99:1 warning Line indented incorrectly; expected 8 spaces, found 4 (Magento2.Less.Indentation.Incorrect) 99:31 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 101:1 warning Line indented incorrectly; expected 8 spaces, found 4 (Magento2.Less.Indentation.Incorrect) 102:1 warning Line indented incorrectly; expected 12 spaces, found 8 (Magento2.Less.Indentation.Incorrect) 103:1 warning Line indented incorrectly; expected 12 spaces, found 8 (Magento2.Less.Indentation.Incorrect) 104:1 warning Line indented incorrectly; expected 12 spaces, found 8 (Magento2.Less.Indentation.Incorrect) 105:1 warning Line indented incorrectly; expected 12 spaces, found 8 (Magento2.Less.Indentation.Incorrect) 105:21 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 106:1 warning Line indented incorrectly; expected 12 spaces, found 8 (Magento2.Less.Indentation.Incorrect) 107:1 warning Line indented incorrectly; expected 12 spaces, found 8 (Magento2.Less.Indentation.Incorrect) 108:1 warning Line indented incorrectly; expected 12 spaces, found 8 (Magento2.Less.Indentation.Incorrect) 108:44 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 108:48 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 110:1 warning Line indented incorrectly; expected 12 spaces, found 8 (Magento2.Less.Indentation.Incorrect) 111:1 warning Line indented incorrectly; expected 16 spaces, found 12 (Magento2.Less.Indentation.Incorrect) 112:1 warning Line indented incorrectly; expected 16 spaces, found 12 (Magento2.Less.Indentation.Incorrect) 112:27 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 113:1 warning Line indented incorrectly; expected 12 spaces, found 8 (Magento2.Less.Indentation.Incorrect) 115:1 warning Line indented incorrectly; expected 12 spaces, found 8 (Magento2.Less.Indentation.Incorrect) 116:1 warning Line indented incorrectly; expected 16 spaces, found 12 (Magento2.Less.Indentation.Incorrect) 117:1 warning Line indented incorrectly; expected 16 spaces, found 12 (Magento2.Less.Indentation.Incorrect) 118:1 warning Line indented incorrectly; expected 16 spaces, found 12 (Magento2.Less.Indentation.Incorrect) 119:1 warning Line indented incorrectly; expected 16 spaces, found 12 (Magento2.Less.Indentation.Incorrect) 119:20 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 120:1 warning Line indented incorrectly; expected 16 spaces, found 12 (Magento2.Less.Indentation.Incorrect) 121:1 warning Line indented incorrectly; expected 16 spaces, found 12 (Magento2.Less.Indentation.Incorrect) 122:1 warning Line indented incorrectly; expected 16 spaces, found 12 (Magento2.Less.Indentation.Incorrect) 123:1 warning Line indented incorrectly; expected 16 spaces, found 12 (Magento2.Less.Indentation.Incorrect) 124:1 warning Line indented incorrectly; expected 16 spaces, found 12 (Magento2.Less.Indentation.Incorrect) 124:49 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 124:53 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 126:1 warning Line indented incorrectly; expected 16 spaces, found 12 (Magento2.Less.Indentation.Incorrect) 127:1 warning Line indented incorrectly; expected 20 spaces, found 16 (Magento2.Less.Indentation.Incorrect) 128:1 warning Line indented incorrectly; expected 16 spaces, found 12 (Magento2.Less.Indentation.Incorrect) 129:1 warning Line indented incorrectly; expected 12 spaces, found 8 (Magento2.Less.Indentation.Incorrect) 130:1 warning Line indented incorrectly; expected 8 spaces, found 4 (Magento2.Less.Indentation.Incorrect) view/adminhtml/templates/studio.phtml 28:27 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 29:39 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 30:41 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 31:44 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 32:37 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) view/adminhtml/templates/product/video/management.phtml 17:41 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 22:25 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 30:63 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 31:58 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 32:64 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 33:62 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 34:61 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 39:56 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 45:75 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 45:131 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 46:57 warning Using escapeHtmlAttr on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 48:66 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 48:122 warning Line exceeds 120 characters; contains 146 characters (Generic.Files.LineLength.TooLong) 54:45 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 59:64 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 62:90 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 63:101 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 64:108 warning Using escapeHtmlAttr on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 64:169 warning Using escapeHtmlAttr on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 64:200 warning Line exceeds 120 characters; contains 208 characters (Generic.Files.LineLength.TooLong) 71:59 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 77:76 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 78:55 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 87:25 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 87:120 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 167:40 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 198:28 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 236:28 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) view/adminhtml/templates/usage/total.phtml 16:1 warning Line exceeds 120 characters; contains 310 characters (Generic.Files.LineLength.TooLong) 19:50 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 20:69 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 33:1 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) view/adminhtml/templates/docs.phtml 20:1 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 26:1 warning Line exceeds 120 characters; contains 175 characters (Generic.Files.LineLength.TooLong) 27:1 warning Line exceeds 120 characters; contains 166 characters (Generic.Files.LineLength.TooLong) 46:1 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 48:1 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 50:1 warning Line exceeds 120 characters; contains 140 characters (Generic.Files.LineLength.TooLong) 54:1 warning Line exceeds 120 characters; contains 163 characters (Generic.Files.LineLength.TooLong) 62:1 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 72:1 warning Line exceeds 120 characters; contains 223 characters (Generic.Files.LineLength.TooLong) view/adminhtml/web/css/source/_module.less 7:17 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 10:12 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 14:43 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 31:20 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 45:29 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 54:45 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 66:29 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 78:25 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 83:20 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 83:27 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 88:21 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 89:27 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 90:16 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 93:25 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 97:32 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 98:21 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 102:16 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 102:23 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 110:16 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 111:24 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 122:27 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 122:34 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 132:21 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 133:27 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 135:25 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 147:28 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 156:35 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 158:29 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 158:33 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 167:22 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 172:25 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 173:50 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 175:22 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 192:37 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 194:28 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 200:21 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 202:21 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 207:29 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 215:16 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 218:24 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 230:32 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 237:27 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 250:37 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 250:55 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 250:61 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 250:66 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 253:39 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 255:33 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 259:62 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 259:67 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 263:43 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 270:39 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 278:35 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 286:26 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 293:46 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 294:27 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 295:21 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 296:35 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 296:48 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 302:20 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 302:24 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 307:32 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 315:54 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 316:35 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 320:29 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 324:54 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 324:59 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 347:14 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 350:21 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 353:45 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 359:31 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 359:40 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 366:25 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 370:26 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 379:24 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 380:33 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 386:24 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 386:31 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) view/adminhtml/web/js/studio.js 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "
" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "
" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) Cron/CleanLogs.php 19:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 20:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 21:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 23:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 33:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Block/Adminhtml/Studio.php 72:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)