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.
This is side issue from https://www.drupal.org/node/1807160
looking at the output from
phpcs --standard=Drupal ./core/modules/aggregator/
There are some
indentation issues
missing public/private from functions.
new line messages between things like @group and @see and between @param and @return
Comment | File | Size | Author |
---|---|---|---|
#7 | interdiff-5-7.txt | 1.31 KB | martin107 |
#7 | aggregator-2424745-7.patch | 29.5 KB | martin107 |
#5 | interdiff-3.5.txt | 8.6 KB | martin107 |
#5 | aggregator-2424745-5.patch | 30.32 KB | martin107 |
#3 | aggregator-2424745-3.patch | 24.89 KB | martin107 |
Comments
Comment #1
martin107 CreditAttribution: martin107 commentedJust supplying an initial clean up.
I have more changes in mind, but postponing because I want to see the parent get home first.
For the visibility issue, whether to add public or protected etc to a function... I added public, except in one case where protected was appropriate.
Comment #2
jhodgdonThese are not documentation changes, so changing component.
Comment #3
martin107 CreditAttribution: martin107 commentedNeeded reroll. No conflicts just auto merging.
Comment #4
ParisLiakos CreditAttribution: ParisLiakos commentedShouldnt the comment go to a separate line?
Comment #5
martin107 CreditAttribution: martin107 commentedThanks, fix.
I have done more work on this..
Added a few more @inheritdocs
Added some trivial doc comments,
Fix more PUBLIC functions statements
There are some variables that need converting from underscore format to camel case but the size of this patch is becoming too large
and I want this patch to be a sequence of obvious gotcha, that are quick to review.
Comment #6
ParisLiakos CreditAttribution: ParisLiakos commentedthank you, for working on this :)
Maybe "Updates a feed's items." is more accurate description
i think this is correct according to
https://www.drupal.org/node/1354#todo
Comment #7
martin107 CreditAttribution: martin107 commented1) Yes text is better.
2) I agree - backed out changes.
Comment #8
ParisLiakos CreditAttribution: ParisLiakos commentedthank you!
Comment #10
alexpottCoding standards changes are not blocked in beta - and this one is not disruptive as aggregator module is not changing a lot at the moment. Committed 38ea2f1 and pushed to 8.0.x. Thanks!