Magento Coding Standard (PHPCS) report for magenable/module-popup
=================================================================
Package version: 1.0.7 | Magento: 2.4.9 | Tested: 2026-06-16
78 warnings in 11 files
ViewModel/Popup.php
20:28 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
21:31 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
22:29 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
23:21 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
24:23 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
26:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
40:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
45:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
50:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
55:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
60:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
65:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
66:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
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)
98:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
103:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
Plugin/NewSubscriber.php
16:30 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
17:45 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
18:25 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
20:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
30:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
31:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Helper/Data.php
9:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound)
Model/ConfigProvider.php
24:34 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
25:30 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
27:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
35:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
43:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
51:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
59:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
67:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
75:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
87:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
95:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
103:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
111:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
Model/VisibilityChecker.php
12:28 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
13:18 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
15:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
23:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
48:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
Model/Config/Source/VisibilityType.php
12:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
Model/ContentProvider.php
15:28 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
16:38 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
17:20 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
19:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
29:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
30:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Setup/Patch/Data/CreateCmsBlock.php
16:38 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
17:35 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
19:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
28:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
29:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
29:34 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
36:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch)
36:44 warning Newline required after opening brace (Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace)
36:45 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore)
46:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
54:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
view/frontend/web/template/newsletter-form.html
1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements)
1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements)
view/frontend/web/css/source/_module.less
2:5 warning CSS class names should be separated with "-" (dash) instead of "_" (underscore) (Magento2.Less.ClassNaming.NotAllowedSymbol)
5:15 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes)
7:9 warning Space before opening brace is missing (Magento2.Less.BracesFormatting.SpacingBeforeOpen)
10:29 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
13:5 warning CSS class names should be separated with "-" (dash) instead of "_" (underscore) (Magento2.Less.ClassNaming.NotAllowedSymbol)
18:9 warning Space before opening brace is missing (Magento2.Less.BracesFormatting.SpacingBeforeOpen)
28:22 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
Block/Adminhtml/Form/Renderer/Config/CmsBlock.php
19:33 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
20:27 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
21:39 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
23:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
37:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
38:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)