mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Adjust Doctrine workaround in community job
[ci skip]
This commit is contained in:
parent
bb9e3dd6cc
commit
6e09a3e203
1 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ jobs:
|
|||
# We can use USE_TRACKED_ALLOC=1 if more of these show up.
|
||||
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/function query()/function query(...$args)/' 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'
|
||||
|
@ -68,7 +68,7 @@ jobs:
|
|||
php7.3 /usr/bin/composer install --no-progress
|
||||
php7.3 ./phpunit install
|
||||
# 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/function query()/function query(...$args)/' vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php
|
||||
export USE_ZEND_ALLOC=0
|
||||
export USE_TRACKED_ALLOC=1
|
||||
export ASAN_OPTIONS=exitcode=139
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue