Skip to content

Confusion about PSR12 ruleset in this repo: Are PSR12 sniffs actually included? #3865

Answered by jrfnl
finn-matti asked this question in Q&A
Discussion options

You must be logged in to vote

Is it just by convention that sniffs that lay bellow a ruleset.xml-file in a subdir called Sniffs are included, or what magic includes them?

Yes, that's by design.
A ruleset.xml file for a standard will automatically include all sniffs defined in that standard.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by finn-matti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants