composer Update failed (Source directory ... has unpushed changes on the current branch: Ошибка

Например:

Update failed (Source directory ...vendor/codeception/base has unpushed changes on the current branch:

Решение

В моём случае помогла переустановка (видимо, дело было в некорректном состоянии composer.lock).

Key Words for FKN + antitotal forum (CS VSU):