This commit introduced a new line in the ruleset file:
<file>.</file>
And that's preventing to use HM coding standards in projects that needs to ignore everything except certain folders. Apparently, phpcs does respect the HM line instead of the one inside the project xml. Why? Who knows but if I use <file>path/to/something/</file> phpcs does not respect it and for some reason it doesn't queue any file to lint.
The target of adding that line was to simplify CLI commands and avoid that annoying . when running phpcs commands. I think is better to be annoyed by this that prevent different folder structures in our projects but I'm opening this to create a discussion about different strategies if there are.
More in the Slack conversation
This commit introduced a new line in the ruleset file:
<file>.</file>And that's preventing to use HM coding standards in projects that needs to ignore everything except certain folders. Apparently, phpcs does respect the HM line instead of the one inside the project xml. Why? Who knows but if I use
<file>path/to/something/</file>phpcs does not respect it and for some reason it doesn't queue any file to lint.The target of adding that line was to simplify CLI commands and avoid that annoying
.when running phpcs commands. I think is better to be annoyed by this that prevent different folder structures in our projects but I'm opening this to create a discussion about different strategies if there are.More in the Slack conversation