Some of the sniffs that we have should not apply to theme templates. This is simply because the nature of the template system is different than other PHP in a theme.
Below are a couple of existing tickets where it's been noted that sniffs are either not necessary or provide a false-positive in the context of a template.
Some of the sniffs that we have should not apply to theme templates. This is simply because the nature of the template system is different than other PHP in a theme.
Below are a couple of existing tickets where it's been noted that sniffs are either not necessary or provide a false-positive in the context of a template.
This is a general, catchall ticket to discuss ideas about dealing with this issue.