My tests failed with php -n /usr/local/bin/composer install --no-interaction

composer
php
circle.yml

#1

Hi everyone!

There is no php -n /usr/local/bin/composer install --no-interaction in my circleci.yml and now I am stuck. And I saw a word ‘interface’ on my stuck.

Thank you for your help!


#2

Thanks for reporting this. We’re rolling out a fix right now so your builds will start passing again soon.


#3

Thank you so much, it’s passed, and I have a question why there are some ‘interface’ command.

This is my project snapshot:


#4

Glad to hear that fixed it.

Inference refers to where our system ‘infers’ what should be run based on what we detect in your project: https://circleci.com/docs/what-happens/


#5

Thanks. We found that running Composer with no PHP config was breaking things for us as well, and pushed an override to go back to the old command. In our case it’s because we are installing php-redis via APT and then configuring CircleCI’s copy of PHP to use the APT-provided extension files. (This was our solution when PECL stopped working for php-redis on PHP < 7) When that configuration is ignored there is no php-redis and thus a big fat Composer error when it hits that dependency.


#6