Magento Coding Standard (PHPCS) report for avstudnitz/scopehint2 ================================================================ Package version: 1.3.5 | Magento: 2.4.9 | Tested: 2026-07-13 36 warnings in 4 files Plugin/ConfigFormFieldPlugin.php 12:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 13:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Plugin/ConfigFieldPlugin.php 20:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 21:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 46:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 50:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 64:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 65:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 72:9 warning Expected "foreach (...) {\n"; found "foreach(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 72:9 warning Expected 1 space after FOREACH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 81:9 warning Expected "foreach (...) {\n"; found "foreach(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 81:9 warning Expected 1 space after FOREACH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 96:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 97:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 116:10 warning Line indented incorrectly; expected 8 spaces, found 9 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 116:10 warning Closing brace indented incorrectly; expected 8 spaces, found 9 (Squiz.WhiteSpace.ScopeClosingBrace.Indent) 121:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 122:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 130:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 131:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 161:13 warning Expected 1 space after SWITCH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 179:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 203:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 208:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Plugin/ProductEavDataProviderPlugin.php 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) 46:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 75:145 warning Line exceeds 120 characters; contains 145 characters (Generic.Files.LineLength.TooLong) 86:13 warning Line exceeds 120 characters; contains 159 characters (Generic.Files.LineLength.TooLong) 109:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 110:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 119:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 120:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Plugin/UIScopeLabel.php 27:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 35:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 36:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)