Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Coder 3.7 dropped the Drupal.WhiteSpace.OperatorSpacing
in #3082623: Is it still necessary to override OperatorSpacingSniff? however it is still used in phpcs.xml.
Comment | File | Size | Author |
---|---|---|---|
#3 | 3111130-3--drupal_whitespace_operator_sniff_removed.patch | 583 bytes | drunken monkey |
|
Comments
Comment #2
bwaindwain CreditAttribution: bwaindwain as a volunteer commentedComment #3
drunken monkeyThanks a lot for reporting this issue!
However, shouldn’t we follow Core here (#3099796: Coder 3.7: Referenced sniff "Drupal.WhiteSpace.OperatorSpacing" does not exist) and replace the old line with a reference to the base sniff, instead of just removing it?
Patch attached, feedback welcome!
Comment #4
bwaindwain CreditAttribution: bwaindwain as a volunteer commentedlooks good to me
Comment #6
drunken monkeyGreat, thanks for reporting back!
Committed.
Thanks again!