Magento Coding Standard (PHPCS) report for renttek/magento2-logformatters ========================================================================= Package version: 1.0.0 | Magento: 2.4.9 | Tested: 2026-06-01 72 warnings in 12 files src/Exception/FormattingException.php 12:19 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 12:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 17:19 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 17:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 26:19 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 26:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 31:19 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 31:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 36:19 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 36:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 45:19 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 45:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) src/Exception/InvalidDecoratorConfigurationException.php 13:19 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 13:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 22:19 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 22:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 31:19 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 31:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) src/Exception/InvalidCsvConfigurationException.php 12:19 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 12:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) src/Logger/Handler/LogfmtFileHandler.php 14:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) src/Logger/Handler/CsvFileHandler.php 14:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) src/Logger/Handler/JsonLineFileHandler.php 14:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) src/Logger/Formatter/CsvFormatter.php 20:29 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 21:29 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 22:29 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 24:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 34:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 36:19 warning The use of function fopen() is discouraged; use Magento\Framework\Filesystem\DriverInterface::fileOpen() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 43:23 warning The use of function fputcsv() is discouraged; use Magento\Framework\Filesystem\DriverInterface::filePutCsv() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 51:13 warning The use of function fclose() is discouraged; use Magento\Framework\Filesystem\DriverInterface::fileClose() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 56:13 warning The use of function fclose() is discouraged; use Magento\Framework\Filesystem\DriverInterface::fileClose() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 61:16 warning The code must be wrapped with a try block if the method uses system resources. (Magento2.Exceptions.TryProcessSystemResources.MissingTryCatch) 61:16 warning The use of function stream_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 62:9 warning The use of function fclose() is discouraged; use Magento\Framework\Filesystem\DriverInterface::fileClose() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 71:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 78:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 79:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 83:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 94:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 113:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) src/Logger/Formatter/JsonLineFormatter.php 14:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 25:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) src/Logger/Formatter/Decorator/MaskContextDecorator.php 19:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 23:8 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 25:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 32:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 42:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 43:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 47:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) src/Logger/Formatter/Decorator/DateTimeFormatterDecorator.php 16:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 19:8 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 21:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 28:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 38:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 39:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 43:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 48:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) src/Logger/Formatter/Builder/DecoratorChainFormatter.php 19:41 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 24:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 32:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 37:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 42:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 43:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 45:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 57:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) src/Logger/Formatter/LogfmtFormatter.php 15:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 26:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 33:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 44:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 56:22 warning The use of function addcslashes() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 59:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)