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.
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 CreditAttribution: mfernea at AmeXio 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 CreditAttribution: mfernea at AmeXio 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 CreditAttribution: nginex at Drupal Ukraine Community commentedTagging for Drupal Global Contribution Weekend
Comment #12
alexpottHere's a patch. After applying this patch running
composer run phpcs -- ./core -ps
shows 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.dist
for 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.dist
caused 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!