Magento Coding Standard (PHPCS) report for magepal/magento2-guest-to-customer ============================================================================= Package version: 1.5.2 | Magento: 2.4.9 | Tested: 2026-05-27 2 errors, 73 warnings in 10 files Plugin/Api/OrderCustomerManagementInterfacePlugin.php 6:1 warning Expected 1 space before asterisk; 0 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 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) 33:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Helper/Data.php 19:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 21:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 23:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 24:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 25:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 27:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 28:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 29:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 30:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 31:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 37:12 warning Extra @param found in method annotation (Magento2.Annotation.MethodArguments.ExtraParam) 37:12 warning Possible useless method overriding detected (Generic.CodeAnalysis.UselessOverridingMethod.Found) 65:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 65:20 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 72:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 73:8 warning int parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 73:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 74:8 warning int parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 77:12 warning int duplicate found in method annotation (Magento2.Annotation.MethodArguments.DuplicateParam) 77:12 warning $customerId parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 77:12 warning $orderId parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 88:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 89:8 warning OrderInterface parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 89:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 90:8 warning CustomerInterface parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 92:12 warning $order parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 92:12 warning $customer parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 124:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 125:8 warning string parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 125:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 129:15 warning $xmlPath parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Observer/UpdateDownloadableProductObserver.php 17:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 19:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 35:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 36:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 56:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) Controller/Adminhtml/Customer/Index.php 28:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 30:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 82:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 107:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 107:20 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 189:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 190:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 190:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 191:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Controller/Guesttocustomer/LookupformPost.php 130:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 131:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 131:8 warning Tags visual alignment must be consistent (Magento2.Annotation.MethodAnnotationStructure.MethodArguments) 134:15 warning $order parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) view/frontend/templates/customer/lookupform.phtml 12:27 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 14:37 warning Using escapeHtmlAttr on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 19:31 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 23:27 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 29:121 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 34:27 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 39:43 warning Using escapeHtmlAttr on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 51:40 warning Using escapeHtmlAttr on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 52:35 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 56:54 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 57:35 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) view/frontend/web/css/source/_styles.less 1:18 warning Space before opening brace is missing (Magento2.Less.BracesFormatting.SpacingBeforeOpen) 2:1 warning Line indented incorrectly; expected 4 spaces, found 2 (Magento2.Less.Indentation.Incorrect) Block/View/Element/Html/Link/Current.php 15:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 17:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 21:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 28:8 warning $helperData parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 29:8 warning $data parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) Block/Adminhtml/Order/View/GuestToCustomerButtonList.php 19:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 21:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) Block/Customer/LookupForm.php 21:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 23:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription)