是否应将SymfonyRequirements.php的更改包含在版本控制中? [英] Should the changes of SymfonyRequirements.php be included in version control?

查看:108
本文介绍了是否应将SymfonyRequirements.php的更改包含在版本控制中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

After running composer update, I got app/SymfonyRequirements.php is updated in my working changes of my symfony 2.7@beta application. What is that file? Should I commit the changes of the file?

推荐答案

文件在找到更多信息.

The files is used in the check CLI tool that use this files for control the minimal Requirements for Running Symfony. You can find more info in the doc.

通常在版本控制系统中考虑到这一点,如您在github上的symfony-standard发行项目中所见:

Usually is take into account in a version control system, as you can see in the symfony-standard distribution project on github:

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

(当然,您可以在自定义.gitignore文件中添加文件)

(of course you can add the files in your custom .gitignore files)

希望获得帮助

这篇关于是否应将SymfonyRequirements.php的更改包含在版本控制中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆