Skip to content

Commit 8cec7db

Browse files
committed
Use newer PHP version in community job
For the composer commands. Laravel no longer supports PHP 7.4.
1 parent e3bbaa4 commit 8cec7db

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

azure/community_job.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
git clone https://github.com/laravel/framework.git --branch=master --depth=1
4343
cd framework
4444
git rev-parse HEAD
45-
php7.4 /usr/bin/composer install --no-progress
45+
php8.0 /usr/bin/composer install --no-progress
4646
# Hack to disable a test that hangs on azure
4747
sed -i 's/PHP_OS/"Darwin"/' tests/Filesystem/FilesystemTest.php
4848
export USE_ZEND_ALLOC=0
@@ -56,8 +56,8 @@ jobs:
5656
git clone https://github.com/symfony/symfony.git --depth=1
5757
cd symfony
5858
git rev-parse HEAD
59-
php7.4 /usr/bin/composer install --no-progress
60-
php7.4 ./phpunit install
59+
php8.0 /usr/bin/composer install --no-progress
60+
php8.0 ./phpunit install
6161
export USE_ZEND_ALLOC=0
6262
export USE_TRACKED_ALLOC=1
6363
export ASAN_OPTIONS=exitcode=139
@@ -89,14 +89,14 @@ jobs:
8989
export USE_ZEND_ALLOC=0
9090
export USE_TRACKED_ALLOC=1
9191
export ASAN_OPTIONS=exitcode=139
92-
php7.4 /usr/bin/composer install --no-progress
92+
php8.0 /usr/bin/composer install --no-progress
9393
php ./phpunit
9494
if [ $? -gt 128 ]; then
9595
exit 1
9696
fi
9797
displayName: 'Test PHPUnit'
9898
- script: |
99-
php7.4 /usr/bin/composer create-project symfony/symfony-demo symfony_demo --no-progress
99+
php8.0 /usr/bin/composer create-project symfony/symfony-demo symfony_demo --no-progress
100100
cd symfony_demo
101101
git rev-parse HEAD
102102
export USE_ZEND_ALLOC=0

0 commit comments

Comments
 (0)