]> granicus.if.org Git - php/commitdiff
Add another doctrine workaround
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 13 Jul 2020 08:26:10 +0000 (10:26 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 13 Jul 2020 08:27:44 +0000 (10:27 +0200)
This has been fixed a few months ago, but apparently Doctrine
doesn't do releases.

azure/community_job.yml

index 0d9f9bf92b8bb57e40a3b066ddd4f0c96fdd6bae..e75ba79017acc653e5293c3f4d5ca8076fd49be4 100644 (file)
@@ -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: |