Magento Coding Standard (PHPCS) report for mooore/magento2-module-add-to-cart-notification ========================================================================================== Package version: 1.6.0 | Magento: 2.4.9 | Tested: 2026-06-04 34 warnings in 8 files ViewModel/AddToCartNotification.php 12:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 18:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Plugin/Message/ManagerInterfacePlugin.php 16:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 28:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) Plugin/Controller/Cart/AddPlugin.php 25:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 31:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 63:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 64:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Plugin/Block/Cart/SidebarPlugin.php 16:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 21:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 22:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Config.php 12:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 13:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 14:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 20:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Checkout/ConfigProvider.php 17:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Controller/Data/Product.php 37:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 78:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) view/frontend/web/css/source/_module.less 1:37 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) 3:38 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) 9:28 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 14:51 warning Add a line break after each selector delimiter (Magento2.Less.SelectorDelimiter.LineBreakAfterDelimiter) 15:25 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) 20:25 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) 36:22 warning Expected 1 space after colon in style definition; newline found (Magento2.Less.ColonSpacing.AfterNewline) 37:20 warning Expected 1 space after colon in style definition; newline found (Magento2.Less.ColonSpacing.AfterNewline) 45:22 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) 52:50 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 63:30 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 74:59 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 81:9 warning Style definitions must end with a semicolon (Magento2.Less.SemicolonSpacing.NotAtEnd) 91:22 warning Expected 1 space after colon in style definition; newline found (Magento2.Less.ColonSpacing.AfterNewline) 92:20 warning Expected 1 space after colon in style definition; newline found (Magento2.Less.ColonSpacing.AfterNewline) 94:22 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes)