Magento Coding Standard (PHPCS) report for magepal/magento2-gmailsmtpapp ======================================================================== Package version: 3.0.6 | Magento: 2.4.9 | Tested: 2026-05-27 171 warnings in 15 files Plugin/Mail/TransportPlugin.php 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) Helper/Data.php 26:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 27:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 27:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 41:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 42:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 42:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 51:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 52:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 52:8 warning $store_id parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 52:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 55:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 55:12 warning $scopeType parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 77:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 78:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 89:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 90:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 101:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 102:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 113:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 114:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 125:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 126:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 137:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 138:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 149:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 150:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 161:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 162:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 187:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 188:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 199:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 200:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 211:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 212:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 223:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 224:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 236:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 237:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 255:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 256:8 warning path parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 256:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 257:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 258:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 261:12 warning $path parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 281:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 282:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 289:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 290:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 298:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 299:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 306:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 307:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Store.php 20:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 21:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 28:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 29:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 29:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 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) 46:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 47:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Email.php 26:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 28:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 46:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 63:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 103:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 104:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 127:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 128:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 128:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 129:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 145:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 146:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 165:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 166:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 177:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 213:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 214:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 223:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 224:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 245:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 246:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Config/Source/Authtype.php 13:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 14:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Mail/Smtp.php 26:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 50:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 51:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 60:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 61:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 70:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 71:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 116:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 129:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 165:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 166:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 204:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) etc/acl.xml 10:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 11:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 12:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 13:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 14:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 15:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 16:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 17:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 18:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 19:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 20:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 21:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 22:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) etc/di.xml 10:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 11:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 12:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 14:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 15:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 16:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 17:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 18:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 19:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 20:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 21:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 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) 27:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 28:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 29:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 30:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) Controller/Adminhtml/Validateconfig/Index.php 19:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) view/adminhtml/templates/validateConfig/result.phtml 173:24 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 205:28 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) view/adminhtml/templates/system/config/validateConfigButton.phtml 16:40 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) view/adminhtml/web/css/styles.less 4:24 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 17:54 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 22:60 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 30:26 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 32:20 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 32:20 warning CSS colours must be defined in lowercase; expected #73af55 but found #73AF55 (Magento2.Less.ColourDefinition.NotLower) 35:20 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 35:20 warning CSS colours must be defined in lowercase; expected #d06079 but found #D06079 (Magento2.Less.ColourDefinition.NotLower) Block/Adminhtml/System/Config/Form/Composer/Version.php 95:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Block/Adminhtml/System/Config/ValidateConfigButton.php 68:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Block/Adminhtml/ValidateConfig.php 106:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 107:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 107:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 116:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 117:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 124:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 125:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 125:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 139:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 140:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 190:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 191:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 210:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 211:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 248:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 249:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 296:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 337:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 338:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 364:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 365:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 382:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 383:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 401:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 413:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 414:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)