Magento Coding Standard (PHPCS) report for rollpix/module-disable-sales ======================================================================= Package version: 1.1.7 | Magento: 2.4.9 | Tested: 2026-05-27 3 errors, 49 warnings in 10 files ViewModel/SalesStatus.php 17:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 22:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 27:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 34:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 39:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 46:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 51:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 56:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 61:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 66:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 73:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 78:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 83:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 88:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 93:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Plugin/Quote/AddProductPlugin.php 19:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Plugin/CustomerData/CustomerPlugin.php 17:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 17:49 error Proxies and interceptors MUST never be explicitly requested in constructors. (Magento2.Classes.DiscouragedDependencies.ConstructorProxyInterceptor) 25:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) Plugin/Cart/AddPlugin.php 42:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 47:25 error Proxies and interceptors MUST never be explicitly requested in constructors. (Magento2.Classes.DiscouragedDependencies.ConstructorProxyInterceptor) 59:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) Plugin/Api/CartItemRepositoryPlugin.php 26:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 39:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 54:15 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) Plugin/Checkout/DisableCheckoutPlugin.php 42:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 47:25 error Proxies and interceptors MUST never be explicitly requested in constructors. (Magento2.Classes.DiscouragedDependencies.ConstructorProxyInterceptor) 59:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) Model/Config.php 19:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 26:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 34:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 42:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 52:77 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 78:81 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 80:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 94:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 102:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 110:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 118:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 126:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 136:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 144:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 152:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 160:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 168:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Config/Source/CustomerGroup.php 23:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 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) view/frontend/templates/banner.phtml 24:1 warning Line indented incorrectly; expected at least 4 spaces, found 0 (Generic.WhiteSpace.ScopeIndent.Incorrect) 43:124 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 62:1 warning Line indented incorrectly; expected at least 4 spaces, found 0 (Generic.WhiteSpace.ScopeIndent.Incorrect) view/frontend/templates/modal.phtml 81:121 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong)