Skip to content

Commit 52ccede

Browse files
authored
fix PHP 5.5 CI build by pinning Composer version (#54)
1 parent 5e1fd6d commit 52ccede

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.circleci/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ jobs:
8989
sudo apt-get update &&
9090
sudo apt-get install circleci-php-5.5.36 &&
9191
php -r "copy('https://getcomposer.org/installer', '/tmp/composer-setup.php');" &&
92-
sudo php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer
92+
sudo php /tmp/composer-setup.php --install-dir=/usr/local/bin --version 1.10.16 --filename=composer
93+
# Composer 2.0 doesn't work with the older versions of php-cs-fixer that support PHP 5.5
9394
- run:
9495
name: install Docker
9596
command: |

0 commit comments

Comments
 (0)