Magento Coding Standard (PHPCS) report for studioraz/magento2-unicode-url ========================================================================= Package version: 1.0.1 | Magento: 2.4.9 | Tested: 2026-05-27 47 warnings in 7 files Filter/AbstractTranslitUrl.php 15:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 23:8 warning No blank lines are allowed before short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 28:5 warning Visibility must be declared on method "sanitize" (Squiz.Scope.MethodScope.Missing) 37:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 64:5 warning Visibility must be declared on method "utf8UriEncode" (Squiz.Scope.MethodScope.Missing) 67:19 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 76:17 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 78:29 warning The use of function chr() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 91:17 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 98:31 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 105:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 108:8 warning Short description must start with a capital letter (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 113:5 warning Visibility must be declared on method "seemsUtf8" (Squiz.Scope.MethodScope.Missing) 120:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 121:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 122:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 123:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 124:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 125:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 126:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 128:17 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 134:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) 136:5 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 136:5 warning Visibility must be declared on method "mbstringBinarySafeEncoding" (Squiz.Scope.MethodScope.Missing) 138:29 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 141:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 141:13 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 142:79 warning INI directive 'mbstring.func_overload' is deprecated since PHP 7.2 and removed since PHP 8.0 (PHPCompatibility.IniDirectives.RemovedIniDirectives.mbstring_func_overloadDeprecatedRemoved) 144:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 158:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 160:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Filter/Factory.php 16:34 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 17:33 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) Plugin/MagentoStore/App/Request/PathInfoProcessor.php 9:8 warning No blank lines are allowed before short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 13:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 21: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) 26:16 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 31:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Plugin/Model/Category.php 9:27 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 11:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Plugin/Model/ResourceModel/PagePlugin.php 14:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 16:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 27:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 29:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Plugin/Product/Url.php 10:27 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 12:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) registration.php 6:6 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound)