Composer · Question 11 of 12

A deployment runs composer update on the live server. Why is that problematic?

1 answer is correct. Hard

Show answer

Answer

  • B Different, untested versions may end up live than in development

Explanation

composer update resolves the version constraints again and may pull newer packages than were tested. On the server, composer install is the right command, as it installs exactly the versions of the committed composer.lock.

Certifications & exams

Which exam comes next?

You can already practise for 19 exams, and 21 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications