Magento Coding Standard (PHPCS) report for salesfire/magento2 ============================================================= Package version: 1.5.22 | Magento: 2.4.9 | Tested: 2026-08-24 91 warnings in 13 files Helper/CookieHelper.php 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) Helper/Data.php 10:4 warning Tag @category MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 11:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 291:16 warning The use of function intval() is discouraged; use (int) construction() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 302:11 warning Usage of ELSE IF is discouraged; use ELSEIF instead (PSR2.ControlStructures.ElseIfDeclaration.NotAllowed) Helper/Logger/Handler.php 11:4 warning Tag @category MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 12:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) Helper/Logger/Logger.php 11:4 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 14:4 warning Tag @category MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 15:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 22:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 64:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) Helper/Feed/Generator.php 8:4 warning Tag @category MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 9:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 78:151 warning Line exceeds 120 characters; contains 151 characters (Generic.Files.LineLength.TooLong) 101:163 warning Line exceeds 120 characters; contains 163 characters (Generic.Files.LineLength.TooLong) 113:16 warning The use of function html_entity_decode() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 116:12 warning Function's nesting level (11) exceeds allowed maximum of 10 (Generic.Metrics.NestingLevel.MaxExceeded) 147:147 warning Line exceeds 120 characters; contains 147 characters (Generic.Files.LineLength.TooLong) 168:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 178:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 180:193 warning Line exceeds 120 characters; contains 193 characters (Generic.Files.LineLength.TooLong) 182:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 199:187 warning Line exceeds 120 characters; contains 187 characters (Generic.Files.LineLength.TooLong) 205:153 warning Line exceeds 120 characters; contains 153 characters (Generic.Files.LineLength.TooLong) 209:183 warning Line exceeds 120 characters; contains 183 characters (Generic.Files.LineLength.TooLong) 253:95 warning The use of function htmlspecialchars() is discouraged; use \Magento\Framework\Escaper->escapeHtml() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 253:145 warning Line exceeds 120 characters; contains 145 characters (Generic.Files.LineLength.TooLong) 257:121 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 259:207 warning Line exceeds 120 characters; contains 207 characters (Generic.Files.LineLength.TooLong) 266:142 warning Line exceeds 120 characters; contains 142 characters (Generic.Files.LineLength.TooLong) 270:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 287:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 296:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 324:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 341:63 warning array_merge(...) is used in a loop and is a resources greedy construction. (Magento2.Performance.ForeachArrayMerge.ForeachArrayMerge) 347:195 warning Line exceeds 120 characters; contains 195 characters (Generic.Files.LineLength.TooLong) 351:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 353:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 364:155 warning Line exceeds 120 characters; contains 155 characters (Generic.Files.LineLength.TooLong) 379:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 383:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 385:133 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 387:131 warning Line exceeds 120 characters; contains 131 characters (Generic.Files.LineLength.TooLong) 406:187 warning Line exceeds 120 characters; contains 187 characters (Generic.Files.LineLength.TooLong) 420:147 warning Line exceeds 120 characters; contains 147 characters (Generic.Files.LineLength.TooLong) 438:130 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 479:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 668:143 warning Line exceeds 120 characters; contains 143 characters (Generic.Files.LineLength.TooLong) 669:139 warning Line exceeds 120 characters; contains 139 characters (Generic.Files.LineLength.TooLong) 670:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 685:15 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 698:58 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 710:134 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 712:55 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 749:148 warning Line exceeds 120 characters; contains 148 characters (Generic.Files.LineLength.TooLong) 764:17 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 793:16 warning The use of function htmlspecialchars() is discouraged; use \Magento\Framework\Escaper->escapeHtml() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) Controller/Adminhtml/Feed/Generate.php 16:4 warning Tag @category MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 17:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 30:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 33:12 warning $resultPageFactory parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Controller/Config/Index.php 7:4 warning Tag @category MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 8:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) view/adminhtml/templates/generate_feed.phtml 1:1 warning Short echo tag syntax must be used; expected "