Magento Coding Standard (PHPCS) report for rollpix/module-orderstatuscolor ========================================================================== Package version: 1.0.0 | Magento: 2.4.9 | Tested: 2026-05-27 16 warnings in 5 files Plugin/Block/Adminhtml/Order/Status/Edit/Form.php 111:131 warning Line exceeds 120 characters; contains 131 characters (Generic.Files.LineLength.TooLong) 113:175 warning Line exceeds 120 characters; contains 175 characters (Generic.Files.LineLength.TooLong) 123:198 warning Line exceeds 120 characters; contains 198 characters (Generic.Files.LineLength.TooLong) 124:130 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) registration.php 3:6 warning Expected 1 space before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 4:6 warning Expected 1 space before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 5:6 warning Expected 1 space before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) view/adminhtml/templates/status-colors.phtml 15:1 warning Line indented incorrectly; expected at least 4 spaces, found 0 (Generic.WhiteSpace.ScopeIndent.Incorrect) 24:42 warning Using escapeJs on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) view/adminhtml/web/css/source/_module.less 21:40 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 22:19 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 23:12 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 23:19 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) Block/Adminhtml/Order/Status/Grid/Renderer/Color.php 30:1 warning Line exceeds 120 characters; contains 173 characters (Generic.Files.LineLength.TooLong) 33:13 warning The use of function htmlspecialchars() is discouraged; use \Magento\Framework\Escaper->escapeHtml() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 34:13 warning The use of function htmlspecialchars() is discouraged; use \Magento\Framework\Escaper->escapeHtml() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative)