Closed (fixed)
Project:
Rules
Version:
8.x-3.x-dev
Component:
Rules Core
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
18 Dec 2020 at 11:22 UTC
Updated:
5 Jan 2021 at 21:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Pooja Ganjage commentedHi,
Tried to creating a patch for this issue.
Please review the patch.
Let me know if any suggestions.
Thanks.
Comment #3
Pooja Ganjage commentedComment #4
jonathan1055 commentedHi Pooja,
Thanks for the patch. It looks fine and you have found all the 11 ocurrences of
assertArrayEquals()Just wondering if you noticed that I had actually assigned this issue to myself and was doing the work when you posted your patch. Usually if someone assigns an issue to themselves it means they are working on the solution, and this is done to avoid wasted duplicated effort. My time working on this is now wasted as you have also done the same work. It's fine, as it was not a long job, but if I had known you were going to do this I could have done something else. Or if I had taken too long to produce a patch you could have taken the issue over and assigned it to yourself (which you are welcome to do, now) so that I would have known you were about to start work.
Anyway, back to the patch. To prove that all the deprecations of this type are removed you need to add in to your patch a new file drupalci.yml which has
suppress-deprecations: false- you can use exactly this file https://www.drupal.org/files/issues/2020-02-03/3089502-24.show_deprecati... then run the combined patch at Core 9.1. There will be other deprecations as on https://www.drupal.org/pift-ci-job/1920453 but there should be none for assertArrayEquals()Jonathan
Comment #5
Pooja Ganjage commentedHi Jonathan,
Sorry for the inconvenience that I was did issue that were you working for it, but as you suggested, I am creating a patch for it.
Please review the patch.
Thanks.
Comment #6
jonathan1055 commentedThank you Pooja, no worries :-)
Nice work, the new patch proves that you have removed this deprecation, because even though there are deprecation failures at 9.1 none of them are for assertArrayEquals(). I also confirm that apart from the drupalci.yml temporary change, patch #5 is identical to #2.
So this is RTBC for patch #2.
Comment #8
tr commentedCommitted #2. Thanks.