Closed (fixed)
Project:
Diff
Version:
8.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Reporter:
Created:
30 Sep 2016 at 15:07 UTC
Updated:
20 Oct 2016 at 04:54 UTC
Jump to comment: Most recent, Most recent file
After this #2803661: Removed deprecated method calls from code base is committed, we can continue cleaning up some code, e.g. some construct docblock have copy/paste leftovers, $request using a certain import (RequestStack --> Request), inject methods for example in RevisionOverviewForm, ...
- clean these classes
- upload the patch
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | sanitise_diff_construct-2809415-8.patch | 20.72 KB | tduong |
| #8 | interdiff-2809415-5-8.txt | 2.24 KB | tduong |
| #5 | sanitise_diff_construct-2809415-5.patch | 21.8 KB | tduong |
Comments
Comment #2
tduong commentedFirst cleanup patch.
Comment #3
tduong commentedComment #4
berdirnever inject the request, always inject the request stack and access the request when you need it. this defeats the purpose of having a stack.
There might be multiple requests and accessing the request stack ensurs you get the currently active one.
Comment #5
tduong commentedRerolled/reverted some
$requestback to$requestStack, refactor some leftover from the parent cleanup issue (entity type manager) and sanitise other diff__construct()/properties docblocks.No interdiff possible.
Comment #6
miro_dietikerPromoting to major as it changes the API (request => request_stack).
Comment #8
tduong commentedRerolled and solved conflict. Manually edited the interdiff.
Comment #9
miro_dietikerCommitted, thx.