summaryrefslogtreecommitdiff
path: root/azure/community_job.yml
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-03-30 10:58:33 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-03-30 10:58:33 +0200
commit44c70b881b760b2cebe8768a1bd9dfde0dd438ad (patch)
treee61ada2cad7e7c91b7b2520ba754601f57dfb02f /azure/community_job.yml
parentf9e4c71506bb36aab673f3eb22edfdc84ba888cf (diff)
downloadphp-git-44c70b881b760b2cebe8768a1bd9dfde0dd438ad.tar.gz
Disable Symfony test on PHP 8
Symfony is currently has an expected incompatibility with PHP 8: Fatal error: Declaration of Symfony\Component\HttpClient\Response\MockResponse::schedule(Symfony\Component\HttpClient\Response\MockResponse $response, array &$runningResponses): void must be compatible with Symfony\Component\HttpClient\Response\ResponseTrait::schedule(Symfony\Component\HttpClient\Response\ResponseTrait $response, array &$runningResponses): void in /home/vsts/work/1/s/symfony/src/Symfony/Component/HttpClient/Response/MockResponse.php on line 135 Disable the job until this is fixed.
Diffstat (limited to 'azure/community_job.yml')
-rw-r--r--azure/community_job.yml32
1 files changed, 16 insertions, 16 deletions
diff --git a/azure/community_job.yml b/azure/community_job.yml
index 19d43ef651..6a6925b1e9 100644
--- a/azure/community_job.yml
+++ b/azure/community_job.yml
@@ -61,22 +61,22 @@ jobs:
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: |
- git clone https://github.com/symfony/symfony.git --branch=master --depth=1
- 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
- php ./phpunit --exclude-group tty,benchmark,intl-data,transient
- if [ $? -gt 128 ]; then
- exit 1
- fi
- displayName: 'Test Symfony'
- condition: or(succeeded(), failed())
+# - script: |
+# git clone https://github.com/symfony/symfony.git --branch=master --depth=1
+# 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
+# php ./phpunit --exclude-group tty,benchmark,intl-data,transient
+# if [ $? -gt 128 ]; then
+# exit 1
+# fi
+# displayName: 'Test Symfony'
+# condition: or(succeeded(), failed())
- script: |
git clone https://github.com/amphp/amp.git --branch=master --depth=1
cd amp