Magento Coding Standard (PHPCS) report for mageplaza/module-gdpr ================================================================ Package version: 4.2.9 | Magento: 2.4.9 | Tested: 2026-07-13 176 warnings in 39 files GraphQl/Model/Resolver/Configs/Get.php 34:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 36:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 67:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 68:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 68:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) GraphQl/Model/Resolver/CreateDeleteDefaultAddressRequest.php 33:1 warning There must be one blank line after the last USE statement; 2 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) 38:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 40:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) GraphQl/Model/Resolver/CreateDeleteAccountRequest.php 37:1 warning There must be one blank line after the last USE statement; 2 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) 42:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 44:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 143:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 144:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Helper/Data.php 31:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 33:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 35:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 37:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 38:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 38:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 47:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 48:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 48:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 57:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 58:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 65:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 66:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 66:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 76:8 warning Short description must start with a capital letter (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) Model/Api/Data/Config/GeneralConfig.php 31:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 33:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 79:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 80:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Api/RequestsManagement.php 39:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 118:28 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 133:28 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 172:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 173:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) etc/schema.graphqls 10:1 warning Type name "generalConfig" is not in PascalCase format (Magento2.GraphQL.ValidTypeName.NotCamelCaps) etc/frontend/routes.xml 1:1 warning End of line character is invalid; expected "\n" but found "\r\n" (Generic.Files.LineEndings.InvalidEOLChar) etc/frontend/di.xml 1:1 warning End of line character is invalid; expected "\n" but found "\r\n" (Generic.Files.LineEndings.InvalidEOLChar) etc/config.xml 1:1 warning End of line character is invalid; expected "\n" but found "\r\n" (Generic.Files.LineEndings.InvalidEOLChar) etc/adminhtml/system.xml 1:1 warning End of line character is invalid; expected "\n" but found "\r\n" (Generic.Files.LineEndings.InvalidEOLChar) etc/module.xml 1:1 warning End of line character is invalid; expected "\n" but found "\r\n" (Generic.Files.LineEndings.InvalidEOLChar) etc/acl.xml 1:1 warning End of line character is invalid; expected "\n" but found "\r\n" (Generic.Files.LineEndings.InvalidEOLChar) Controller/Account/DeleteSuccess.php 29:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 31:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) Controller/Account/Delete.php 44:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 116:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 117:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 165:135 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) Controller/Address/Delete.php 35:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 37:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 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) view/frontend/templates/hyva/address/book.phtml 25:11 warning The use of helpers in templates is discouraged. Use ViewModel instead. (Magento2.Templates.ThisInTemplate.FoundHelper) 25:11 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 41:1 warning Line exceeds 120 characters; contains 200 characters (Generic.Files.LineLength.TooLong) 48:1 warning Please do not use "text/javascript" type attribute. (Magento2.Legacy.PhtmlTemplate.TextJavascriptTypeFound) 57:130 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 71:131 warning Line exceeds 120 characters; contains 131 characters (Generic.Files.LineLength.TooLong) view/frontend/templates/hyva/account/edit/delete.phtml 31:163 warning Line exceeds 120 characters; contains 168 characters (Generic.Files.LineLength.TooLong) 46:53 warning Expected 0 spaces after closing parenthesis; found 1 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 51:1 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 54:113 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 55:146 warning Line exceeds 120 characters; contains 154 characters (Generic.Files.LineLength.TooLong) 60:138 warning Line exceeds 120 characters; contains 142 characters (Generic.Files.LineLength.TooLong) 64:113 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 65:133 warning Line exceeds 120 characters; contains 141 characters (Generic.Files.LineLength.TooLong) 78:58 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 79:53 warning Expected 0 spaces after closing parenthesis; found 1 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 91:53 warning Expected 0 spaces after closing parenthesis; found 1 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 94:135 warning Line exceeds 120 characters; contains 136 characters (Generic.Files.LineLength.TooLong) 114:126 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) view/frontend/templates/hyva/account/delete.phtml 24:33 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 28:66 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) view/frontend/templates/address/book.phtml 25:11 warning The use of helpers in templates is discouraged. Use ViewModel instead. (Magento2.Templates.ThisInTemplate.FoundHelper) 25:11 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 32:1 warning Please do not use "text/javascript" type attribute. (Magento2.Legacy.PhtmlTemplate.TextJavascriptTypeFound) 41:256 warning Line exceeds 120 characters; contains 268 characters (Generic.Files.LineLength.TooLong) 43:231 warning Line exceeds 120 characters; contains 243 characters (Generic.Files.LineLength.TooLong) 55:256 warning Line exceeds 120 characters; contains 268 characters (Generic.Files.LineLength.TooLong) 58:231 warning Line exceeds 120 characters; contains 243 characters (Generic.Files.LineLength.TooLong) view/frontend/templates/account/edit/delete.phtml 34:178 warning Line exceeds 120 characters; contains 179 characters (Generic.Files.LineLength.TooLong) 46:66 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 46:121 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) view/frontend/templates/account/delete.phtml 24:33 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 28:43 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) view/frontend/layout/customer_address_index.xml 1:1 warning End of line character is invalid; expected "\n" but found "\r\n" (Generic.Files.LineEndings.InvalidEOLChar) view/frontend/layout/customer_account_edit.xml 1:1 warning End of line character is invalid; expected "\n" but found "\r\n" (Generic.Files.LineEndings.InvalidEOLChar) view/frontend/layout/customer_account_deletesuccess.xml 1:1 warning End of line character is invalid; expected "\n" but found "\r\n" (Generic.Files.LineEndings.InvalidEOLChar) view/frontend/web/css/source/_module.less 1:1 warning End of line character is invalid; expected "\n" but found "\r\n" (Generic.Files.LineEndings.InvalidEOLChar) 21:1 warning Line indented incorrectly; expected 4 spaces, found 2 (Magento2.Less.Indentation.Incorrect) 22:1 warning Line indented incorrectly; expected 4 spaces, found 2 (Magento2.Less.Indentation.Incorrect) 23:1 warning Line indented incorrectly; expected 8 spaces, found 4 (Magento2.Less.Indentation.Incorrect) 23:12 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 24:1 warning Line indented incorrectly; expected 8 spaces, found 4 (Magento2.Less.Indentation.Incorrect) 25:1 warning Line indented incorrectly; expected 4 spaces, found 2 (Magento2.Less.Indentation.Incorrect) 26:1 warning Line indented incorrectly; expected 4 spaces, found 2 (Magento2.Less.Indentation.Incorrect) 27:1 warning Line indented incorrectly; expected 8 spaces, found 4 (Magento2.Less.Indentation.Incorrect) 28:1 warning Line indented incorrectly; expected 8 spaces, found 4 (Magento2.Less.Indentation.Incorrect) 29:1 warning Line indented incorrectly; expected 12 spaces, found 6 (Magento2.Less.Indentation.Incorrect) 29:25 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 30:1 warning Line indented incorrectly; expected 12 spaces, found 6 (Magento2.Less.Indentation.Incorrect) 30:21 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 31:1 warning Line indented incorrectly; expected 12 spaces, found 6 (Magento2.Less.Indentation.Incorrect) 31:14 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 31:14 warning CSS colours must use shorthand if available; expected #fff but found #ffffff (Magento2.Less.ColourDefinition.Shorthand) 32:1 warning Line indented incorrectly; expected 12 spaces, found 6 (Magento2.Less.Indentation.Incorrect) 32:44 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 33:1 warning Line indented incorrectly; expected 12 spaces, found 6 (Magento2.Less.Indentation.Incorrect) 34:1 warning Line indented incorrectly; expected 16 spaces, found 8 (Magento2.Less.Indentation.Incorrect) 34:27 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 35:1 warning Line indented incorrectly; expected 16 spaces, found 8 (Magento2.Less.Indentation.Incorrect) 35:23 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 36:1 warning Line indented incorrectly; expected 12 spaces, found 6 (Magento2.Less.Indentation.Incorrect) 37:1 warning Line indented incorrectly; expected 8 spaces, found 4 (Magento2.Less.Indentation.Incorrect) 38:1 warning Line indented incorrectly; expected 4 spaces, found 2 (Magento2.Less.Indentation.Incorrect) Api/RequestsManagementInterface.php 26:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 31:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 32:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 36:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 37:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 43:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 44:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Api/Data/ConfigInterface.php 26:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 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) 34:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Api/Data/Config/GeneralConfigInterface.php 35:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 37:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 39:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 41:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 43:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 44:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 48:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 49:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 53:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 54:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 58:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 59:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Test/Unit/GraphQl/Model/Resolver/Configs/GetTest.php 39:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 41:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) Test/Unit/GraphQl/Model/Resolver/CreateDeleteAccountRequestTest.php 43:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 45:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) Test/Unit/GraphQl/Model/Resolver/CreateDeleteDefaultAddressRequestTest.php 40:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 42:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) Test/Unit/Helper/DataTest.php 36:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 38:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) Test/Unit/Model/Api/RequestsManagementTest.php 42:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 44:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) Test/Unit/Model/Api/Data/Config/GeneralConfigTest.php 36:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 38:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) Test/Unit/Controller/Account/DeleteTest.php 46:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 48:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) Test/Unit/Controller/Address/DeleteTest.php 39:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 41:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) Test/Unit/Block/Address/AccountTest.php 34:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 36:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) Block/Address/Account.php 31:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 33:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 51:8 warning $helperData parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 53:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 53:12 warning $manager parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 64:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 65:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 70:153 warning Line exceeds 120 characters; contains 153 characters (Generic.Files.LineLength.TooLong) 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) 83:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 84:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 91:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 92:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 99:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 100:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)