Why is SymfonyRequirements.php excluded from .gitignore?
问题 If I understand it correctly, the SymfonyRequirements.php file (which lives under /app or /var depending on Symfony version) is handled by Composer. I therefore suppose it should be not be tracked by any version control system. However, I see it is excluded from Symfony Standard Edition's .gitignore file: /var/* [...] !var/SymfonyRequirements.php Edit Symfony core developer @Stof says in a Github issue: given that one of the checks is whether you installed vendors, it must be there before