Magento Coding Standard (PHPCS) report for lillik/magento2-price-decimal ======================================================================== Package version: 1.0.9 | Magento: 2.4.9 | Tested: 2026-05-27 61 warnings in 10 files Model/Config.php 12:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 15:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 18:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 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) 46:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 46:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 47:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 56:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 57:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 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) Model/PricePrecisionConfigTrait.php 11:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 12:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 19:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 20:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Plugin/Currency.php 11:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 18:12 warning $arguments parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Plugin/Local/Format.php 13:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 15:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 16:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Model/Plugin/PriceCurrency.php 11:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 13:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 29:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 30:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 32:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 33:8 warning ...$args parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 36:12 warning $args parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 50:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 51:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 52:8 warning ...$args parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 55:12 warning $args parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 62:24 warning The use of function intval() is discouraged; use (int) construction() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 68:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 69:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 70:8 warning ...$args parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 73:12 warning $args parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Plugin/OrderPlugin.php 9:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 10:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 11:8 warning ...$args parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 14:12 warning $args parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/ConfigInterface.php 9:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 10:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 14:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 15:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Ui/DataProvider/Product/Modifier/Price.php 49:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 49:31 warning Expected 0 spaces after opening parenthesis; 1 found (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) 49:45 warning Expected 0 spaces before closing parenthesis; 1 found (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) 52:11 warning Line indented incorrectly; expected 12 spaces, found 10 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 53:15 warning Line indented incorrectly; expected at least 16 spaces, found 14 (Generic.WhiteSpace.ScopeIndent.Incorrect) 54:11 warning Line indented incorrectly; expected 12 spaces, found 10 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 55:11 warning Line indented incorrectly; expected at least 12 spaces, found 10 (Generic.WhiteSpace.ScopeIndent.Incorrect) 56:11 warning Line indented incorrectly; expected at least 12 spaces, found 10 (Generic.WhiteSpace.ScopeIndent.Incorrect) 57:11 warning Line indented incorrectly; expected at least 12 spaces, found 10 (Generic.WhiteSpace.ScopeIndent.Incorrect) 65:31 warning Expected 0 spaces after opening parenthesis; 1 found (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) 65:45 warning Expected 0 spaces before closing parenthesis; 1 found (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) 78:6 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) Test/Unit/Plugin/Model/PriceCurrencyTest.php 14:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 16:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Block/System/Config/Form/Field/Precision.php 5:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) 25:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound)