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.
I'm seeing test failures when running tests using Message Digest on instances that run PHP 7.2 and PHP 7.3. It is caused by the use of assert()
using the old PHP 5 style string. This has been deprecated starting with PHP 7.2.0 (ref. https://www.php.net/manual/en/function.assert.php#refsect1-function.asse...).
Comment | File | Size | Author |
---|---|---|---|
#2 | 3055362-2.patch | 741 bytes | pfrenssen |
Comments
Comment #2
pfrenssenHere is a patch. Note that this will make this assertion no longer work when running tests on PHP 5. This should not be a problem, since they are already two other instances of the PHP 7-only
assert()
calls in the Message Digest code base (inDigestManager::processSingleUserDigest()
andDigestActionsTest::setUp()
).Comment #3
pfrenssenComment #5
jhedstromThanks!