Issue #3241306 by alexpott, mondrake: core/tests/Drupal/Tests/Core/Database/ConnectionTest.php fails on PHP 8.1