com php-src: Try to restore laravel & symfony community jobs: azure/community_job.yml

From: Date: Fri, 06 Dec 2019 06:56:39 +0000
Subject: com php-src: Try to restore laravel & symfony community jobs: azure/community_job.yml
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-109407@lists.php.net to get a copy of this message
Commit: 885359951434d7e1219e6e451aa2c95eb821c278 Author: Nikita Popov <nikita.ppv@gmail.com> Fri, 6 Dec 2019 07:56:39 +0100 Parents: 8f62151ec8b49095e822caad97dcdb3cddc12ea6 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=885359951434d7e1219e6e451aa2c95eb821c278 Log: Try to restore laravel & symfony community jobs Patch Doctrine to fix the PDOConnection::query() signature.. Changed paths: M azure/community_job.yml Diff: diff --git a/azure/community_job.yml b/azure/community_job.yml index f5d4a7a592f..d169bc0dbf3 100644 --- a/azure/community_job.yml +++ b/azure/community_job.yml @@ -57,6 +57,8 @@ jobs: # Avoid test using exit(), which thus leaks. # 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 php vendor/bin/phpunit displayName: 'Test Laravel' - script: | @@ -64,6 +66,8 @@ jobs: cd symfony 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 export USE_ZEND_ALLOC=0 export USE_TRACKED_ALLOC=1 export ASAN_OPTIONS=exitcode=139

« previous php.cvs (#109407) next »