If it comes down to just a few messages you want to exclude from some files, then you can put these exclusions directly into your ruleset.xml file. For example:
<!--
You can also be more specific and just exclude some messages.
Please note that all message-specific ignore patterns are
checked using absolute paths.
The code here will just hide the ContainsVar error generated by the
Squiz DoubleQuoteUsage sniff for files that match either of the two
exclude patterns.
-->
<rule ref="Squiz.Strings.DoubleQuoteUsage.ContainsVar">
<exclude-pattern>*/tests/*</exclude-pattern>
<exclude-pattern>*/data/*</exclude-pattern>
</rule>
I'm not sure where your view files are stored, but if you can match them using an exclude-pattern (basically just a regular expression) then you'll be able to relax some of the rules on them.
The best way to figure out that ref="" bit is to run phpcs on your view files and using the -s
command line argument. For each message, you will get a unique code, which you can then use to add specific exclude-patterns to your ruleset.
There are a bunch of other things you can do in the ruleset files as well. Check out the docs here.