Problem/Motivation
drupal-check results on commit hash:
source : [git] https://git.drupal.org/project/m4032404 9d7040fe2ec301d06c48cf8b170971d386f06daa
source : http://cgit.drupalcode.org/m4032404
------ ----------------------------------------------------------------
Line tests/src/Unit/EventSubscriber/M4032404EventSubscriberTest.php
------ ----------------------------------------------------------------
63 Call to deprecated method getMock() of class
Drupal\Tests\UnitTestCase.
------ ----------------------------------------------------------------
[ERROR] Found 1 error
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | interdiff-3042914-2-8.txt | 1.04 KB | suzymasri |
| #8 | 3042914-8.patch | 1.81 KB | suzymasri |
| #3 | Drupal-9-Deprecated-Code-Report-13065193-2.patch | 791 bytes | yogen.prasad |
Comments
Comment #2
yogen.prasad commentedComment #3
yogen.prasad commentedComment #4
joelpittetThanks @yogen.prasad, I tested with the patch and without and it fixes the deprecation notice. Also this was deprecated in 8.5
So should be safe to add to a new release but may want to bump the minimum version for this module's next release?
Comment #5
pifagor commentedComment #7
pifagor commentedComment #8
suzymasriUpdated drupal-check report:
Patch updated to convert WebTestBase to BrowserTestBase, and
core_version_requirementwas added to info.yml.Comment #9
timmillwoodLGTM
Comment #11
suzymasri