Should the changes of SymfonyRequirements.php be i

2019-02-23 18:02发布

问题:

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