From: Nikita Popov Date: Mon, 13 Jul 2020 08:26:10 +0000 (+0200) Subject: Add another doctrine workaround X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=000f609c261f723c0a2b53e749980dc7710acf7d;p=php Add another doctrine workaround This has been fixed a few months ago, but apparently Doctrine doesn't do releases. --- diff --git a/azure/community_job.yml b/azure/community_job.yml index 0d9f9bf92b..e75ba79017 100644 --- a/azure/community_job.yml +++ b/azure/community_job.yml @@ -59,6 +59,7 @@ jobs: sed -i "s/function_exists('pcntl_fork')/false/" tests/Filesystem/FilesystemTest.php # Work around PHP 8 incompatibility in Doctrine sed -i 's/function query()/function query($statement = null)/' vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php + sed -i 's/public function getMessage();//' vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/DriverException.php php vendor/bin/phpunit displayName: 'Test Laravel' - script: |