Magento Coding Standard (PHPCS) report for webshopapps/module-productrate ========================================================================= Package version: 1.2.3 | Magento: 2.4.9 | Tested: 2026-06-02 33 warnings in 6 files src/Model/Carrier/ProductRate.php 88:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 89:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 160:13 warning Function's nesting level (6) exceeds 5; consider refactoring the function (Generic.Metrics.NestingLevel.TooHigh) 267:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 319:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 320:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) src/Model/Config/Source/Totalling.php 51:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 52:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) src/Setup/Patch/Data/InstallProductRateAttributes.php 25:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 63:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 72:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 72:20 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 81:26 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 101:26 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 124:30 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 129:29 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 201:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 202:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 203:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) src/Setup/Patch/Data/UpdateProductRateIncAttribute.php 27:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 53:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 62:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 62:20 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 73:36 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 76:35 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) src/Setup/Patch/Data/SetProductRateIncAttributeToBoolean.php 27:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 53:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 62:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 62:20 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) src/etc/adminhtml/system.xml 39:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 40:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 41:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 42:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed)