Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
aggregator.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
25 Jun 2013 at 20:30 UTC
Updated:
29 Jul 2014 at 22:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
alarcombe commentedComment #2
yesct commented@alarcombe if you had any work here, it's ok to post it, even it it's only partial. Or ask any questions you have.
Otherwise I think this is available. :)
Comment #3
alarcombe commented@YesCT - sure, was eyeing this up wrt https://drupal.org/node/2016701 but won't have time over the next couple of weeks to look at it.
Comment #4
undertext commentedComment #5
berdirThanks for working on this, looks good, just a few minor things and one method rename.
method calls in code don't work, you could add {} around it, but I prefer '...' . $item->getFid().
Additional space in here.
Let's do getFeedId() and setFeedId() instead, which is much more self-explaining.
there needs to be an empty line between @param and @return.
Another double space.
Comment #6
jsbalseraComment #7
jsbalseraIt needed a re-roll, also made the changes.
Comment #8
berdirThose calls should now use FeedId() instead of Fid()
two empty lines here.
same here.
Comment #9
jsbalseraComment #10
jsbalseraComment #11
berdirThanks, looks good to me!
Comment #12
ParisLiakos commentedAgreed it looks good, +1 for (set|get)FeedId()
getFid() should be getFeedId()
null should be NULL (caps)
and !== instead of !=
But lets store it to a temporary variable to avoid same function call
otherwise looks good to me too, so leaving as RTBC.
Thanks!
Comment #13
johnennew commentedThis follows best practice on the conversion to methods.
+1 for RTBC
Comment #14
alexpottPatch no longer applies.
Comment #15
ParisLiakos commentedFieldInterface => FieldItemListInterface
Comment #16
berdir#15: core-aggregator_item_properties-2028039-15.patch queued for re-testing.
Comment #18
johnennew commentedComment #19
mcrittenden commentedComment #20
ParisLiakos commentedthanks for reroll
Comment #21
tstoecklerLooks good. For extra credit Item and ItemInterface could use an empty newline for the closing bracket of the class, but not setting to needs work for that. Could also be fixed pre-commit.
Comment #22
alexpottPatch no longer applies.
Comment #23
xeniak commentedReroll.
Comment #24
tim.plunkettRemoving tags
Comment #25
ParisLiakos commentedreroll missed a spot. also removing an irrelevant change
Comment #26
johnennew commentedThis minor change looks good to go.
Comment #27
xano#25: core-aggregator_item_properties-2028039-25.patch queued for re-testing.
Comment #28
alexpottPatch no longer applies.
Comment #29
amateescu commentedRerolled.
Comment #30
alexpottCommitted bb54afd and pushed to 8.x. Thanks!
Comment #31
berdirWe don't enforce that the methods are used and we already have a general change notice that base fields now have methods that should be used: https://drupal.org/node/1806650. I don't think we need to reference every single issue that adds them, added the meta issue..
Comment #32
alexpottComment #33
alexpottxpost :)
Comment #35
xjm