Magento Coding Standard (PHPCS) report for kodexpo/module-scope-override-inspector ================================================================================== Package version: v1.0.0 | Magento: 2.4.9 | Tested: 2026-06-01 143 warnings in 16 files Plugin/Adminhtml/Product/SaveNoticePlugin.php 32:1 warning Multi-line function declaration not indented correctly; expected 4 spaces but found 8 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) Plugin/Adminhtml/Category/SaveNoticePlugin.php 32:1 warning Multi-line function declaration not indented correctly; expected 4 spaces but found 8 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) Plugin/Adminhtml/Config/SaveNoticePlugin.php 32:1 warning Multi-line function declaration not indented correctly; expected 4 spaces but found 8 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) Model/NoticeMessageBuilder.php 33:135 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) 74:152 warning Line exceeds 120 characters; contains 152 characters (Generic.Files.LineLength.TooLong) 95:143 warning Line exceeds 120 characters; contains 143 characters (Generic.Files.LineLength.TooLong) 131:180 warning Line exceeds 120 characters; contains 180 characters (Generic.Files.LineLength.TooLong) 140:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 141:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 141:15 warning Line exceeds 120 characters; contains 145 characters (Generic.Files.LineLength.TooLong) 144:12 warning $stores parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/OverrideSummary.php 13:15 warning Line exceeds 120 characters; contains 131 characters (Generic.Files.LineLength.TooLong) 15:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 15:12 warning $totalRows parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 72:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 73:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 73:16 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) Model/NoticeDataProvider.php 26:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 201:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 232:17 warning Line exceeds 120 characters; contains 219 characters (Generic.Files.LineLength.TooLong) 283:21 warning Line exceeds 120 characters; contains 223 characters (Generic.Files.LineLength.TooLong) 341:15 warning Line exceeds 120 characters; contains 149 characters (Generic.Files.LineLength.TooLong) 344:13 warning $store parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 393:13 warning $visibleAttributeCodes parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 416:13 warning $visibleAttributeCodes parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 511:13 warning $diffs parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 535:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Model/OverrideInspector.php 53:1 warning Multi-line function declaration not indented correctly; expected 4 spaces but found 8 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 63:12 warning $visibleAttributeCodes parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 81:12 warning $visibleAttributeCodes parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 102:13 warning $visibleAttributeCodes parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 109:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 180:1 warning Multi-line function call not indented correctly; expected 20 spaces but found 24 (PSR2.Methods.FunctionCallSignature.Indent) 181:1 warning Multi-line function call not indented correctly; expected 20 spaces but found 24 (PSR2.Methods.FunctionCallSignature.Indent) 182:1 warning Multi-line function call not indented correctly; expected 20 spaces but found 24 (PSR2.Methods.FunctionCallSignature.Indent) 183:1 warning Multi-line function call not indented correctly; expected 20 spaces but found 24 (PSR2.Methods.FunctionCallSignature.Indent) 184:1 warning Multi-line function call not indented correctly; expected 16 spaces but found 20 (PSR2.Methods.FunctionCallSignature.Indent) 249:13 warning $visibleAttributeCodes parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 276:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 277:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 277:16 warning Line exceeds 120 characters; contains 213 characters (Generic.Files.LineLength.TooLong) 279:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 308:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 377:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 490:38 warning The use of function html_entity_decode() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 571:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 572:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 572:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 572:15 warning Line exceeds 120 characters; contains 147 characters (Generic.Files.LineLength.TooLong) 577:13 warning $metadata parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 599:13 warning $attributeMetadata parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/VisibleEntityAttributeResolver.php 80:13 warning $metaLoader parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 86:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 93:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 107:13 warning $meta parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 124:13 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 124:13 warning $meta parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 124:13 warning $codes parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 134:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 211:13 warning $config parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 236:13 warning $config parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 266:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) Model/Config/Source/NoticeLayout.php 32:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Model/AdminScopeUrls.php 35:145 warning Line exceeds 120 characters; contains 145 characters (Generic.Files.LineLength.TooLong) 65:146 warning Line exceeds 120 characters; contains 146 characters (Generic.Files.LineLength.TooLong) Model/ConfigOverrideInspector.php 67:1 warning Multi-line function declaration not indented correctly; expected 4 spaces but found 8 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 202:148 warning Line exceeds 120 characters; contains 148 characters (Generic.Files.LineLength.TooLong) 476:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 477:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 479:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 566:140 warning Line exceeds 120 characters; contains 140 characters (Generic.Files.LineLength.TooLong) view/adminhtml/templates/notice.phtml 10:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 128:158 warning Line exceeds 120 characters; contains 158 characters (Generic.Files.LineLength.TooLong) 150:1 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 152:27 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 156:66 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 157:94 warning Using escapeHtmlAttr on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 157:124 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) 162:45 warning Using escapeHtmlAttr on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 162:101 warning Using escapeHtmlAttr on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 162:144 warning Line exceeds 120 characters; contains 180 characters (Generic.Files.LineLength.TooLong) 168:74 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 171:33 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 180:43 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 185:43 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 234:124 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 235:65 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 237:65 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 241:61 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 246:53 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 252:66 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 252:88 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 253:61 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 264:147 warning Line exceeds 120 characters; contains 147 characters (Generic.Files.LineLength.TooLong) 266:124 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 266:145 warning Line exceeds 120 characters; contains 151 characters (Generic.Files.LineLength.TooLong) 267:125 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 267:161 warning Line exceeds 120 characters; contains 167 characters (Generic.Files.LineLength.TooLong) 274:73 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 277:128 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 281:85 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 281:128 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 283:1 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 284:85 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 284:128 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 287:85 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 287:129 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 289:1 warning Line exceeds 120 characters; contains 167 characters (Generic.Files.LineLength.TooLong) 290:85 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 290:129 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 295:85 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 295:122 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 300:81 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 300:124 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 314:136 warning Line exceeds 120 characters; contains 137 characters (Generic.Files.LineLength.TooLong) 315:1 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 319:73 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 319:185 warning Line exceeds 120 characters; contains 186 characters (Generic.Files.LineLength.TooLong) 322:73 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 329:89 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 330:81 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 332:77 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 341:125 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 342:1 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 346:73 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 346:188 warning Line exceeds 120 characters; contains 189 characters (Generic.Files.LineLength.TooLong) 349:73 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 356:89 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 357:81 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 359:77 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 366:125 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 367:1 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 371:73 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 371:201 warning Line exceeds 120 characters; contains 202 characters (Generic.Files.LineLength.TooLong) 374:73 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 381:89 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 382:81 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 384:77 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) Test/Unit/Model/ModuleConfigTest.php 22:26 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/ConfigOverrideInspectorTest.php 60:121 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) Test/Unit/Model/NoticeDataProviderTest.php 66:32 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 159:162 warning Line exceeds 120 characters; contains 162 characters (Generic.Files.LineLength.TooLong) Block/Adminhtml/OverrideNotice.php 17:20 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)