com php-src: Adjust Doctrine workaround in community job: azure/community_job.yml

From: Date: Tue, 21 Jul 2020 09:28:41 +0000
Subject: com php-src: Adjust Doctrine workaround in community job: azure/community_job.yml
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-112279@lists.php.net to get a copy of this message
Commit: 6e09a3e203aa03eb0c65f79f96d154871185d558 Author: Nikita Popov <nikita.ppv@gmail.com> Tue, 21 Jul 2020 11:20:27 +0200 Parents: bb9e3dd6cc26da51a9ef55cdb18baf90f5ba2bda Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6e09a3e203aa03eb0c65f79f96d154871185d558 Log: Adjust Doctrine workaround in community job [ci skip] Changed paths: M azure/community_job.yml Diff: diff --git a/azure/community_job.yml b/azure/community_job..yml index e75ba79017..75d9c792e1 100644 --- a/azure/community_job.yml +++ b/azure/community_job.yml @@ -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

« previous php.cvs (#112279) next »