Skip to content

v2.0.1

Choose a tag to compare

@hussainweb hussainweb released this 16 Mar 03:34
· 1 commit to main since this release
47d0e8a

2.0.1 — Hotfix: remove invalid Drupal Coder 9 sniffs

Released shortly after 2.0.0 to correct an error introduced during the Drupal Coder 9 migration: 16 sniffs that do not
exist in Coder 9 were mistakenly carried over from the previous ruleset. These caused immediate failures on any
project using the updated phpcs.xml.dist. All affected sniffs have been removed.

Removed (not present in Drupal Coder 9):

  • Drupal.Classes: ClassCreateInstance, ClassFileName, InterfaceName, UnusedUseStatement, UseLeadingBackslash
  • Drupal.CSS: ClassDefinitionNameSpacing, ColourDefinition
  • Drupal.Commenting: DataTypeNamespace
  • Drupal.ControlStructures: ElseIf, InlineControlStructure
  • Drupal.Functions: FunctionDeclaration
  • Drupal.Methods: MethodDeclaration
  • Drupal.WhiteSpace: Namespace
  • DrupalPractice.CodeAnalysis: VariableAnalysis (full rule, plus related UndefinedVariable and UndefinedUnsetVariable
    sub-rules)