Closed (outdated)
Project:
Drupal core
Version:
8.1.x-dev
Component:
rest.module
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
23 Oct 2014 at 16:39 UTC
Updated:
19 Apr 2016 at 17:51 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
clemens.tolboomComment #2
larowlanthese bits
Comment #4
larowlandidn't merge HEAD
Comment #6
larowlanmissed a use statement
Comment #7
Crell commentedEr. This todo makes it sound like the line after it will fatal error. Assuming that doesn't happen, it means the comment is confusing.
As above.
As above.
Why?
Please clarify when null would be returned instead of a UUID string.
Other than those nits this seems quite reasonable.
Comment #8
larowlanTo be honest I have no idea about the changes, other than that they were out of scope in the other issue (which I reviewed). I rolled the patch as penance for objecting over there.
Comment #9
Crell commentedClemens can weigh in on them, then. :-)
Comment #10
alexpottCan someone properly title and scope this issue to say want is actually being changed here. thanks.
Comment #11
klausiBetter title, looking at the patch.
Needs work for the issue summary update and what we want to do here.
Comment #12
wim leersComment #14
wim leersComment #15
wim leersComment #16
Saphyel commentedThe patch doesn't apply anymore, I'm going redo it
Comment #17
Saphyel commentedI mainly focus on comments and variable names.. it requires more time than I though :(
Comment #18
Saphyel commentedre-uploading because I don't see the option for test :S
Comment #19
alexpottSee https://www.drupal.org/core/scope for guidelines and examples for Drupal core issue scope. Coding standards are being handled by #2571965: [meta] Fix PHP coding standards in core, stage 1. Ideally coding standards should be fixed by enabling the rule in phpcs.xml.dist and fixing core to comply with the rule. That way we can test and prevent regressions.
Comment #20
Saphyel commented@alexpott yes, I used code sniffer and I fixed a lot of things but there is still a lot of them...
Comment #21
alexpott@Saphyel the point is we're trying to make core comply with coding standards one by one see the sub issues of #2571965: [meta] Fix PHP coding standards in core, stage 1. Grab bag issues like this make that effort more complex. And if we do it that way we can prevent regressions and introducing new coding standards fails.
I think this issue should be closed because of scope. And effort put into #2571965: [meta] Fix PHP coding standards in core, stage 1 and it's children.
Comment #22
clemens.tolboom@Saphyel you created #2709151: Fix coding standard errors in REST, HAL and Serialization modules containing same patch as you put in #2362495-18: Fix coding standard errors in REST, HAL and Serialization modules
As stated in #2571965: [meta] Fix PHP coding standards in core, stage 1
I close #2362495: Fix coding standard errors in REST, HAL and Serialization modules and #2709151: Fix coding standard errors in REST, HAL and Serialization modules as both do not comply to the workflow defined in #2571965: [meta] Fix PHP coding standards in core, stage 1
Comment #23
Saphyel commented@clemens.tolboom oks sorry I misunderstand it