Magento Coding Standard (PHPCS) report for hyva-themes/magento2-react-checkout ============================================================================== Package version: 1.1.4 | Magento: 2.4.9 | Tested: 2026-05-27 2 errors, 62 warnings in 16 files src/reactapp/public/index.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) 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 error Avoid using self-closing tag with non-void html element - "
(Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) src/ViewModel/CurrencyProvider.php 33:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 34:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 45:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 46:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 56:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 57:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) src/ViewModel/CspNonceProvider.php 12:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 17:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) src/ViewModel/ReactCheckoutLocalStorage.php 35:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 47:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 63:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 74:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 79:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 84:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 93:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 102:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 109:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 116:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 125:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 134:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) src/ViewModel/LocaleProvider.php 26:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 27:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) src/Plugin/DirectoryModel/SetStateRequired.php 34:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 42:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 43:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 59:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 60:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 75:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 76:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 78:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 97:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 98:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 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) 125:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 126:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) src/Plugin/CustomerController/AjaxLogin.php 39:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 60:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 86:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 87:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 107:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 108:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) src/Model/Resolver/ExtensionAttribute.php 30: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) src/Model/LoginSectionDataService.php 28:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) src/Observer/AddCartInfoInCheckoutConfig.php 38:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 58:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) src/Observer/RegisterModuleForHyvaConfig.php 17:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 22:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) src/view/frontend/templates/react-container.phtml 16:32 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) src/view/frontend/templates/html/header/logo.phtml 25:31 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 26:32 warning Using escapeHtmlAttr on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 28:35 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 29:37 warning Using escapeHtmlAttr on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 30:35 warning Using escapeHtmlAttr on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 31:54 warning Using escapeHtmlAttr on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 32:56 warning Using escapeHtmlAttr on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) src/view/frontend/templates/html/copyright.phtml 11:42 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) src/Config/Checkout.php 16:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 21:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) src/Block/CheckoutTranslator.php 10:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)