Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Running mail_logger.test on PHP 7 produces this warning
Deprecated function: Non-static method MailLoggerTest::getInfo() should not be called statically in simpletest_test_get_all() (line 372 of /path/to/docroot/modules/simpletest/simpletest.module).
The function just needs to be declared as static.
Comment | File | Size | Author |
---|---|---|---|
#2 | mail_logger-static-function-test-2877064-1.patch | 401 bytes | brad.bulger |
Comments
Comment #2
brad.bulger CreditAttribution: brad.bulger commentedComment #3
brad.bulger CreditAttribution: brad.bulger commentedComment #5
NancyDruCommitted. Thanks.