Problem/Motivation
AssertLegacyTrait::assertNotEqual() is deprecated in drupal:8.0.0 and is removed from drupal:10.0.0. Use $this->assertNotEquals() instead. See https://www.drupal.org/node/3129738
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | 3192427-12.patch | 62.03 KB | mondrake |
Issue fork drupal-3192427
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3192427-replace-usages-of
changes, plain diff MR !250
Comments
Comment #3
mondrakeComment #4
daffie commentedJust one comment.
Comment #5
mondrakeComment #6
daffie commentedAll instances of AssertLegacyTrait::assertNotEqual have been replaced.
There is a deprecation message test added.
The deprecatin message is no longer suppressed.
All code changes look good to me.
For me it is RTBC.
Comment #7
catchOne question on the PR. Everything else looks fine - presumably removing the custom assertion messages will be handled in another issue.
We should probably backport this to 9.1.x (without the deprecation unsupression) too.
Comment #8
mondrake#7 actually the custom assertion messages are legitimate here, assertNotEquals allows them - in case we want to remove we need a follow-up, I don't think there's one.
Agreed a D9.1 backport w/o deprecations is appropriate.
Replied in MR to @catch's comment.
Comment #10
catchCommitted 39bacf4 and pushed to 9.2.x. Thanks!
Let's backport this to 9.1.x - but needs a reroll at least with the deprecation unsuppression removed.
Comment #11
catchComment #12
mondrakeRerolled for 9.1.x
Comment #13
mondrakeSetting to RTBC. I only added back deprecation silencer and removed the deprecation test.
Comment #15
catchCommitted 6c3e0a0 and pushed to 9.1.x. Thanks!