SymfonyRequirements.php 的更改是否应该包含在版本控制中?

Should the changes of SymfonyRequirements.php be included in version control?

在 运行 composer update 之后,我在我的 symfony 2.7@beta 应用程序的工作更改中更新了 app/SymfonyRequirements.php。那个文件是什么?我应该提交文件的更改吗?

这些文件在 check CLI 工具中使用 use this files for control the minimal Requirements for Running Symfony. You can find more info in the doc

通常在版本控制系统中考虑,正如您在 github 上的 symfony-standard 分发项目中看到的那样:

https://github.com/symfony/symfony-standard

(当然你可以在你的自定义 .gitignore 文件中添加这些文件)

希望对您有所帮助