summaryrefslogtreecommitdiff
path: root/azure/community_job.yml
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-07-29 10:59:40 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-07-29 11:01:57 +0200
commit213494f55d7e4f8508ea6f0892d9ad8172783ee3 (patch)
treecf2121613689976509962678a699d29fb5b2fc6b /azure/community_job.yml
parentfc3439a7b3b2e1c3a75cdd2d70d89aab35e8799e (diff)
downloadphp-git-213494f55d7e4f8508ea6f0892d9ad8172783ee3.tar.gz
Move patch to right place
This was supposed to be for laravel, not symfony. [ci skip]
Diffstat (limited to 'azure/community_job.yml')
-rw-r--r--azure/community_job.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/azure/community_job.yml b/azure/community_job.yml
index df5c93e2d7..450eb1cfc4 100644
--- a/azure/community_job.yml
+++ b/azure/community_job.yml
@@ -59,6 +59,7 @@ jobs:
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(...$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
sed -i 's/public function getMessage();//' vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/DriverException.php
php vendor/bin/phpunit
displayName: 'Test Laravel'
@@ -69,7 +70,6 @@ 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
export USE_ZEND_ALLOC=0
export USE_TRACKED_ALLOC=1
export ASAN_OPTIONS=exitcode=139