Magento Coding Standard (PHPCS) report for moses/magento-log ============================================================ Package version: 3.0.1 | Magento: 2.4.9 | Tested: 2026-05-26 58 warnings in 10 files Plugin/Magento/GraphQl/Helper/Query/Logger/LogDataPlugin.php 31:27 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 33:33 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 47:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 48:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 49:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 107:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 108:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 108:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 109:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 124:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 130:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 131:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 151:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 152:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 152:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Plugin/Magento/Framework/Amqp/QueuePlugin.php 21:27 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 22:29 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 23:33 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 39:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 41:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Plugin/Magento/Framework/MessageQueue/PublisherPlugin.php 21:27 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 22:29 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 23:33 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 40:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 41:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 42:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 43:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Plugin/Magento/CacheInvalidate/Model/PurgeCachePlugin.php 53:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 54:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 55:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 56:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Model/GraphQlLogger.php 46:8 warning $data parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 50:12 warning $queryDetails parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 52:9 warning Expected "foreach (...) {\n"; found "foreach(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 52:9 warning Expected 1 space after FOREACH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) Model/Config/Backend/DynamicField.php 24:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 26:35 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 79:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) Model/Config/Source/LoggingStatus.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) Services/Configuration.php 24:34 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 26:35 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 28:33 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 119:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 120:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 134:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 140:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 141:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 153:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 154:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Block/Adminhtml/Form/Field/DynamicField.php 17:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 20:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Block/Adminhtml/Form/Renderer/Config/Info.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) 24:1 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 25:1 warning Line exceeds 120 characters; contains 168 characters (Generic.Files.LineLength.TooLong) 26:1 warning Line exceeds 120 characters; contains 138 characters (Generic.Files.LineLength.TooLong) 28:1 warning Line exceeds 120 characters; contains 353 characters (Generic.Files.LineLength.TooLong)