Magento Coding Standard (PHPCS) report for magendoo/module-catalog-quality ========================================================================== Package version: 2.0.0 | Magento: 2.4.9 | Tested: 2026-07-18 140 warnings in 4 files Model/ResourceModel/Priority/Grid/Collection.php 41:12 warning Possible useless method overriding detected (Generic.CodeAnalysis.UselessOverridingMethod.Found) Model/ResourceModel/Score/Grid/Collection.php 41:12 warning Possible useless method overriding detected (Generic.CodeAnalysis.UselessOverridingMethod.Found) Console/Command/ExportPrioritiesCommand.php 71:19 warning The use of function fopen() is discouraged; use Magento\Framework\Filesystem\DriverInterface::fileOpen() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 73:17 warning The use of function fputcsv() is discouraged; use Magento\Framework\Filesystem\DriverInterface::filePutCsv() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 75:13 warning The use of function fclose() is discouraged; use Magento\Framework\Filesystem\DriverInterface::fileClose() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) view/adminhtml/web/css/source/_module.less 3:5 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 12:16 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 12:20 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 14:36 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 14:45 warning Expected 0 blank lines before closing brace of class definition; -1 found (Magento2.Less.BracesFormatting.SpacingBeforeClose) 15:36 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 15:45 warning Expected 0 blank lines before closing brace of class definition; -1 found (Magento2.Less.BracesFormatting.SpacingBeforeClose) 16:36 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 16:52 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 16:56 warning Each property must be on a line by itself (Magento2.Less.PropertiesLineBreak.SameLine) 16:58 warning Expected 0 blank lines before closing brace of class definition; -1 found (Magento2.Less.BracesFormatting.SpacingBeforeClose) 17:36 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 17:45 warning Expected 0 blank lines before closing brace of class definition; -1 found (Magento2.Less.BracesFormatting.SpacingBeforeClose) 18:36 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 18:45 warning Expected 0 blank lines before closing brace of class definition; -1 found (Magento2.Less.BracesFormatting.SpacingBeforeClose) 21:5 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 24:21 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 25:16 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 29:25 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 32:5 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 39:16 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 40:26 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 42:35 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 42:44 warning Expected 0 blank lines before closing brace of class definition; -1 found (Magento2.Less.BracesFormatting.SpacingBeforeClose) 43:35 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 43:44 warning Expected 0 blank lines before closing brace of class definition; -1 found (Magento2.Less.BracesFormatting.SpacingBeforeClose) 44:35 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 44:51 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 44:55 warning Each property must be on a line by itself (Magento2.Less.PropertiesLineBreak.SameLine) 44:57 warning Expected 0 blank lines before closing brace of class definition; -1 found (Magento2.Less.BracesFormatting.SpacingBeforeClose) 47:5 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 53:26 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 56:25 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 57:20 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 61:25 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 62:20 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 66:5 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 75:24 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 80:21 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 81:27 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 84:46 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 89:20 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 91:31 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 96:20 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 97:31 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 102:20 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 102:24 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 106:36 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 110:36 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 114:36 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 119:20 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 119:27 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 125:16 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 129:21 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 130:32 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 131:35 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 135:21 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 136:32 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 140:22 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 150:25 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 151:31 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 153:26 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 159:24 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 159:28 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 168:17 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 172:25 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 175:29 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 180:25 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 182:34 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 189:20 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 189:24 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 193:5 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 197:34 warning Expected 0 blank lines before closing brace of class definition; -1 found (Magento2.Less.BracesFormatting.SpacingBeforeClose) 205:24 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 207:42 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 207:46 warning Each property must be on a line by itself (Magento2.Less.PropertiesLineBreak.SameLine) 207:46 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 207:48 warning Expected 0 blank lines before closing brace of class definition; -1 found (Magento2.Less.BracesFormatting.SpacingBeforeClose) 212:31 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 215:29 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 221:25 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 228:16 warning Add a line break after each selector delimiter (Magento2.Less.SelectorDelimiter.LineBreakAfterDelimiter) 229:31 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 235:25 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 239:49 warning Expected 0 blank lines before closing brace of class definition; -1 found (Magento2.Less.BracesFormatting.SpacingBeforeClose) 240:29 warning Space before opening brace is missing (Magento2.Less.BracesFormatting.SpacingBeforeOpen) 240:66 warning Each property must be on a line by itself (Magento2.Less.PropertiesLineBreak.SameLine) 240:68 warning Expected 0 blank lines before closing brace of class definition; -1 found (Magento2.Less.BracesFormatting.SpacingBeforeClose) 241:65 warning Each property must be on a line by itself (Magento2.Less.PropertiesLineBreak.SameLine) 241:74 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 241:78 warning Each property must be on a line by itself (Magento2.Less.PropertiesLineBreak.SameLine) 241:95 warning Each property must be on a line by itself (Magento2.Less.PropertiesLineBreak.SameLine) 241:95 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 241:97 warning Expected 0 blank lines before closing brace of class definition; -1 found (Magento2.Less.BracesFormatting.SpacingBeforeClose) 242:64 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 242:68 warning Each property must be on a line by itself (Magento2.Less.PropertiesLineBreak.SameLine) 242:68 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 242:70 warning Expected 0 blank lines before closing brace of class definition; -1 found (Magento2.Less.BracesFormatting.SpacingBeforeClose) 243:47 warning Expected 0 blank lines before closing brace of class definition; -1 found (Magento2.Less.BracesFormatting.SpacingBeforeClose) 245:32 warning Space before opening brace is missing (Magento2.Less.BracesFormatting.SpacingBeforeOpen) 245:46 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 245:62 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 245:69 warning Each property must be on a line by itself (Magento2.Less.PropertiesLineBreak.SameLine) 245:71 warning Expected 0 blank lines before closing brace of class definition; -1 found (Magento2.Less.BracesFormatting.SpacingBeforeClose) 246:46 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 246:62 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 246:69 warning Each property must be on a line by itself (Magento2.Less.PropertiesLineBreak.SameLine) 246:71 warning Expected 0 blank lines before closing brace of class definition; -1 found (Magento2.Less.BracesFormatting.SpacingBeforeClose) 247:46 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 247:62 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 247:69 warning Each property must be on a line by itself (Magento2.Less.PropertiesLineBreak.SameLine) 247:71 warning Expected 0 blank lines before closing brace of class definition; -1 found (Magento2.Less.BracesFormatting.SpacingBeforeClose) 248:32 warning Space before opening brace is missing (Magento2.Less.BracesFormatting.SpacingBeforeOpen) 248:46 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 248:62 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 248:69 warning Each property must be on a line by itself (Magento2.Less.PropertiesLineBreak.SameLine) 248:71 warning Expected 0 blank lines before closing brace of class definition; -1 found (Magento2.Less.BracesFormatting.SpacingBeforeClose) 249:32 warning Space before opening brace is missing (Magento2.Less.BracesFormatting.SpacingBeforeOpen) 249:46 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 249:62 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 249:66 warning Each property must be on a line by itself (Magento2.Less.PropertiesLineBreak.SameLine) 249:68 warning Expected 0 blank lines before closing brace of class definition; -1 found (Magento2.Less.BracesFormatting.SpacingBeforeClose) 257:28 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 264:31 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 266:35 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 269:32 warning Space before opening brace is missing (Magento2.Less.BracesFormatting.SpacingBeforeOpen) 269:46 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 269:55 warning Expected 0 blank lines before closing brace of class definition; -1 found (Magento2.Less.BracesFormatting.SpacingBeforeClose) 270:46 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 270:55 warning Expected 0 blank lines before closing brace of class definition; -1 found (Magento2.Less.BracesFormatting.SpacingBeforeClose) 271:46 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 271:55 warning Expected 0 blank lines before closing brace of class definition; -1 found (Magento2.Less.BracesFormatting.SpacingBeforeClose) 272:32 warning Space before opening brace is missing (Magento2.Less.BracesFormatting.SpacingBeforeOpen) 272:46 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 272:55 warning Expected 0 blank lines before closing brace of class definition; -1 found (Magento2.Less.BracesFormatting.SpacingBeforeClose)