Magento Coding Standard (PHPCS) report for swissup/module-rtl ============================================================= Package version: 1.3.10 | Magento: 2.4.9 | Tested: 2026-05-27 110 warnings in 8 files Plugin/AssetPublisher.php 80:25 warning The use of function basename() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 85:20 warning The use of function dirname() is discouraged; use Magento\Framework\Filesystem\DriverInterface::getParentDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 101:17 warning The use of function is_link() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Plugin/AssetSource.php 23:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 24:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Helper/Data.php 35:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 52:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 53:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/MixinsRenderer.php 11:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 13:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 45:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 46:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 71:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 72:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Observer/AddClassName.php 35:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 36:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) view/base/web/css/_vars_rtl.less 2:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 3:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) view/base/web/css/_vars_ltr.less 2:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 3:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) view/base/web/css/_mixins.less 2:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 3:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 20:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 21:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 22:1 warning Selector contains uppercase symbols (Magento2.Less.TypeSelectors.UpperCaseSelector) 22:1 warning Selector contains uppercase symbols (Magento2.Less.TypeSelectors.UpperCaseSelector) 22:44 warning Add a line break after each selector delimiter (Magento2.Less.SelectorDelimiter.LineBreakAfterDelimiter) 27:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 28:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 30:18 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) 33:18 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) 38:48 warning Add a line break after each selector delimiter (Magento2.Less.SelectorDelimiter.LineBreakAfterDelimiter) 38:48 warning Add a line break after each selector delimiter (Magento2.Less.SelectorDelimiter.LineBreakAfterDelimiter) 38:48 warning Add a line break after each selector delimiter (Magento2.Less.SelectorDelimiter.LineBreakAfterDelimiter) 43:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 44:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 46:18 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) 49:18 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) 54:47 warning Add a line break after each selector delimiter (Magento2.Less.SelectorDelimiter.LineBreakAfterDelimiter) 54:47 warning Add a line break after each selector delimiter (Magento2.Less.SelectorDelimiter.LineBreakAfterDelimiter) 54:47 warning Add a line break after each selector delimiter (Magento2.Less.SelectorDelimiter.LineBreakAfterDelimiter) 59:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 60:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 74:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 75:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 89:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 90:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 101:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 102:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 116:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 117:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 136:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 137:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 139:18 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) 142:18 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) 147:53 warning Add a line break after each selector delimiter (Magento2.Less.SelectorDelimiter.LineBreakAfterDelimiter) 147:53 warning Add a line break after each selector delimiter (Magento2.Less.SelectorDelimiter.LineBreakAfterDelimiter) 147:53 warning Add a line break after each selector delimiter (Magento2.Less.SelectorDelimiter.LineBreakAfterDelimiter) 152:18 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) 155:18 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) 160:53 warning Add a line break after each selector delimiter (Magento2.Less.SelectorDelimiter.LineBreakAfterDelimiter) 160:53 warning Add a line break after each selector delimiter (Magento2.Less.SelectorDelimiter.LineBreakAfterDelimiter) 160:53 warning Add a line break after each selector delimiter (Magento2.Less.SelectorDelimiter.LineBreakAfterDelimiter) 165:18 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) 168:18 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) 173:53 warning Add a line break after each selector delimiter (Magento2.Less.SelectorDelimiter.LineBreakAfterDelimiter) 173:53 warning Add a line break after each selector delimiter (Magento2.Less.SelectorDelimiter.LineBreakAfterDelimiter) 173:53 warning Add a line break after each selector delimiter (Magento2.Less.SelectorDelimiter.LineBreakAfterDelimiter) 178:18 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) 181:18 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) 185:18 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) 188:18 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) 191:18 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) 194:18 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) 217:9 warning Variable declaration contains uppercase symbols (Magento2.Less.Variables.VariableUppercase) 218:9 warning Variable declaration contains uppercase symbols (Magento2.Less.Variables.VariableUppercase) 228:9 warning Variable declaration contains uppercase symbols (Magento2.Less.Variables.VariableUppercase) 229:9 warning Variable declaration contains uppercase symbols (Magento2.Less.Variables.VariableUppercase) 230:9 warning Variable declaration contains uppercase symbols (Magento2.Less.Variables.VariableUppercase) 240:9 warning Variable declaration contains uppercase symbols (Magento2.Less.Variables.VariableUppercase) 241:9 warning Variable declaration contains uppercase symbols (Magento2.Less.Variables.VariableUppercase) 242:9 warning Variable declaration contains uppercase symbols (Magento2.Less.Variables.VariableUppercase) 243:9 warning Variable declaration contains uppercase symbols (Magento2.Less.Variables.VariableUppercase) 253:1 warning Selector contains uppercase symbols (Magento2.Less.TypeSelectors.UpperCaseSelector) 253:1 warning Selector contains uppercase symbols (Magento2.Less.TypeSelectors.UpperCaseSelector) 253:1 warning Selector contains uppercase symbols (Magento2.Less.TypeSelectors.UpperCaseSelector) 253:1 warning Selector contains uppercase symbols (Magento2.Less.TypeSelectors.UpperCaseSelector) 253:72 warning Add a line break after each selector delimiter (Magento2.Less.SelectorDelimiter.LineBreakAfterDelimiter) 253:72 warning Add a line break after each selector delimiter (Magento2.Less.SelectorDelimiter.LineBreakAfterDelimiter) 253:72 warning Add a line break after each selector delimiter (Magento2.Less.SelectorDelimiter.LineBreakAfterDelimiter) 258:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 259:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 261:1 warning Line indented incorrectly; expected 0 spaces, found 4 (Magento2.Less.Indentation.Incorrect) 262:1 warning Line indented incorrectly; expected 0 spaces, found 4 (Magento2.Less.Indentation.Incorrect) 263:1 warning Line indented incorrectly; expected 0 spaces, found 4 (Magento2.Less.Indentation.Incorrect) 264:1 warning Line indented incorrectly; expected 0 spaces, found 4 (Magento2.Less.Indentation.Incorrect) 265:1 warning Line indented incorrectly; expected 0 spaces, found 4 (Magento2.Less.Indentation.Incorrect) 266:1 warning Line indented incorrectly; expected 0 spaces, found 4 (Magento2.Less.Indentation.Incorrect) 266:42 warning Add a line break after each selector delimiter (Magento2.Less.SelectorDelimiter.LineBreakAfterDelimiter) 268:6 warning Space before opening brace is missing (Magento2.Less.BracesFormatting.SpacingBeforeOpen) 268:15 warning Expected 0 blank lines before closing brace of class definition; -1 found (Magento2.Less.BracesFormatting.SpacingBeforeClose) 271:34 warning Add a line break after each selector delimiter (Magento2.Less.SelectorDelimiter.LineBreakAfterDelimiter) 290:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 292:35 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) 293:35 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) 293:53 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) 295:1 warning Selector contains uppercase symbols (Magento2.Less.TypeSelectors.UpperCaseSelector) 295:1 warning Selector contains uppercase symbols (Magento2.Less.TypeSelectors.UpperCaseSelector) 295:42 warning Add a line break after each selector delimiter (Magento2.Less.SelectorDelimiter.LineBreakAfterDelimiter) 295:42 warning Add a line break after each selector delimiter (Magento2.Less.SelectorDelimiter.LineBreakAfterDelimiter)