Magento Coding Standard (PHPCS) report for walkwizus/magento2-module-virtual-attribute-sales-rule ================================================================================================= Package version: 2.0.0 | Magento: 2.4.9 | Tested: 2026-06-02 54 warnings in 5 files Plugin/Model/Condition/ProductVirtualAttribute.php 9:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 10:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Plugin/Model/Condition/AbstractVirtualAttribute.php 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) 44:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 45: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) 95:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 96:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 97:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 127:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 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) 144:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 145:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 146:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 161:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 162:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 163:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 183:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 184:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 191:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 192: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) 205:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 222:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 223:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 229:123 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) 234:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 235:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 241:115 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 253:11 warning Expected "} else if (...) {\n"; found "} else if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 253:11 warning Usage of ELSE IF is discouraged; use ELSEIF instead (PSR2.ControlStructures.ElseIfDeclaration.NotAllowed) 253:16 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 253:16 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 263:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 264:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 270:120 warning Line exceeds 120 characters; contains 132 characters (Generic.Files.LineLength.TooLong) 281:11 warning Usage of ELSE IF is discouraged; use ELSEIF instead (PSR2.ControlStructures.ElseIfDeclaration.NotAllowed) Plugin/Model/Condition/CartVirtualAttribute.php 9:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 10:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/VirtualAttributeProvider.php 12:74 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 12:75 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 14:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 15:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 22:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 23:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Api/Data/VirtualAttributeInterface.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) 18:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 19:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 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)