Closed (fixed)
Project:
Token
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2019 at 15:55 UTC
Updated:
23 Mar 2020 at 22:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
thallesFollow the patch!
Comment #4
volegerMark #3045247: Replace deprecated assertEqual() with assertEquals() as related
Better to make this issue as a meta issue and do exact replacements in the child issue. See #3045247: Replace deprecated assertEqual() with assertEquals()
Comment #5
sergiu stici commentedI run
Comment #6
sergiu stici commentedComment #7
berdirThanks, but Drupal 8.8 has a better replacement for entity_get_form_display() and the file functions are only in 8.7/8.8, so we'll update them later when 8.6 is no longer supported. There are already dedicated issues for them.
Comment #8
robpowell@berdir can we link to the dedicated issues? And is this postponed till 8.6 support is finished which seems to mean January 2020? https://www.drupal.org/core/release-cycle-overview
Comment #9
idebr commentedComment #10
kim.pepper8.6 is no longer supported so changing status to active.
Comment #11
berdirAll the 8.7 stuff is done, only 8.8 remaining, so back to Postponed ;)
Comment #13
berdirThis should take care of all the remaining deprecations.
Comment #14
berdirMissed on call.
Comment #15
matroskeenassertIdentical()andassertNotIdentical()are not deprecated yet, but they will be soon.Let's be ahead of the game and prevent one more issue with deprecation report in the near future :)
Comment #16
maximpodorov commentedThe patch for the 8.x-1.6 version of the module (the same as in #15).
Comment #17
abhijith s commentedPatch #16(token_deprecated-3042568-15-1.6.patch) not working.Please fix it.
The error I was getting is given below.
git apply token_deprecated-3042568-15-1.6.patch
error: patch failed: token.info.yml:1
error: token.info.yml: patch does not apply
Comment #18
berdirThat patch isn't supposed to apply, it is for 8.x-1.6. Which doesn't really make sense, because there is no practical reason to apply this patch to a released version and include it in a project. This doesn't fix any problems on Drupal 8.
Comment #19
john cook commentedI've checked the patch from #15. The code all looks good.
After applying the patch, I get the following report from drupal-check:
So all deprications have been fixed.
I've got one small nit-pick. There is a typo in:
But this can be fix on commit, so marking RTBC for #15
Comment #20
damienmckennaComment #22
berdirCommitted, that means token 1.x-dev will now require Drupal 8.8.
Comment #23
maximpodorov commentedIt's not fair that I was credited in this commit.
Comment #24
berdirWell, that's the first time I hear someone complaining that they *did* get credited :)
Too late for that, at least for the commit message.