Magento Coding Standard (PHPCS) report for mygento/module-smtp ============================================================== Package version: 2.4.3 | Magento: 2.4.9 | Tested: 2026-06-01 110 warnings in 18 files Model/Config.php 19:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 21:8 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 23:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 24:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 31:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 32:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 39:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 40:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/LogRepository.php 28:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 34:8 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 36:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 37:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 39:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 52:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 53:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 55:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 69:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 70:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 72:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 85:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 86:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 89:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 94:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/ResourceModel/Log/Grid/Collection.php 24:36 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 29:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 56:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 57:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 64:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 65:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 75:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 76:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 83:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 84:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 93:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 94:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 101:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 102:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 111:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 112:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Mail/Processor.php 23:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 27:8 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 29:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 52:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 60:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 77:20 warning The use of function htmlspecialchars() is discouraged; use \Magento\Framework\Escaper->escapeHtml() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) Model/Mail/Validator.php 16:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 18:8 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 20:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 25:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 44:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Log.php 17:15 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar) 29:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 29:22 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 47:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 63:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 79:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 95:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 111:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 127:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 143:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 159:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 175:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 180:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 181:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/LogSearchResults.php 14:83 warning Opening brace of a class must be on the line after the definition (PSR2.Classes.ClassDeclaration.OpenBraceNewLine) 14:84 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) Model/Log/DataProvider.php 22:36 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 23:19 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 25:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 41:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Source/Status.php 18:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Mail/Transport.php 21:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 25:8 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 27:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 28:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Ui/Component/Listing/Column/Actions.php 15:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Controller/Adminhtml/Log.php 24:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Controller/Adminhtml/Log/Index.php 21:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) view/adminhtml/web/css/source/_module.less 2:1 warning Line indented incorrectly; expected 4 spaces, found 2 (Magento2.Less.Indentation.Incorrect) 3:1 warning Line indented incorrectly; expected 8 spaces, found 4 (Magento2.Less.Indentation.Incorrect) 5:1 warning Line indented incorrectly; expected 8 spaces, found 4 (Magento2.Less.Indentation.Incorrect) 6:1 warning Line indented incorrectly; expected 12 spaces, found 6 (Magento2.Less.Indentation.Incorrect) 7:1 warning Line indented incorrectly; expected 8 spaces, found 4 (Magento2.Less.Indentation.Incorrect) 8:1 warning Line indented incorrectly; expected 4 spaces, found 2 (Magento2.Less.Indentation.Incorrect) Api/Data/LogInterface.php 31:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 31:22 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 43:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 53:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 63:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 73:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 83:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 93:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 103:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 113:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 123:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) Api/Data/LogSearchResultsInterface.php 17:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 23:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Api/LogRepositoryInterface.php 17:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 19:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 23:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 25:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 29:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 31:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 35:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 37:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 41:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 44:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) Cron/Clean.php 17:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 22:8 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 24:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)