Magento Coding Standard (PHPCS) report for swissup/module-codemirror ==================================================================== Package version: 1.1.21 | Magento: 2.4.9 | Tested: 2026-05-27 53 warnings in 2 files view/base/web/css/editor.less 15:1 warning Selector contains uppercase symbols (Magento2.Less.TypeSelectors.UpperCaseSelector) 15:1 warning CSS class name does not follow class naming requirements: CM (Magento2.Less.ClassNaming.NotAllowedSymbol) 16:23 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 18:30 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 19:22 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 22:23 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 27:29 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 37:45 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 45:31 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 52:50 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 53:42 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 53:62 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 69:25 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 80:25 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 81:13 warning Style definitions must end with a semicolon (Magento2.Less.SemicolonSpacing.NotAtEnd) 81:23 warning Expected 1 space after colon in style definition; newline found (Magento2.Less.ColonSpacing.AfterNewline) 81:31 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 82:1 warning Line indented incorrectly; expected 12 spaces, found 24 (Magento2.Less.Indentation.Incorrect) 82:31 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 82:35 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 96:5 warning Concatenation is used (Magento2.Less.TypeSelectorConcatenation.ConcatenationUsage) 107:61 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) 107:111 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) 107:132 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) 107:150 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) 111:31 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 112:25 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 113:20 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 115:32 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 123:29 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 127:29 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 137:5 warning Concatenation is used (Magento2.Less.TypeSelectorConcatenation.ConcatenationUsage) 148:21 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 149:44 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 149:72 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 151:41 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 157:30 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 165:21 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 169:44 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 173:47 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 177:29 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 185:29 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 189:33 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 201:5 warning Selector contains uppercase symbols (Magento2.Less.TypeSelectors.UpperCaseSelector) 201:5 warning CSS class name does not follow class naming requirements: CM (Magento2.Less.ClassNaming.NotAllowedSymbol) 203:27 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 204:21 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 213:20 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 217:27 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 217:31 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 233:36 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) Block/Adminhtml/System/Config/Form/Field/Editor.php 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)