git - composer.lock is killing my push to heroku? -
heroku runs checks, based on selected repo language / technology, when push code git pre-receive hooks. trying run php app. 1 of checks php repos enforces repo must include composer.json. if don't need must commit empty json:
the heroku php support applied applications when application has file named
composer.jsonin root directory. if application has no composer dependencies, must include @ least empty ({})composer.jsonin order recognized php application.
and have dependencies in it, composer.lock required:
if
composer.jsonspecifies dependencies of kind in require section, correspondingcomposer.lockgets generated runningcomposer updatemust committed repository
and can push code github because doesn't have such hook.

Comments
Post a Comment