There are a few things to fix according to this report:
Call to deprecated function db_select(). Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Instead, get a database connection injected into your service from the container and call select() on it.
Call to deprecated function db_insert(). Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Instead, get a database connection injected into your service from the container and call insert() on it.
Call to deprecated function db_driver(). Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Instead, get a database connection injected into your service from the container and call driver() on it.
Call to deprecated constant COMMENT_ANONYMOUS_MAYNOT_CONTACT: Deprecated in drupal:8.3.0 and is removed from drupal:9.0.0. Use Drupal\comment\CommentInterface::ANONYMOUS_MAYNOT_CONTACT instead.
And when 8.7 is unsupported:
Usage of deprecated trait Drupal\Tests\taxonomy\Functional\TaxonomyTestTrait in class [redacted]:9.0.0. Use Drupal\Tests\taxonomy\Traits\TaxonomyTestTrait instead.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 3114443-4.patch | 4.65 KB | gnuget |
| #4 | 3114443-2-4-interdiff.txt | 333 bytes | gnuget |
| #2 | 3114443.patch | 4.62 KB | gnuget |
Comments
Comment #2
gnugetWow!
The changes were super straightforward. Great!
Patch attached.
Comment #4
gnugetInteresting... maybe the dependency must be mentioned in the composer.json file... trying again.
Comment #6
gnugetComment #7
gregglesWow, thanks gnuget!
I believe this change
will break for users on 8.7.x. That is probably OK since it's only in a test and people on 8.7.x are unlikely to be running tests, just noting that risk.
Comment #8
gnugetOk, I'm going to keep an eye in the issue queue if someone is having problems with the trait I will undo that specific change.
Thanks!
Comment #9
gregglesSeems like a great plan.
Comment #11
klemendev commentedAny plans to get the patch merged in a release?
Comment #12
greggles@Klemen Pevec did you test out the latest dev to confirm it works well?
Comment #13
gnugetI just released the 8.x.1.1 version with these changes.
https://www.drupal.org/project/comment_notify/releases/8.x-1.1