Magento Coding Standard (PHPCS) report for siteation/magento2-storeinfo ======================================================================= Package version: 4.0.2 | Magento: 2.4.9 | Tested: 2026-05-27 4 errors, 92 warnings in 18 files ViewModel/StoreInfoLogo.php 18:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) ViewModel/StoreInfo.php 18:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 19:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 20:26 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 22:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 32:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 44:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 49:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 54:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 59:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 64:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 69:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 74:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 79:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 84:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 89:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 102:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 107:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 111:40 warning The use of function intval() is discouraged; use (int) construction() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 115:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 120:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 125:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 130:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 135:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 141:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 146:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 151:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 156:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 161:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 166:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) ViewModel/StoreInfoHours.php 16:26 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 18:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 23:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 28:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 42:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 57:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 65:26 warning Expected 1 space after FUNCTION keyword; 0 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction) 67:15 warning Line indented incorrectly; expected at least 16 spaces, found 14 (Generic.WhiteSpace.ScopeIndent.Incorrect) ViewModel/StoreInfoSocials.php 16:26 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 31:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 36:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 42:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 48:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 54:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 60:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 66:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 72:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 78:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 84:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 90:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 96:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 115:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) ViewModel/StoreInfoNotice.php 16:26 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 18:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 23:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Observer/RegisterModuleForHyvaConfig.php 17:32 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 19:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 24:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) view/frontend/templates/elements/address.phtml 53:11 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) view/frontend/templates/elements/socials.phtml 58:15 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 81:48 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 81:114 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 81:133 warning Line exceeds 120 characters; contains 136 characters (Generic.Files.LineLength.TooLong) view/frontend/templates/elements/hours.phtml 56:15 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 67:17 warning Line indented incorrectly; expected at least 42 spaces, found 16 (Generic.WhiteSpace.ScopeIndent.Incorrect) view/frontend/templates/html/address.phtml 27:11 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) view/frontend/templates/html/socials.phtml 32:15 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 55:48 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 55:114 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 55:133 warning Line exceeds 120 characters; contains 136 characters (Generic.Files.LineLength.TooLong) view/frontend/templates/html/hours.phtml 30:15 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 41:17 warning Line indented incorrectly; expected at least 42 spaces, found 16 (Generic.WhiteSpace.ScopeIndent.Incorrect) view/frontend/templates/hyva/contact-details.phtml 116:17 warning Line indented incorrectly; expected at least 51 spaces, found 16 (Generic.WhiteSpace.ScopeIndent.Incorrect) view/frontend/templates/head/schema.phtml 55:45 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) view/frontend/web/css/source/_module.less 19:38 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 28:13 warning Style definitions must end with a semicolon (Magento2.Less.SemicolonSpacing.NotAtEnd) 28:24 warning Style definitions must end with a semicolon (Magento2.Less.SemicolonSpacing.NotAtEnd) 34:39 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 39:38 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 51:40 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) Config/Config.php 16:34 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 18:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 23:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 29:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 35:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 41:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 47:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Block/Adminhtml/Form/Field/DayOfTheWeekColumn.php 15:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 20:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 25:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 33:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Block/Adminhtml/Form/Field/HourRanges.php 20:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 35:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 46:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 48:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 60:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody)