summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-07-29 09:54:12 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-07-29 09:54:12 +0200
commit9eb79900859a509a6370f51a0da7b6bddc9a7602 (patch)
tree3235f300d98bda8ba48ba89bd8ce8fe88700ca92
parent709925a03ac6d98548265a819c6c20e3fc462fc1 (diff)
downloadphp-git-9eb79900859a509a6370f51a0da7b6bddc9a7602.tar.gz
Try to fix laravel PHP 8 incompatibility
[ci skip]
-rw-r--r--azure/community_job.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/azure/community_job.yml b/azure/community_job.yml
index 75d9c792e1..df5c93e2d7 100644
--- a/azure/community_job.yml
+++ b/azure/community_job.yml
@@ -69,6 +69,7 @@ jobs:
php7.3 ./phpunit install
# Work around PHP 8 incompatibility in Doctrine
sed -i 's/function query()/function query(...$args)/' vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php
+ sed -i 's/function setFetchMode($fetchMode, $arg2 = null, $arg3 = null)/setFetchMode($fetchMode, $arg2 = null, $arg3 = null, ...$args)/' vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php
export USE_ZEND_ALLOC=0
export USE_TRACKED_ALLOC=1
export ASAN_OPTIONS=exitcode=139