Magento Coding Standard (PHPCS) report for cloudinary/cloudinary-magento2 ========================================================================= Package version: 2.1.8 | Magento: 2.4.9 | Tested: 2026-08-26 823 warnings in 137 files Command/UploadImages.php 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) Command/StopMigration.php 13:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 14:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) Command/DownloadImages.php 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) 27:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 55:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 79:159 warning Line exceeds 120 characters; contains 159 characters (Generic.Files.LineLength.TooLong) 122:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 135:125 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) Command/ResetAll.php 18:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 20:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 21: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) 25:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 32:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 33:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 34:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 35:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 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) 185:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) Plugin/SwatchImageUrlPlugin.php 2:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) 13:1 warning There must be one blank line after the last USE statement; 0 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) 47:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 54:8 warning $configInterface parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 55:8 warning $imageFactory parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 57:12 warning $configurationBuilder parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 99:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 112:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 113:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 124:30 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 129:28 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 138:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 139:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 145:1 warning Multi-line function call not indented correctly; expected 20 spaces but found 24 (PSR2.Methods.FunctionCallSignature.Indent) 146:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) Plugin/Theme/Block/Html/Header/Logo.php 127:25 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 200:29 warning The use of function unlink() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 202:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 270:24 warning The use of function stream_context_create() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 283:28 warning The use of function get_headers() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 309:25 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 311:25 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 340:26 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 345:24 warning The use of function stream_context_create() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 356:28 warning The use of function file_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 358:17 warning The use of function file_put_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 367:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Plugin/Widget/Model/Template/Filter.php 74:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 85:143 warning Line exceeds 120 characters; contains 143 characters (Generic.Files.LineLength.TooLong) Plugin/Catalog/Model/Product/Image/UrlBuilder.php 112:137 warning Line exceeds 120 characters; contains 137 characters (Generic.Files.LineLength.TooLong) 124:26 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 125:67 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 140:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 179:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 180:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 181:141 warning Line exceeds 120 characters; contains 141 characters (Generic.Files.LineLength.TooLong) Plugin/Catalog/Block/Product/View/Gallery.php 42:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 181:13 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 196:90 warning Expected 0 spaces before closing bracket; 1 found (PSR2.ControlStructures.ControlStructureSpacing.SpaceBeforeCloseBrace) 198:173 warning Line exceeds 120 characters; contains 173 characters (Generic.Files.LineLength.TooLong) 213:134 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) Plugin/Catalog/Block/Product/ImageFactory.php 133:147 warning Line exceeds 120 characters; contains 147 characters (Generic.Files.LineLength.TooLong) 135:23 warning The use of function call_user_func_array() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 149:154 warning Line exceeds 120 characters; contains 174 characters (Generic.Files.LineLength.TooLong) 155:49 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 159:63 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 170:146 warning Line exceeds 120 characters; contains 146 characters (Generic.Files.LineLength.TooLong) 241:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 242:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 243:134 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) Plugin/Catalog/Block/Category/View.php 11:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) Plugin/CmsBlockLazyloadAbstract.php 14:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 57:252 warning Line exceeds 120 characters; contains 252 characters (Generic.Files.LineLength.TooLong) 70:276 warning Line exceeds 120 characters; contains 276 characters (Generic.Files.LineLength.TooLong) 71:211 warning Line exceeds 120 characters; contains 211 characters (Generic.Files.LineLength.TooLong) 74:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) Plugin/FileRemover.php 52:12 warning $storage parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Plugin/FileUploader.php 15:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 77:1 warning Code must not contain multiple empty lines in a row; found 3 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 98:143 warning Line exceeds 120 characters; contains 143 characters (Generic.Files.LineLength.TooLong) 105:15 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 107:15 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 121:25 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) Plugin/Ui/Component/Form/Element/DataType/Media.php 15:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 18:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 85:154 warning Line exceeds 120 characters; contains 154 characters (Generic.Files.LineLength.TooLong) 92:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) Plugin/CustomMediaPath/HtmlReplacer.php 179:148 warning Line exceeds 120 characters; contains 148 characters (Generic.Files.LineLength.TooLong) 185:145 warning Line exceeds 120 characters; contains 145 characters (Generic.Files.LineLength.TooLong) 192:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 221:133 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) Plugin/Config/Block/System/Config/Form/Field/Image.php 4:4 warning Line exceeds 120 characters; contains 152 characters (Generic.Files.LineLength.TooLong) 19:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 31:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 66:241 warning Line exceeds 120 characters; contains 244 characters (Generic.Files.LineLength.TooLong) 67:1 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) Plugin/CatalogImportExport/Model/Import/Uploader.php 105:151 warning Line exceeds 120 characters; contains 151 characters (Generic.Files.LineLength.TooLong) 111:130 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 135:154 warning Line exceeds 120 characters; contains 154 characters (Generic.Files.LineLength.TooLong) 146:221 warning Line exceeds 120 characters; contains 221 characters (Generic.Files.LineLength.TooLong) 147:46 warning The use of function rawurldecode() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 151:121 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 154:46 warning The use of function rawurldecode() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Plugin/CatalogImportExport/Model/Import/Product/MediaGalleryProcessor.php 120:187 warning Line exceeds 120 characters; contains 187 characters (Generic.Files.LineLength.TooLong) 124:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 141:121 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) Plugin/AttributeSavePlugin.php 13:1 warning There must be one blank line after the last USE statement; 0 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) 16:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 34:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 54:1 warning Blank lines are not allowed in a multi-line function declaration (Squiz.Functions.MultiLineFunctionDeclaration.EmptyLine) 56: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) 63:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) 64:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 67:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 73:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 75:1 warning Code must not contain multiple empty lines in a row; found 4 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 86:12 warning Function's nesting level (6) exceeds 5; consider refactoring the function (Generic.Metrics.NestingLevel.TooHigh) 107:29 warning Expected 0 spaces after opening bracket; 1 found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 110:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) Helper/ProductGalleryHelper.php 17:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 94:14 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) Helper/MediaLibraryHelper.php 34:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 59:14 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 63:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 74:39 warning Line exceeds 120 characters; contains 192 characters (Generic.Files.LineLength.TooLong) 109:164 warning Line exceeds 120 characters; contains 164 characters (Generic.Files.LineLength.TooLong) Model/ImageRepository.php 14:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 16:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 50:76 warning The use of function realpath() is discouraged; use Magento\Framework\Filesystem\DriverInterface::getRealPath() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 50:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 58:24 warning The use of function basename() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 74:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 86:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Model/ProductImageFinder.php 14:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 16:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) Model/Synchronisation.php 28:16 warning The use of function basename() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Model/Framework/File/Uploader.php 28:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 31:21 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 33:16 warning The use of function file_exists() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 34:73 warning Increment and decrement operators must be bracketed when used in string concatenation (Squiz.Operators.IncrementDecrementUsage.NoBrackets) Model/AutoUploadMapping/AutoUploadConfiguration.php 11:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 12:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 13:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 14:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) Model/MigrationTask.php 11:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) Model/Configuration.php 35: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) 40:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 43:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 44:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 45:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 46:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 47:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 48:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 49:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 50:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 50:138 warning Line exceeds 120 characters; contains 138 characters (Generic.Files.LineLength.TooLong) 51:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 54:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 55:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 56:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 57:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 58:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 59:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 62: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 Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 64:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 65:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 66:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 66:125 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 67:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 68:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 69:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 70:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 71:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 73:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 75:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 77:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 78:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 79:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 82:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 83:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 84:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 85:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 86:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 87:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 88:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 89:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 90:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 91:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 92:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 93:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 94:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 95:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 96:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 97:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 98:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 99:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 100:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 101:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 102:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 102:134 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 103:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 103:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 104:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 105:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 106:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 110:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 111:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 112:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 113:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 114:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 115:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 116:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 117:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 120:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 121:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 122:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 124:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 125:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 126:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 127:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 128:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 129:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 130:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 132:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 132:223 warning Line exceeds 120 characters; contains 223 characters (Generic.Files.LineLength.TooLong) 150:8 warning Content missing for @var tag in class property declaration. (Magento2.Commenting.ClassPropertyPHPDocFormatting.EmptyVar) 270:145 warning Line exceeds 120 characters; contains 145 characters (Generic.Files.LineLength.TooLong) 273:20 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 274:13 warning Line indented incorrectly; expected 8 spaces, found 12 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 275:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 276:13 warning Line indented incorrectly; expected 8 spaces, found 12 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 278:13 warning Line indented incorrectly; expected 8 spaces, found 12 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 279:17 warning The use of function parse_str() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 280:13 warning Line indented incorrectly; expected 8 spaces, found 12 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 293:13 warning Line indented incorrectly; expected 8 spaces, found 12 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 296:13 warning Line indented incorrectly; expected 8 spaces, found 12 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 299:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 301:5 warning Function closing brace must go on the next line following the body; found 2 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) 356:12 warning Motivation behind the added @deprecated tag MUST be explained. @see tag MUST be used with reference to new implementation when code is deprecated and there is a new alternative. (Magento2.Annotation.MethodAnnotationStructure.InvalidDeprecatedTagUsage) 389:189 warning Line exceeds 120 characters; contains 189 characters (Generic.Files.LineLength.TooLong) 444:164 warning Line exceeds 120 characters; contains 164 characters (Generic.Files.LineLength.TooLong) 460:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 492:164 warning Line exceeds 120 characters; contains 164 characters (Generic.Files.LineLength.TooLong) 500:13 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 503:134 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 505:132 warning Line exceeds 120 characters; contains 132 characters (Generic.Files.LineLength.TooLong) 531:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 635:159 warning Line exceeds 120 characters; contains 159 characters (Generic.Files.LineLength.TooLong) 812:29 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 837:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 859:144 warning Line exceeds 120 characters; contains 144 characters (Generic.Files.LineLength.TooLong) 863:134 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 868:162 warning Line exceeds 120 characters; contains 162 characters (Generic.Files.LineLength.TooLong) 888:18 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 894:33 warning The use of function rawurldecode() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 897:22 warning The use of function rawurldecode() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 910:16 warning The use of function dirname() is discouraged; use Magento\Framework\Filesystem\DriverInterface::getParentDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 910:53 warning The use of function basename() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Model/SynchronisationChecker.php 113:162 warning Line exceeds 120 characters; contains 162 characters (Generic.Files.LineLength.TooLong) Model/SynchronisationRepository.php 114:12 warning Motivation behind the added @deprecated tag MUST be explained. @see tag MUST be used with reference to new implementation when code is deprecated and there is a new alternative. (Magento2.Annotation.MethodAnnotationStructure.InvalidDeprecatedTagUsage) Model/BatchUploader.php 12:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 12:244 warning Line exceeds 120 characters; contains 244 characters (Generic.Files.LineLength.TooLong) 13:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 14:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 16:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 17:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 18:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 19:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 76:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 76:135 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) 79:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 79:176 warning Line exceeds 120 characters; contains 176 characters (Generic.Files.LineLength.TooLong) Model/Observer/CatalogProductImportBunchSaveAfter.php 103:197 warning Line exceeds 120 characters; contains 197 characters (Generic.Files.LineLength.TooLong) Model/Observer/SaveProductTransform.php 31:8 warning $transformationFactor parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 34:12 warning $transformationFactory parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Observer/UploadProductImage.php 49:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Model/ResourceModel/ProductVideo.php 11:12 warning Possible useless method overriding detected (Generic.CodeAnalysis.UselessOverridingMethod.Found) Model/GraphQLResolver/ProductAttributeCldResolver.php 14:5 warning There must be one blank line after the last USE statement; 0 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) 18:5 warning Line indented incorrectly; expected 0 spaces, found 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 18:5 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 38:9 warning Line indented incorrectly; expected 4 spaces, found 8 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 50:9 warning Line indented incorrectly; expected 4 spaces, found 8 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 55:9 warning Line indented incorrectly; expected 4 spaces, found 8 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 58:13 warning Line indented incorrectly; expected 8 spaces, found 12 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 60:13 warning Line indented incorrectly; expected 8 spaces, found 12 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 63:13 warning Line indented incorrectly; expected 8 spaces, found 12 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 67:19 warning Line indented incorrectly; expected 12 spaces, found 18 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 69:23 warning Line indented incorrectly; expected 16 spaces, found 22 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 70:27 warning Line indented incorrectly; expected 20 spaces, found 26 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 71:31 warning Line indented incorrectly; expected 24 spaces, found 30 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 76:31 warning Line indented incorrectly; expected 24 spaces, found 30 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 77:27 warning Line indented incorrectly; expected 20 spaces, found 26 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 79:23 warning Line indented incorrectly; expected 16 spaces, found 22 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 80:19 warning Line indented incorrectly; expected 12 spaces, found 18 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 82:13 warning Line indented incorrectly; expected 8 spaces, found 12 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 88:9 warning Line indented incorrectly; expected 4 spaces, found 8 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 89:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 91:9 warning Line indented incorrectly; expected 4 spaces, found 8 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 91:41 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 92:13 warning Line indented incorrectly; expected 8 spaces, found 12 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 96:13 warning Line indented incorrectly; expected 8 spaces, found 12 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 98:9 warning Line indented incorrectly; expected 4 spaces, found 8 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 99:5 warning Line indented incorrectly; expected 0 spaces, found 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) Model/Logger/CloudinaryHandler.php 15:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) Model/Logger/OutputLogger.php 2:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) 5:1 warning There must be one blank line after the last USE statement; 0 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) 60:15 warning Line exceeds 120 characters; contains 174 characters (Generic.Files.LineLength.TooLong) 71:15 warning Line exceeds 120 characters; contains 174 characters (Generic.Files.LineLength.TooLong) Model/BatchDownloader.php 20:1 warning There must be one blank line after the last USE statement; 2 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) 25:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 26:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 27:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 28:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 29:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 29:248 warning Line exceeds 120 characters; contains 248 characters (Generic.Files.LineLength.TooLong) 30:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 31:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 32:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 118:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 171:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) 181:12 warning Function's nesting level (7) exceeds 5; consider refactoring the function (Generic.Metrics.NestingLevel.TooHigh) 181:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 184:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 184:135 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) 187:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 187:176 warning Line exceeds 120 characters; contains 176 characters (Generic.Files.LineLength.TooLong) 199:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 217:195 warning Line exceeds 120 characters; contains 195 characters (Generic.Files.LineLength.TooLong) 228:147 warning Line exceeds 120 characters; contains 147 characters (Generic.Files.LineLength.TooLong) 229:200 warning Line exceeds 120 characters; contains 200 characters (Generic.Files.LineLength.TooLong) 230:133 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 233:72 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 239:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 241:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 259:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 272:184 warning Line exceeds 120 characters; contains 184 characters (Generic.Files.LineLength.TooLong) 274:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 276:154 warning Line exceeds 120 characters; contains 154 characters (Generic.Files.LineLength.TooLong) 290:157 warning Line exceeds 120 characters; contains 157 characters (Generic.Files.LineLength.TooLong) 291:175 warning Line exceeds 120 characters; contains 175 characters (Generic.Files.LineLength.TooLong) 294:17 warning The use of function sleep() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 334:8 warning $message parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 334:8 warning $output parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 337:13 warning Extra @param found in method annotation (Magento2.Annotation.MethodArguments.ExtraParam) 386:22 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) Model/Config/Backend/SwatchUpload.php 2:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) 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) 37:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 65: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) 72:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 76:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 110:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Model/Config/Backend/ProductGalleryCustomFreeParams.php 16:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 18:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 71:138 warning Line exceeds 120 characters; contains 138 characters (Generic.Files.LineLength.TooLong) Model/Config/Backend/VideoSettingsFreeParams.php 16:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 18:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 55:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 59:39 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 59:42 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 61:1 warning Multi-line function call not indented correctly; expected 12 spaces but found 16 (PSR2.Methods.FunctionCallSignature.Indent) 61:17 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 62:1 warning Multi-line function call not indented correctly; expected 12 spaces but found 16 (PSR2.Methods.FunctionCallSignature.Indent) 62:17 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 64:1 warning Multi-line function call not indented correctly; expected 8 spaces but found 12 (PSR2.Methods.FunctionCallSignature.Indent) 76:37 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 105:5 warning Visibility must be declared on method "isJson" (Squiz.Scope.MethodScope.Missing) 105:30 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 126:138 warning Line exceeds 120 characters; contains 138 characters (Generic.Files.LineLength.TooLong) Model/Config/Backend/Free.php 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) 83:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 87:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 113:87 warning Constants are not allowed as the first argument of translation function, use string literal instead (Magento2.Translation.ConstantUsage.VariableTranslation) 122:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 124:45 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 125:132 warning Line exceeds 120 characters; contains 132 characters (Generic.Files.LineLength.TooLong) 129:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 135:125 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 137:32 warning Constants are not allowed as the first argument of translation function, use string literal instead (Magento2.Translation.ConstantUsage.VariableTranslation) 143:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 155:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) Model/Config/Backend/CustomMediaPaths.php 49:136 warning Line exceeds 120 characters; contains 136 characters (Generic.Files.LineLength.TooLong) Model/Config/Backend/Credentials.php 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) 25: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) 67:8 warning $configurationBuilder parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 68:8 warning $appConfig parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 69:8 warning $resource parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 70:8 warning $resourceCollection parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 118:83 warning Constants are not allowed as the first argument of translation function, use string literal instead (Magento2.Translation.ConstantUsage.VariableTranslation) 135:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 143:78 warning Constants are not allowed as the first argument of translation function, use string literal instead (Magento2.Translation.ConstantUsage.VariableTranslation) 157:20 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 159:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 163:17 warning The use of function parse_str() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 184:78 warning Constants are not allowed as the first argument of translation function, use string literal instead (Magento2.Translation.ConstantUsage.VariableTranslation) 197:78 warning Constants are not allowed as the first argument of translation function, use string literal instead (Magento2.Translation.ConstantUsage.VariableTranslation) 210:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Model/Config/Source/Dropdown/Video/Autoplay.php 2:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) 7:4 warning Tag @author MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) Model/Config/Source/Dropdown/Video/VideoFormat.php 2:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) 3:1 warning There must be one blank line after the last USE statement; 2 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) Model/Config/Source/Dropdown/Video/VideoQuality.php 2:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) 3:1 warning There must be one blank line after the last USE statement; 2 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) Model/Config/Source/Dropdown/Video/ABR/Comment.php 6:1 warning There must be one blank line after the last USE statement; 2 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) Model/Config/Source/Dropdown/Video/SourceTypes.php 2:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) 3:1 warning There must be one blank line after the last USE statement; 2 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) Model/Config/Source/Dropdown/Video/StreamMode.php 2:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) 7:4 warning Tag @author MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) Model/Config/Source/Dropdown/Video/StreamProtocol.php 2:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) 7:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 8:4 warning Tag @author MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) Model/Config/Source/Dropdown/Video/Controls.php 2:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) 7:4 warning Tag @author MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) Model/Config/Source/Dropdown/Video/Type.php 2:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) 7:4 warning Tag @author MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) Model/Config/Source/Dropdown/Video/Autoplay/Comment.php 10:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 11:4 warning Tag @author MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) Model/Api/ResourcesManagement.php 25:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 54:8 warning $request parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 55:8 warning $jsonEncoder parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 58:12 warning Extra @param found in method annotation (Magento2.Annotation.MethodArguments.ExtraParam) 75:31 warning The use of function rawurldecode() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Model/Api/ProductGalleryManagement.php 244:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 245:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 246:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 261:33 warning The use of function basename() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 262:28 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 266:33 warning The use of function basename() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 282:141 warning Line exceeds 120 characters; contains 141 characters (Generic.Files.LineLength.TooLong) 292:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 326:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 364:141 warning Line exceeds 120 characters; contains 141 characters (Generic.Files.LineLength.TooLong) 373:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 381:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 417:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 417:136 warning Line exceeds 120 characters; contains 136 characters (Generic.Files.LineLength.TooLong) 433:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 448:159 warning Line exceeds 120 characters; contains 159 characters (Generic.Files.LineLength.TooLong) 473:141 warning Line exceeds 120 characters; contains 141 characters (Generic.Files.LineLength.TooLong) 491:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 532:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 540:164 warning Line exceeds 120 characters; contains 164 characters (Generic.Files.LineLength.TooLong) 541:160 warning Line exceeds 120 characters; contains 160 characters (Generic.Files.LineLength.TooLong) 543:160 warning Line exceeds 120 characters; contains 160 characters (Generic.Files.LineLength.TooLong) 569:144 warning Line exceeds 120 characters; contains 144 characters (Generic.Files.LineLength.TooLong) 570:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 584:164 warning Line exceeds 120 characters; contains 164 characters (Generic.Files.LineLength.TooLong) 588:143 warning Line exceeds 120 characters; contains 143 characters (Generic.Files.LineLength.TooLong) 589:171 warning Line exceeds 120 characters; contains 171 characters (Generic.Files.LineLength.TooLong) 590:135 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) 593:136 warning Line exceeds 120 characters; contains 136 characters (Generic.Files.LineLength.TooLong) 608:182 warning Line exceeds 120 characters; contains 182 characters (Generic.Files.LineLength.TooLong) 610:147 warning Line exceeds 120 characters; contains 147 characters (Generic.Files.LineLength.TooLong) 629:121 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 671:47 warning The use of function file_exists() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 672:30 warning The use of function file_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 675:125 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 680:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 731:55 warning The use of function basename() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 763:22 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 779:27 warning The use of function basename() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 782:27 warning The use of function filesize() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 819:21 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 839:213 warning Line exceeds 120 characters; contains 213 characters (Generic.Files.LineLength.TooLong) 891:16 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) Model/ProductImageFinder/NewImageFilter.php 7:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 12:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Model/ProductImageFinder/DeletedImageFilter.php 7:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Model/ProductImageFinder/ImageFilter.php 8:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 10:1 warning Interface description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 10:11 warning Interface should have name that ends with "Interface" suffix. (Magento2.NamingConvention.InterfaceName.WrongInterfaceName) 13:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Model/ProductImageFinder/ImageCreator.php 14:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 16:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) Setup/Patch/Data/DataPatch.php 22:15 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar) 27:15 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar) 59:156 warning Line exceeds 120 characters; contains 156 characters (Generic.Files.LineLength.TooLong) Ui/DataProvider/Product/Form/Modifier/Product.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) 71:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 109:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 121:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 159:13 warning $images parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 173:13 warning $images parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 187:13 warning $images parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 202:13 warning $images parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Ui/Component/Control/AddFromCloudinary.php 3:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) 6:1 warning There must be one blank line after the last USE statement; 2 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) 36:5 warning There must be a single space between the closing parenthesis/return type and the opening brace of a multi-line function declaration; found 0 spaces (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenBrace) 47:82 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) etc/schema.graphqls 12:25 warning Argument name "attribute_codes" is not in CamelCase format (Magento2.GraphQL.ValidArgumentName.NotCamelCase) etc/crontab.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) 7:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 10:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) etc/webapi.xml 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) 9:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 10:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 11:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 13:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 14:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 15:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 16:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 17:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 18:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 19:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 20:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 22:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 23:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 24:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 25:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 26:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 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) 29:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 31:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 32:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 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) 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) 39:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 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) 43:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 44:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 45:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 46:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 47:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 48:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 50:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 51:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 52:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 53:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 54:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 55:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 56:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 57:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 59:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 60:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 61:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 62:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 63:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 64:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 65:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 66:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 68: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) 70:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 71:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 72:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 73:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 74:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 75:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) registration.php 7:2 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Controller/Adminhtml/PageBuilder/MediaGallery/Upload.php 38:9 warning Expected 1 space after TRY keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) Controller/Adminhtml/Ajax/UpdateAdminImage.php 22:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 34:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 103:30 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Controller/Adminhtml/Ajax/RetrieveImage.php 169:17 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 174:43 warning The use of function file_exists() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 175:30 warning The use of function file_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 178:125 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 180:30 warning The use of function file_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 183:26 warning The use of function file_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 187:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 188:134 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 195:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 198:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 205:15 warning Usage of ELSE IF is discouraged; use ELSEIF instead (PSR2.ControlStructures.ElseIfDeclaration.NotAllowed) 258:55 warning The use of function basename() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 298:22 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 314:27 warning The use of function basename() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 317:27 warning The use of function filesize() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 367:21 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 390:213 warning Line exceeds 120 characters; contains 213 characters (Generic.Files.LineLength.TooLong) 407:138 warning Line exceeds 120 characters; contains 138 characters (Generic.Files.LineLength.TooLong) 408:17 warning Code after the RETURN statement on line 407 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 411:55 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 411:175 warning Line exceeds 120 characters; contains 175 characters (Generic.Files.LineLength.TooLong) Controller/Adminhtml/Ajax/System/Config/AutoUploadMapping.php 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) 95:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 96:21 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 102:142 warning Line exceeds 120 characters; contains 142 characters (Generic.Files.LineLength.TooLong) 128:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) Controller/Adminhtml/Ajax/Free/Sample.php 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) 88:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 98:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) Controller/Adminhtml/Ajax/Free/Image.php 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) 94:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 104:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) Controller/Adminhtml/Cms/Wysiwyg/Images/Upload.php 101:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 146:1 warning Blank lines are not allowed in a multi-line function declaration (Squiz.Functions.MultiLineFunctionDeclaration.EmptyLine) 176:13 warning Expected "if (...) {\n"; found "if (...){\n" (PEAR.ControlStructures.ControlSignature.Found) 176:23 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 188:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 193:59 warning The use of function basename() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 202:49 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 202:64 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 203:49 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 203:52 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 280:22 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 293:21 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 297:27 warning The use of function filesize() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 331:21 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 354:213 warning Line exceeds 120 characters; contains 213 characters (Generic.Files.LineLength.TooLong) view/frontend/templates/product/gallery.phtml 5:28 warning The use of helpers in templates is discouraged. Use ViewModel instead. (Magento2.Templates.ThisInTemplate.FoundHelper) 5:28 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 5:42 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 151:43 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 151:50 warning Unescaped output detected. (Magento2.Security.XssTemplate.FoundNotAllowed) 157:43 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 157:50 warning Unescaped output detected. (Magento2.Security.XssTemplate.FoundNotAllowed) view/frontend/templates/product/video/settings.phtml 3:1 warning Expected 1 space before asterisk; 0 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 4:1 warning Expected 1 space before asterisk; 0 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 5:1 warning Expected 1 space before asterisk; 0 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 6:1 warning Expected 1 space before asterisk; 0 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 22:28 warning The use of helpers in templates is discouraged. Use ViewModel instead. (Magento2.Templates.ThisInTemplate.FoundHelper) 22:28 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 22:42 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) view/frontend/templates/javascript.phtml 2:7 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) view/adminhtml/templates/config/free.phtml 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) 16:27 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 23:465 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 23:548 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) view/adminhtml/templates/config/auto-upload-mapping-btn.phtml 4:1 warning Expected 1 space before asterisk; 0 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 5:1 warning Expected 1 space before asterisk; 0 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 43:35 warning Space after opening parenthesis of function call prohibited (PSR2.Methods.FunctionCallSignature.SpaceAfterOpenBracket) view/adminhtml/templates/javascript.phtml 2:7 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) view/adminhtml/web/template/product/free_transform_row.html 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) view/base/web/template/form/element/uploader/uploader.html 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) view/base/web/template/form/element/uploader/image.html 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) Api/ProductGalleryManagementInterface.php 21:137 warning Line exceeds 120 characters; contains 137 characters (Generic.Files.LineLength.TooLong) 55:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 63:12 warning $delete_all_gallery parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Core/SynchroniseAssetsRepositoryInterface.php 17:12 warning $imagePath parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Core/ValidateRemoteUrlRequest.php 11:30 warning The use of function curl_init() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 19:45 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 28:9 warning The use of function curl_exec() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 34:9 warning The use of function curl_close() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 41:16 warning The use of function curl_getinfo() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 46:16 warning The use of function curl_errno() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 46:49 warning The use of function curl_error() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 51:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 52:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 53:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Core/CloudinaryImageManager.php 11:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 13:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 15:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 16:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 17:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 18:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) Core/Exception/FileExists.php 7:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) Core/Exception/MigrationError.php 11:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 13:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 15:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 43:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) Core/Exception/ApiError.php 7:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) Core/AutoUploadMapping/ApiClient.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) 58:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 77:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 103:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 143:1 warning Multi-line function call not indented correctly; expected 12 spaces but found 16 (PSR2.Methods.FunctionCallSignature.Indent) 149:1 warning Multi-line function call not indented correctly; expected 8 spaces but found 12 (PSR2.Methods.FunctionCallSignature.Indent) Core/AutoUploadMapping/AutoUploadConfigurationInterface.php 7:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 8:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) Core/Cloud.php 14:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) Core/ConfigurationBuilder.php 3:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) 35:23 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) Core/UploadConfig.php 35:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) Core/ImageProvider.php 7:11 warning Interface should have name that ends with "Interface" suffix. (Magento2.NamingConvention.InterfaceName.WrongInterfaceName) Core/ConfigurationInterface.php 30:12 warning Motivation behind the added @deprecated tag MUST be explained. @see tag MUST be used with reference to new implementation when code is deprecated and there is a new alternative. (Magento2.Annotation.MethodAnnotationStructure.InvalidDeprecatedTagUsage) Core/Security/ApiSignature.php 16:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) Core/Security/SignedConsoleUrl.php 21:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) Core/Security/Key.php 14:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) Core/Security/EnvironmentVariable.php 5:11 warning Interface should have name that ends with "Interface" suffix. (Magento2.NamingConvention.InterfaceName.WrongInterfaceName) Core/Security/CloudinaryEnvironmentVariable.php 22:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 32:142 warning Line exceeds 120 characters; contains 142 characters (Generic.Files.LineLength.TooLong) 37:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 41:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) Core/Security/Secret.php 14:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) Core/Security/ConsoleUrl.php 9:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 16:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) Core/Migration/Task.php 5:11 warning Interface should have name that ends with "Interface" suffix. (Magento2.NamingConvention.InterfaceName.WrongInterfaceName) Core/Migration/Queue.php 7:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 9:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) Core/Migration/BatchUploader.php 13:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 15:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 17:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 19:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 21:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 84:12 warning $images parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 154:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 154:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 171:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Core/Migration/SynchronizedMediaRepository.php 5:11 warning Interface should have name that ends with "Interface" suffix. (Magento2.NamingConvention.InterfaceName.WrongInterfaceName) Core/Migration/Logger.php 5:11 warning Interface should have name that ends with "Interface" suffix. (Magento2.NamingConvention.InterfaceName.WrongInterfaceName) Core/CloudinaryImageProvider.php 76:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 133:162 warning Line exceeds 120 characters; contains 162 characters (Generic.Files.LineLength.TooLong) 135:75 warning Line exceeds 120 characters; contains 138 characters (Generic.Files.LineLength.TooLong) 138:156 warning Line exceeds 120 characters; contains 156 characters (Generic.Files.LineLength.TooLong) 161:178 warning Line exceeds 120 characters; contains 178 characters (Generic.Files.LineLength.TooLong) 210:17 warning Constants are not allowed as the first argument of translation function, use string literal instead (Magento2.Translation.ConstantUsage.VariableTranslation) Core/FolderTranslator.php 10:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 12:11 warning Interface should have name that ends with "Interface" suffix. (Magento2.NamingConvention.InterfaceName.WrongInterfaceName) Core/Image.php 17:27 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 20:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 37:19 warning The use of function dirname() is discouraged; use Magento\Framework\Filesystem\DriverInterface::getParentDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) Core/Image/ImageFactory.php 33:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Core/Image/LocalImage.php 23:16 warning The use of function call_user_func() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Core/Image/Transformation.php 90:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) Core/Image/Synchronizable.php 5:11 warning Interface should have name that ends with "Interface" suffix. (Magento2.NamingConvention.InterfaceName.WrongInterfaceName) Core/Image/Transformation/Crop.php 7:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 8:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 9:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 10:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 19:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 24:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 29:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 34:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 39:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) Core/Image/Transformation/Dpr.php 14:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) Core/Image/Transformation/Gravity.php 19:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 24:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) Core/Image/Transformation/Freeform.php 26:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) Core/Image/Transformation/Dimensions.php 13:24 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 14:25 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 27:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 32:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 43:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 48:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) Core/Image/Transformation/FetchFormat.php 7:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 16:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 21:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) Core/Image/Transformation/Quality.php 14:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) Core/Image/Transformation/DefaultImage.php 19:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 24:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) Core/Image/SynchronizationCheck.php 5:11 warning Interface should have name that ends with "Interface" suffix. (Magento2.NamingConvention.InterfaceName.WrongInterfaceName) Core/Credentials.php 19:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) Cron/ProductGalleryApiQueue.php 43:13 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar) 96:171 warning Line exceeds 120 characters; contains 171 characters (Generic.Files.LineLength.TooLong) 116:246 warning Line exceeds 120 characters; contains 246 characters (Generic.Files.LineLength.TooLong) 117:205 warning Line exceeds 120 characters; contains 205 characters (Generic.Files.LineLength.TooLong) 127:134 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 130:197 warning Line exceeds 120 characters; contains 197 characters (Generic.Files.LineLength.TooLong) 131:197 warning Line exceeds 120 characters; contains 197 characters (Generic.Files.LineLength.TooLong) 139:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 143:274 warning Line exceeds 120 characters; contains 274 characters (Generic.Files.LineLength.TooLong) Cron/VideoDataImport.php 31:13 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar) 65:158 warning Line exceeds 120 characters; contains 158 characters (Generic.Files.LineLength.TooLong) 67:143 warning Line exceeds 120 characters; contains 143 characters (Generic.Files.LineLength.TooLong) 69:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) Block/Adminhtml/Form/Field/Free.php 13:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 51:51 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) Block/Adminhtml/Product/Edit/NewVideo.php 72:13 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 74:168 warning Line exceeds 120 characters; contains 168 characters (Generic.Files.LineLength.TooLong) 77:148 warning Line exceeds 120 characters; contains 148 characters (Generic.Files.LineLength.TooLong) 117:140 warning Line exceeds 120 characters; contains 140 characters (Generic.Files.LineLength.TooLong) 123:167 warning Line exceeds 120 characters; contains 167 characters (Generic.Files.LineLength.TooLong) 159:132 warning Line exceeds 120 characters; contains 132 characters (Generic.Files.LineLength.TooLong) 160:17 warning Code after the RETURN statement on line 159 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) Block/Adminhtml/Product/Helper/Form/Gallery/Content.php 125:16 warning The use of function htmlspecialchars() is discouraged; use \Magento\Framework\Escaper->escapeHtml() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 139:174 warning Line exceeds 120 characters; contains 174 characters (Generic.Files.LineLength.TooLong) Block/Adminhtml/System/Config/AutoUploadMapping.php 79:5 warning Expected 5 spaces before asterisk; 4 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 80:5 warning Expected 5 spaces before asterisk; 4 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 81:5 warning Expected 5 spaces before asterisk; 4 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 82:5 warning Expected 5 spaces before asterisk; 4 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 86:13 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 92:1 warning Multi-line function call not indented correctly; expected 12 spaces but found 11 (PSR2.Methods.FunctionCallSignature.Indent) 92:12 warning Line indented incorrectly; expected at least 12 spaces, found 11 (Generic.WhiteSpace.ScopeIndent.Incorrect) 93:1 warning Multi-line function call not indented correctly; expected 8 spaces but found 7 (PSR2.Methods.FunctionCallSignature.Indent) 93:8 warning Line indented incorrectly; expected at least 8 spaces, found 7 (Generic.WhiteSpace.ScopeIndent.Incorrect) Block/Adminhtml/Cms/Wysiwyg/Images/Content.php 19:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 23:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 33:12 warning $productMetadata parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 60:156 warning Line exceeds 120 characters; contains 156 characters (Generic.Files.LineLength.TooLong) 62:137 warning Line exceeds 120 characters; contains 137 characters (Generic.Files.LineLength.TooLong) 69:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) Block/VideoSettings.php 2:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) 20:36 warning Multi-line function declarations must define one parameter per line (Squiz.Functions.MultiLineFunctionDeclaration.OneParamPerLine) 22:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 30:40 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 60:28 warning Space before opening parenthesis of function call prohibited (PSR2.Methods.FunctionCallSignature.SpaceBeforeOpenBracket) 81:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 82:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 83:142 warning Line exceeds 120 characters; contains 142 characters (Generic.Files.LineLength.TooLong) 85:21 warning Expected "if (...) {\n"; found "if (...){\n" (PEAR.ControlStructures.ControlSignature.Found) 85:79 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 86:51 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 88:21 warning Expected "if (...) {\n"; found "if (...){\n" (PEAR.ControlStructures.ControlSignature.Found) 88:43 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 102:62 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) Block/Scripts.php 34:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 57:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody)