diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-12-06 07:56:39 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-12-06 07:56:39 +0100 |
commit | 885359951434d7e1219e6e451aa2c95eb821c278 (patch) | |
tree | c379f86182c0701e045e15b691faee5f7d63ea22 /azure/community_job.yml | |
parent | 8f62151ec8b49095e822caad97dcdb3cddc12ea6 (diff) | |
download | php-git-885359951434d7e1219e6e451aa2c95eb821c278.tar.gz |
Try to restore laravel & symfony community jobs
Patch Doctrine to fix the PDOConnection::query() signature.
Diffstat (limited to 'azure/community_job.yml')
-rw-r--r-- | azure/community_job.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/azure/community_job.yml b/azure/community_job.yml index f5d4a7a592..d169bc0dbf 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 |