Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Jun 2013 at 16:32 UTC
Updated:
29 Jul 2014 at 22:30 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jhedstromPatch moves logic from
drupal_json_encode/decode()to a utility component, and moves the tests to phpunit.Comment #3
berdir#1: system-json-2016299-01.patch queued for re-testing.
Comment #4
ParisLiakos commentednot sure if its worthy to convert those, since they ll probably die in favor of JsonResponse
Comment #5
jhedstromI'd still like to see them converted and then removed, rather than left in place should the JsonResponse work not happen.
Comment #6
ParisLiakos commentedSure, fine by me!
needs a newline in between
@param docs needed
Contains \Drupal\....
About the test: Maybe you could break it up to methods using dataProviders so we make it a bit more readable than now?
Comment #7
dawehnerI am not convinced that data providers would improve the readability, but splitting it up would certainly help.
Comment #8
ParisLiakos commentedbreaking it up that way works too:)
thanks!
Comment #9
alexpottNeeds a reroll
Comment #10
dawehnerJust another rerole.
Comment #11
ParisLiakos commentedirrelevant hunk?
Comment #12
dawehnerGood catch!
Comment #13
ParisLiakos commentedawesome thanks!
Comment #15
ParisLiakos commented#12: drupal-2016299-11.patch queued for re-testing.
Comment #16
ParisLiakos commentedback to rtbc
Comment #17
catchCommitted/pushed to 8.x, thanks!
Comment #19
jhedstrom