Skip to content

Commit 217b9e7

Browse files
committed
Fix Laravel build on community job
Now requires PHP 7.4, so use php7.4 to run composer everywhere.
1 parent ab8177d commit 217b9e7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

azure/community_job.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- script: |
5151
git clone https://github.com/laravel/framework.git --branch=master --depth=1
5252
cd framework
53-
php7.3 /usr/bin/composer install --no-progress
53+
php7.4 /usr/bin/composer install --no-progress
5454
export USE_ZEND_ALLOC=0
5555
sed -i 's/$exit = true/$exit = false/g' vendor/phpunit/phpunit/src/TextUI/Command.php
5656
# Avoid test using exit(), which thus leaks.
@@ -61,8 +61,8 @@ jobs:
6161
- script: |
6262
git clone https://github.com/symfony/symfony.git --depth=1
6363
cd symfony
64-
php7.3 /usr/bin/composer install --no-progress
65-
php7.3 ./phpunit install
64+
php7.4 /usr/bin/composer install --no-progress
65+
php7.4 ./phpunit install
6666
export USE_ZEND_ALLOC=0
6767
export USE_TRACKED_ALLOC=1
6868
export ASAN_OPTIONS=exitcode=139
@@ -82,7 +82,7 @@ jobs:
8282
displayName: 'Test Amphp'
8383
condition: or(succeeded(), failed())
8484
- script: |
85-
php7.3 /usr/bin/composer create-project symfony/symfony-demo symfony_demo --no-progress
85+
php7.4 /usr/bin/composer create-project symfony/symfony-demo symfony_demo --no-progress
8686
cd symfony_demo
8787
export USE_ZEND_ALLOC=0
8888
export USE_TRACKED_ALLOC=1

0 commit comments

Comments
 (0)