Magento Coding Standard (PHPCS) report for yireo/magento2-whoops ================================================================ Package version: 0.2.5 | Magento: 2.4.9 | Tested: 2026-06-02 37 warnings in 4 files Plugin/HttpApp.php 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) 80:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 81:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 93:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 94:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 113:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 126:13 warning The use of function is_dir() is discouraged; use Magento\Framework\Filesystem\DriverInterface::isDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) view/whoops/views/header.html.php 16:7 warning Line indented incorrectly; expected at least 8 spaces, found 6 (Generic.WhiteSpace.ScopeIndent.Incorrect) 19:9 warning Line indented incorrectly; expected at least 10 spaces, found 8 (Generic.WhiteSpace.ScopeIndent.Incorrect) 32:7 warning Line indented incorrectly; expected at least 8 spaces, found 6 (Generic.WhiteSpace.ScopeIndent.Incorrect) 38:11 warning Line indented incorrectly; expected at least 12 spaces, found 10 (Generic.WhiteSpace.ScopeIndent.Incorrect) 40:15 warning Line indented incorrectly; expected at least 16 spaces, found 14 (Generic.WhiteSpace.ScopeIndent.Incorrect) 56:79 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 60:1 warning Line exceeds 120 characters; contains 481 characters (Generic.Files.LineLength.TooLong) 65:139 warning Line exceeds 120 characters; contains 175 characters (Generic.Files.LineLength.TooLong) 70:1 warning Line exceeds 120 characters; contains 401 characters (Generic.Files.LineLength.TooLong) 75:137 warning Line exceeds 120 characters; contains 177 characters (Generic.Files.LineLength.TooLong) 80:1 warning Line exceeds 120 characters; contains 677 characters (Generic.Files.LineLength.TooLong) 83:1 warning Line exceeds 120 characters; contains 2282 characters (Generic.Files.LineLength.TooLong) 84:1 warning Line exceeds 120 characters; contains 1134 characters (Generic.Files.LineLength.TooLong) 89:146 warning Line exceeds 120 characters; contains 190 characters (Generic.Files.LineLength.TooLong) 92:1 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 93:1 warning Line exceeds 120 characters; contains 236 characters (Generic.Files.LineLength.TooLong) 94:1 warning Line exceeds 120 characters; contains 252 characters (Generic.Files.LineLength.TooLong) 99:176 warning Line exceeds 120 characters; contains 227 characters (Generic.Files.LineLength.TooLong) 103:1 warning Line exceeds 120 characters; contains 200 characters (Generic.Files.LineLength.TooLong) 110:118 warning Line exceeds 120 characters; contains 163 characters (Generic.Files.LineLength.TooLong) 113:1 warning Line exceeds 120 characters; contains 154 characters (Generic.Files.LineLength.TooLong) Config/Config.php 10:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 12:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 30:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 31:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 38:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 39:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Test/Unit/HttpAppTest.php 26:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 28:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription)