When I run drupal-check modules/contrib/monolog
------ -------------------------------------------------------------------------
Line tests/src/Unit/Logger/LoggerTest.php
------ -------------------------------------------------------------------------
22 Call to deprecated method getMock() of class Drupal\Tests\UnitTestCase:
in drupal:8.5.0 and is removed from drupal:9.0.0.
Use \Drupal\Tests\PhpunitCompatibilityTrait::createMock() instead.
------ -------------------------------------------------------------------------
Comment | File | Size | Author |
---|---|---|---|
#2 | 3092827-2.patch | 622 bytes | martin107 |
Comments
Comment #2
martin107 CreditAttribution: martin107 as a volunteer commenteda one line quickfix.
locally the tests pass.
Comment #3
martin107 CreditAttribution: martin107 as a volunteer commentedComment #4
martin107 CreditAttribution: martin107 as a volunteer commentedComment #6
lussolucaCommitted and pushed to 2.x branch
Thanks!