Magento Coding Standard (PHPCS) report for fballiano/magento2-defer-javascripts =============================================================================== Package version: 1.1.0 | Magento: 2.4.9 | Tested: 2026-05-27 24 warnings in 4 files Observer/Controller/FrontSendResponseBefore.php 25:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 25:2 warning Line indented incorrectly; expected 4 spaces, found 1 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 25:9 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 26:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 26:1 warning Multi-line function declaration not indented correctly; expected 5 spaces but found 2 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 26:3 warning Line indented incorrectly; expected at least 4 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) 27:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 27:2 warning Line indented incorrectly; expected at least 4 spaces, found 1 (Generic.WhiteSpace.ScopeIndent.Incorrect) 28:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 28:6 warning Line indented incorrectly; expected at least 8 spaces, found 5 (Generic.WhiteSpace.ScopeIndent.Incorrect) 29:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 32:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 35:22 warning Logical operator "and" is prohibited; use "&&" instead (Squiz.Operators.ValidLogicalOperators.NotAllowed) 35:45 warning Logical operator "and" is prohibited; use "&&" instead (Squiz.Operators.ValidLogicalOperators.NotAllowed) 41:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 41:2 warning Line indented incorrectly; expected 4 spaces, found 1 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) etc/frontend/events.xml 23:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 24:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 25:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) etc/module.xml 23:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) registration.php 22:1 warning Multi-line function call not indented correctly; expected 4 spaces but found 3 (PSR2.Methods.FunctionCallSignature.Indent) 23:1 warning Multi-line function call not indented correctly; expected 4 spaces but found 3 (PSR2.Methods.FunctionCallSignature.Indent) 24:1 warning Multi-line function call not indented correctly; expected 4 spaces but found 3 (PSR2.Methods.FunctionCallSignature.Indent) 25:2 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound)