Magento Coding Standard (PHPCS) report for shipperhq/module-logger ================================================================== Package version: 20.7.2 | Magento: 2.4.9 | Tested: 2026-05-29 1 error, 125 warnings in 23 files src/Helper/Config.php 19:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 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) 25:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) src/Model/ResourceModel/Log.php 24:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 44:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 62:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 70:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 75:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) src/Model/ResourceModel/Log/Collection.php 17:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 27:22 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 27:52 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 46:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) src/Model/Logger/Critical.php 25:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) src/Model/Logger/Debug.php 25:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) src/Model/Logger/Warning.php 25:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) src/Model/Logger/Info.php 25:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) src/Model/Log.php 23:22 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 51:8 warning $data parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 54:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 54:12 warning $severity parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 57:28 warning The use of function print_r() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 73:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) src/Model/Logger.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) 27:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 39:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 42:15 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 128:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 130:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 163:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 174:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 174:15 warning Empty FUNCTION statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedFunction) 179:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 180:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 182:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 186:15 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) src/Model/Source/LogLevel.php 21:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) src/Observer/PostLogObserver.php 32:8 warning $logger parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 33:8 warning $scopeConfig parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 78:9 warning Empty IF statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedIf) 79:9 warning This comment is 87% valid code; is this commented out code? (Squiz.PHP.CommentedOutCode.Found) 111:9 warning Empty IF statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedIf) 134:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 135:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 136:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 137:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 138:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 139:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 140:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 145:1 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 147:1 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) src/etc/adminhtml/system.xml 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) src/Controller/Adminhtml/Logger/MassRemove.php 16:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 17:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 27:60 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) src/Controller/Adminhtml/Logger/Index.php 18:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 18:20 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) src/Controller/Adminhtml/Logger/View.php 16:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 24:48 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) src/Controller/Adminhtml/Logger/MarkAsRead.php 16:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 17:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 22:52 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) src/Controller/Adminhtml/Logger/MassDestroy.php 16:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 17:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 22:52 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) src/Controller/Adminhtml/Logger/MassMarkAsRead.php 16:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 17:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 27:60 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) src/Controller/Adminhtml/Logger/Remove.php 16:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 17:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 22:52 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) src/Controller/Adminhtml/Logger.php 23:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 30:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 37:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 48:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) src/view/adminhtml/templates/view.phtml 14:7 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 16:25 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 18:50 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 18:120 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 18:162 warning Line exceeds 120 characters; contains 177 characters (Generic.Files.LineLength.TooLong) 20:32 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 20:80 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 20:119 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 21:32 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 21:84 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 21:127 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 22:32 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 22:86 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 22:130 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 23:32 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 23:81 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 23:121 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 24:32 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 26:13 warning Short echo tag syntax must be used; expected "