-
Notifications
You must be signed in to change notification settings - Fork 430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: please add support for grumphp.yml.dist file #104
Comments
Can you explain why we need a grumphp.yml.dist file? |
If one team decided to store configuration file on repository it's cool. Real-user-cases:
|
I think that "grumphp.yml.dist" is not grumphp concern. If you want it you can add it to your project and commit to your repo and smiply add grumphp.yml to .gitignore |
That's exactly the plan. Exactly the same usage like let say Same thing would be awesome for grumphp, to use |
@keradus I get you point and it seems easy implement |
Well I am not fully convinced: As I mentioned, GrumPHP is used for assuring the same coding standards, code quality, ... When you depend on a tool for this, you don't want all users to possibly have their own config. By allowing user specific config's, you will get situations where you expect that a certain tool has run, but it hasn't because the user has overwritten the configuration. The idea is to let GrumPHP handle the rules you've decided as a project / team. If somebody wants to contribute to that project, he should play it by the rules that were globally set. I agree that it isn't a lot of work to implement, but I am looking for a valid use-case that is in the line of the ideology of the tool. On the other hand: there are already a lot of ways to trick the system (commit -n, custom config files for the tool it runs, ...) |
What about the stashing thing? |
that might be a valid option. We don't want people come in and complain about GrumPHP is eating their code when they enabled the stash option ... |
Actually the same thing for verbose. One like small, one like big. Even when running same ruleset. |
Good point. The only concern I have is that people will add / remove tasks so that the checks that should run aren't running during a commit. But I don't think that is something we can enforce anyway. |
I am working on the dist support: Can you verify the locator to make sure that this is how it should work? |
No description provided.
The text was updated successfully, but these errors were encountered: