Skip to content

Commit 9eb7990

Browse files
committed
Try to fix laravel PHP 8 incompatibility
[ci skip]
1 parent 709925a commit 9eb7990

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

azure/community_job.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ jobs:
6969
php7.3 ./phpunit install
7070
# Work around PHP 8 incompatibility in Doctrine
7171
sed -i 's/function query()/function query(...$args)/' vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php
72+
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
7273
export USE_ZEND_ALLOC=0
7374
export USE_TRACKED_ALLOC=1
7475
export ASAN_OPTIONS=exitcode=139

0 commit comments

Comments
 (0)