From 8cec7db48d90ad61c97cbacfd5b100c5f74b46f0 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 9 Jul 2021 09:33:21 +0200 Subject: [PATCH] Use newer PHP version in community job For the composer commands. Laravel no longer supports PHP 7.4. --- azure/community_job.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/azure/community_job.yml b/azure/community_job.yml index b82f3a78970..a7442c64db0 100644 --- a/azure/community_job.yml +++ b/azure/community_job.yml @@ -42,7 +42,7 @@ jobs: git clone https://github.com/laravel/framework.git --branch=master --depth=1 cd framework git rev-parse HEAD - php7.4 /usr/bin/composer install --no-progress + php8.0 /usr/bin/composer install --no-progress # Hack to disable a test that hangs on azure sed -i 's/PHP_OS/"Darwin"/' tests/Filesystem/FilesystemTest.php export USE_ZEND_ALLOC=0 @@ -56,8 +56,8 @@ jobs: git clone https://github.com/symfony/symfony.git --depth=1 cd symfony git rev-parse HEAD - php7.4 /usr/bin/composer install --no-progress - php7.4 ./phpunit install + php8.0 /usr/bin/composer install --no-progress + php8.0 ./phpunit install export USE_ZEND_ALLOC=0 export USE_TRACKED_ALLOC=1 export ASAN_OPTIONS=exitcode=139 @@ -89,14 +89,14 @@ jobs: export USE_ZEND_ALLOC=0 export USE_TRACKED_ALLOC=1 export ASAN_OPTIONS=exitcode=139 - php7.4 /usr/bin/composer install --no-progress + php8.0 /usr/bin/composer install --no-progress php ./phpunit if [ $? -gt 128 ]; then exit 1 fi displayName: 'Test PHPUnit' - script: | - php7.4 /usr/bin/composer create-project symfony/symfony-demo symfony_demo --no-progress + php8.0 /usr/bin/composer create-project symfony/symfony-demo symfony_demo --no-progress cd symfony_demo git rev-parse HEAD export USE_ZEND_ALLOC=0