Magento Coding Standard (PHPCS) report for honl/magento2-templatehints ====================================================================== Package version: 0.6.0 | Magento: 2.4.9 | Tested: 2026-05-27 1 error, 23 warnings in 3 files Plugin/View/LayoutPlugin.php 18:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 40:8 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 66:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 67:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 85:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 86:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 118:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 119:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 132:52 warning The use of function htmlspecialchars() is discouraged; use \Magento\Framework\Escaper->escapeHtml() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 146:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 147:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 183:35 error Silencing errors is discouraged; found: @$block->getCacheKeyInfo... (Generic.PHP.NoSilencedErrors.Discouraged) 193:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 194:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 198:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 206:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 210:28 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 220:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 221:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 237:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Test/Unit/LayoutPluginTest.php 24:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 43:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 53:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) Block/Hints/Init.php 15:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags)