Closed (fixed)
Project:
Message
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Feb 2020 at 15:07 UTC
Updated:
15 Oct 2020 at 17:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
swatichouhan012 commentedWe will work on #vb13febContribution.
Comment #3
swatichouhan012 commentedKindly review patch to fix deprecated code issue.
Comment #4
kbrodej commentedHi. Was working on patch, when I saw you already posted yours. I reviewed it and made some changes in the attached patch. Running the tests reported several deprecation messages which are fixed as well.
Even though report says
we should use dependency injection.
Comment #5
pfrenssenLet's also update the documentation to say "The entity type manager".
This is introducing a newline, let's keep it all on one line like it was before.
This
@todocan now also be removed.Let's update the documentation to
The entity type manager.Let's not introduce a newline in the middle of a chained method call.
Comment #6
swatichouhan012 commentedI have updated patch wrt comment #5, kindly review new patch
Comment #7
dunebl#6 looks good to me...
Comment #8
rokzabukovec commentedHi.
I ran the drupal-check command and the patch from #6 clears all the deprecation errors. So I'm marking this as RTBC.
Best regards
Comment #9
ravimane23 commentedapplied #6 cleanly, and installed it on both D8 and D9. works fine!
In addition to patch #6, I have added changes in .info.yml file.
Please review the patch.
Comment #10
ravimane23 commentedComment #11
pavnish commentedHi i have found some code comment issue apart from this All looks good. that has been fixed in #11
Please review this patch.
Comment #12
pavnish commentedComment #13
meet_bhanvadia commentedHi all, Successfully applied the patch #11.
Comment #14
heddnSo, the changes here work. However, they introduce some things that aren't strictly D9 compatibility issues and raise questions. Better to move them to a follow-up issue external to D9 compatibility.
These changes here and elsewhere are not needed for D9 support. Let's remove those. They just make the patch hard to review. And bring up concerns with even using t() at all. Typically tests are written without them and we can assume all strings are in English.
Are these needed for phpunit compatibility? I can't see they are strictly needed to support D9 either.
These aren't needed.
Comment #15
pavnish commented@heddn Hi ,
Thanks for the your suggestion you are absolutely correct.
I have removed unnecessary changes from #11.Could you please review this.
Comment #16
heddnLooks good.
Comment #18
jhedstromThanks all!