Magento Coding Standard (PHPCS) report for magenerds/germanlaw ============================================================== Package version: 1.3.1 | Magento: 2.4.9 | Tested: 2026-05-27 4 errors, 84 warnings in 11 files Model/Plugin/AfterPrice.php 25:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 27:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 34: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) 64:5 warning There must be a single space between the closing parenthesis/return type and the opening brace of a multi-line function declaration; found 0 spaces (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenBrace) 76:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 76:12 warning $closure parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 81:9 warning Expected 1 space after TRY keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 88:135 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) 107:60 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) Setup/TaxInstaller.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) 108:8 warning $taxClass parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 111:12 warning $taxClassFactory parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 137:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 145:18 warning The use of function file_exists() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 171:18 warning The use of function file_exists() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Setup/CmsInstaller.php 24:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 26:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 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) 74:18 warning The use of function file_exists() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Setup/UpgradeData.php 1:1 error UpgradeData scripts are obsolete. Please use data patches approach in module's Setup/Patch/Data dir (Magento2.Legacy.InstallUpgrade.ObsoleteUpgradeDataScript) 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) 65:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 71:5 warning There must be a single space between the closing parenthesis/return type and the opening brace of a multi-line function declaration; found 0 spaces (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenBrace) 80:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 81:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 83:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 102:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) Setup/InstallData.php 1:1 error InstallData scripts are obsolete. Please use data patches approach in module's Setup/Patch/Data dir (Magento2.Legacy.InstallUpgrade.ObsoleteInstallDataScript) 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) 65:5 warning There must be a single space between the closing parenthesis/return type and the opening brace of a multi-line function declaration; found 0 spaces (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenBrace) 73:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 74:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 76:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 80:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 81:121 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 82:152 warning Line exceeds 120 characters; contains 152 characters (Generic.Files.LineLength.TooLong) 83:133 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 84:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 85:121 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 86:121 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 87:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 88:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 90:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 91:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 92:143 warning Line exceeds 120 characters; contains 143 characters (Generic.Files.LineLength.TooLong) 93:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 94:130 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 95:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 100:121 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 101:121 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 103:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 104:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 105:130 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 106:125 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 107:121 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 108:139 warning Line exceeds 120 characters; contains 139 characters (Generic.Files.LineLength.TooLong) view/frontend/templates/price/footer_after.phtml 23:7 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 26:7 warning Short echo tag syntax must be used; expected "