Magento Coding Standard (PHPCS) report for devstone/module-imagequality ======================================================================= Package version: 1.0.0 | Magento: 2.4.9 | Tested: 2026-06-01 2 errors, 258 warnings in 5 files Helper/Image.php 13:44 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 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) 33:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 34:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 34:4 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 35:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 36:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 37:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 38:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 48:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) 51:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 52:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 54:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 65:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 69:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 69:5 warning Line indented incorrectly; expected at least 16 spaces, found 4 (Generic.WhiteSpace.ScopeIndent.Incorrect) 72:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 72:5 warning Line indented incorrectly; expected 16 spaces, found 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 74:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 74:6 warning Line indented incorrectly; expected at least 20 spaces, found 5 (Generic.WhiteSpace.ScopeIndent.Incorrect) 75:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 75:1 warning Multi-line function call not indented correctly; expected 9 spaces but found 6 (PSR2.Methods.FunctionCallSignature.Indent) 75:7 warning Line indented incorrectly; expected at least 20 spaces, found 6 (Generic.WhiteSpace.ScopeIndent.Incorrect) 75:27 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 76:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 76:1 warning Multi-line function call not indented correctly; expected 9 spaces but found 6 (PSR2.Methods.FunctionCallSignature.Indent) 76:7 warning Line indented incorrectly; expected at least 20 spaces, found 6 (Generic.WhiteSpace.ScopeIndent.Incorrect) 77:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 77:1 warning Multi-line function call not indented correctly; expected 9 spaces but found 6 (PSR2.Methods.FunctionCallSignature.Indent) 77:7 warning Line indented incorrectly; expected at least 20 spaces, found 6 (Generic.WhiteSpace.ScopeIndent.Incorrect) 78:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 78:1 warning Multi-line function call not indented correctly; expected 9 spaces but found 6 (PSR2.Methods.FunctionCallSignature.Indent) 78:7 warning Line indented incorrectly; expected at least 20 spaces, found 6 (Generic.WhiteSpace.ScopeIndent.Incorrect) 78:15 warning Spaces must be used for alignment; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.NonIndentTabsUsed) 79:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 79:1 warning Multi-line function call not indented correctly; expected 9 spaces but found 6 (PSR2.Methods.FunctionCallSignature.Indent) 79:7 warning Line indented incorrectly; expected at least 20 spaces, found 6 (Generic.WhiteSpace.ScopeIndent.Incorrect) 79:20 warning Spaces must be used for alignment; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.NonIndentTabsUsed) 80:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 80:6 warning Line indented incorrectly; expected at least 32 spaces, found 5 (Generic.WhiteSpace.ScopeIndent.Incorrect) 81:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 82:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 82:6 warning Line indented incorrectly; expected 32 spaces, found 5 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 83:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 83:7 warning Line indented incorrectly; expected at least 36 spaces, found 6 (Generic.WhiteSpace.ScopeIndent.Incorrect) 84:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 84:6 warning Line indented incorrectly; expected 32 spaces, found 5 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 85:17 warning Closing brace indented incorrectly; expected 4 spaces, found 16 (Squiz.WhiteSpace.ScopeClosingBrace.Indent) 87:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 90:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 90:5 warning Line indented incorrectly; expected at least 16 spaces, found 4 (Generic.WhiteSpace.ScopeIndent.Incorrect) Image/Adapter/Gd2.php 21: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) 31:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 36:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 37:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 38:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 39:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 57:20 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 101:67 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 119:33 warning The use of function imagecreatetruecolor() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 121:33 warning The use of function imagecreate() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 124:17 warning The use of function imagecopy() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 131:9 warning The use of function imageinterlace() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 153:9 warning The use of function call_user_func_array() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 157:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 159:21 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 185:37 error Silencing errors is discouraged; found: @imagecreatefrompng($cachedFilename... (Generic.PHP.NoSilencedErrors.Discouraged) 185:38 warning The use of function imagecreatefrompng() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 192:22 warning The use of function call_user_func() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 197:9 warning The use of function imagesavealpha() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 199:23 warning The use of function imageistruecolor() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 200:13 warning The use of function imagepalettetotruecolor() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 207:29 warning The use of function imagecreatetruecolor() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 208:13 warning The use of function imagealphablending() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 209:13 warning The use of function imagesavealpha() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 211:17 warning The use of function imageantialias() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 213:28 warning The use of function imagecolorallocatealpha() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 214:13 warning The use of function imagefill() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 215:13 warning The use of function imagecolortransparent() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 217:13 warning The use of function imagecopyresampled() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 226:17 warning The use of function imagesx() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 227:17 warning The use of function imagesy() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 236:9 warning The use of function imagepng() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 265:57 warning The use of function imagesy() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 266:60 warning The use of function imagesx() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 267:21 warning The use of function imagecopy() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 274:25 warning The use of function imagesx() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 275:25 warning The use of function imagesy() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 277:33 warning The use of function imagesx() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 280:29 warning The use of function imagesy() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 286:58 warning The use of function imagesx() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 287:59 warning The use of function imagesy() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 289:54 warning The use of function imagesx() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 293:54 warning The use of function imagesx() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 294:55 warning The use of function imagesy() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 296:55 warning The use of function imagesy() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 299:13 warning The use of function imagecopy() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 306:17 warning The use of function imagesx() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 307:17 warning The use of function imagesy() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 329:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 332:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 336:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 341:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 355:33 warning The use of function imagecolortransparent() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 374:51 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 376:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 380:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 388:14 warning The use of function imagesx() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 389:14 warning The use of function imagesy() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 392:9 warning The use of function imagealphablending() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 398:28 warning The use of function imagecolorat() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 404:33 warning The use of function imagecolorallocatealpha() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 412:22 warning The use of function imagesetpixel() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 428:13 warning $fname parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 428:13 warning Function's nesting level (6) exceeds 5; consider refactoring the function (Generic.Metrics.NestingLevel.TooHigh) 430:14 warning The use of function file_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 503:13 warning $fname parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 508:14 warning The use of function file_exists() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 511:14 warning The use of function is_readable() is discouraged; use Magento\Framework\Filesystem\DriverInterface::isReadable() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 515:14 warning The use of function file_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 517:13 warning The use of function file_put_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 524:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 528:13 warning $f parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 528:13 warning $pos parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 530:16 warning The use of function unpack() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 537:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 541:13 warning $f parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 541:13 warning $pos parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 543:16 warning The use of function unpack() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 550:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 555:13 warning $f parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 555:13 warning $pos parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 555:13 warning $size parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 568:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 572:13 warning $f parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 572:13 warning $pos parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 576:14 warning The use of function unpack() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 583:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 587:13 warning $f parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 587:13 warning $pos parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 603:13 warning $jpeg_data parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 671:13 warning $data parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 712:13 warning $chunk_no parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Image/Adapter/GraphicsMagick.php 12:4 warning Tag @author MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 19: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:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 28:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 28:2 warning Line indented incorrectly; expected 4 spaces, found 1 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 28:17 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 29:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 29:3 warning Line indented incorrectly; expected at least 4 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) 30:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 30:3 warning Line indented incorrectly; expected at least 4 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) 31:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 31:3 warning Line indented incorrectly; expected at least 4 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) 32:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 32:3 warning Line indented incorrectly; expected at least 4 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) 33:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 33:3 warning Line indented incorrectly; expected at least 4 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) 34:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 34:3 warning Line indented incorrectly; expected at least 4 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) 35:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 35:3 warning Line indented incorrectly; expected at least 4 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) 36:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 36:2 warning Line indented incorrectly; expected at least 4 spaces, found 1 (Generic.WhiteSpace.ScopeIndent.Incorrect) 38:20 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 40:20 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 41:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 42:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 42:2 warning Line indented incorrectly; expected 4 spaces, found 1 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 42:17 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 44:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 45:6 warning Expected 2 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 46:6 warning Expected 2 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 47:6 warning Expected 2 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 48:6 warning Expected 2 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 97:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 98:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 98:3 warning Line indented incorrectly; expected 8 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 98:7 warning Expected 0 spaces after opening bracket; 1 found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 99:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 100:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 100:4 warning Line indented incorrectly; expected 12 spaces, found 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 101:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 101:5 warning Line indented incorrectly; expected at least 16 spaces, found 4 (Generic.WhiteSpace.ScopeIndent.Incorrect) 102:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 102:4 warning Line indented incorrectly; expected 12 spaces, found 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 103:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 103:4 warning Line indented incorrectly; expected at least 12 spaces, found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) 104:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 104:3 warning Line indented incorrectly; expected 8 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 105:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 106:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 106:4 warning Line indented incorrectly; expected at least 12 spaces, found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) 108:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 108:4 warning Line indented incorrectly; expected 12 spaces, found 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 109:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 109:5 warning Line indented incorrectly; expected at least 16 spaces, found 4 (Generic.WhiteSpace.ScopeIndent.Incorrect) 110:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 110:4 warning Line indented incorrectly; expected 12 spaces, found 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 111:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 111:5 warning Line indented incorrectly; expected at least 16 spaces, found 4 (Generic.WhiteSpace.ScopeIndent.Incorrect) 111:5 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 112:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 112:4 warning Line indented incorrectly; expected 12 spaces, found 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 114:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 114:4 warning Line indented incorrectly; expected at least 12 spaces, found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) 115:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 115:4 warning Line indented incorrectly; expected at least 12 spaces, found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) 116:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 116:4 warning Line indented incorrectly; expected at least 12 spaces, found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) 117:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 118:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 118:4 warning Line indented incorrectly; expected at least 12 spaces, found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) 119:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 119:4 warning Line indented incorrectly; expected at least 12 spaces, found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) 120:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 121:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 121:4 warning Line indented incorrectly; expected 12 spaces, found 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 122:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 122:5 warning Line indented incorrectly; expected at least 16 spaces, found 4 (Generic.WhiteSpace.ScopeIndent.Incorrect) 123:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 123:4 warning Line indented incorrectly; expected 12 spaces, found 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 124:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 124:3 warning Line indented incorrectly; expected 8 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 129:67 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 140:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 140:3 warning Line indented incorrectly; expected at least 8 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) 165:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 166:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 258:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 260:21 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 275:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 289:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 293:35 warning The use of function file_exists() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 317:28 warning The use of function imagecreatefromstring() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 319:13 warning The use of function imagesavealpha() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 321:27 warning The use of function imageistruecolor() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 322:17 warning The use of function imagepalettetotruecolor() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 327:13 warning The use of function ob_start() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 328:13 warning The use of function imagepng() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 411:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 424:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 571:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 574:34 warning The use of function file_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Image/Adapter/ImageMagick.php 12:4 warning Tag @author MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 20:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 34:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 37:34 warning The use of function file_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 42:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 82:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 89:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 91:21 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 118:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 122:35 warning The use of function file_exists() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 172:35 warning The use of function file_exists() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 241:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow)