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

江枫思渺然 提交于 2019-12-31 01:22:08

问题


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?


回答1:


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.

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

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

Hope this help



来源:https://stackoverflow.com/questions/30700635/should-the-changes-of-symfonyrequirements-php-be-included-in-version-control

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!