我正在通过composer更新symfony的vendors。我总是使用以下命令:
php composer.phar update
但是在最近版本的Composer中,在更新每个包之前都会显示以下消息:
- Updating doctrine/data-fixtures dev-master (a95d783 => a28b6bd)
The package has modified files:
M .gitignore
M .gitmodules
M LICENSE
M README.md
M UPGRADE
M composer.json
M lib/Doctrine/Common/DataFixtures/AbstractFixture.php
M lib/Doctrine/Common/DataFixtures/DependentFixtureInterface.php
M lib/Doctrine/Common/DataFixtures/Event/Listener/MongoDBReferenceListener.php
M lib/Doctrine/Common/DataFixtures/Event/Listener/ORMReferenceListener.php
-10个文件已被修改,请选择“v”查看完整列表 放弃更改[y,n,v,s,?]?
如何避免这种情况?