Part of #2909364: [meta] Fix 'Drupal.Commenting.VariableComment' coding standard.
See parent issue for instructions.
| Comment | File | Size | Author |
|---|
Issue fork drupal-2909369
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
mfernea commentedI opened #2909393: Find missing comments for member variables to clarify the purpose of this sniff.
Comment #6
zaporylieCoder patch got in.
Comment #7
mfernea commentedHow can we use it before it's a part of a release?
Comment #8
zaporylieUpgrading locally to dev release of drupal/coder.
Comment #9
zaporylieComment #11
nginex commentedTagging for Drupal Global Contribution Weekend
Comment #12
alexpottHere's a patch. After applying this patch running
composer run phpcs -- ./core -psshows that everywhere this is fixed.Edit: nope there's more to fix...Edit: I was wrong this patch does fix this sniff completely.
Comment #13
alexpottActually there's no more error introduced by this but there is for #3112829: Fix fails due to Generic.CodeAnalysis.EmptyPHPStatement.SemicolonWithoutCodeDetected due to recent dependency updates - these are issues with HEAD.
Comment #14
xjmWe backport docs cleanups to all active branches so that cherry-picks keep working where possible. However, enabling a new PHPCS rule is minor-only. The current patch is the 9.1.x version at this point, and then we'd need versions without the change to
phpcs.xml.distfor 9.0.x, 8.9.x, and 8.8.x. Thanks!Comment #16
longwaveRerolled for 9.2.x.
Comment #17
spokjeTested rerolled for 9.2.x on 9.2.x 😇
Comment #19
spokjeThe MR is the same as
2909369-16.patch(except for -1 line offset incore/phpcs.xml.distcaused by a commit, made since the patch-file was made).- Looked at all changes and they make sense to me
- Testbot is green.
RTBC for me.
Comment #20
alexpottComment #21
spokjeComment #22
alexpottCreated #3208225: Do less unnecessary work in FieldHelpTest
Comment #23
spokjeComment #25
spokjeRebased MR on
9.3.x.Comment #26
spokjeTestBot likes it, all threads resolved -> Needs Review
Comment #27
longwaveAll review points addressed, this looks OK to me, so RTBC.
Comment #28
spokjeComment #31
catchCommitted/pushed to 9.3.x and cherry-picked to 9.2.x, thanks!