-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Commit
[ci skip]
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
nikic
Author
Member
|
||
export USE_ZEND_ALLOC=0 | ||
export USE_TRACKED_ALLOC=1 | ||
export ASAN_OPTIONS=exitcode=139 | ||
|
Laravel needs doctrine DBAL 3 to work on PHP 8. See laravel/framework#33388.