Ignore "File appears to be minified and cannot be processed" sniff on CSS files with SVG data.

This commit is contained in:
Michael Stenta 2020-12-05 06:37:59 -05:00
parent 1027bb19e7
commit 6298ddb3a5
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ RUN { \
echo ' <exclude name="Drupal.Arrays.Array.LongLineDeclaration"/>'; \
echo ' </rule>'; \
echo ' <rule ref="DrupalPractice"/>'; \
echo ' <rule ref="Internal.Tokenizer.Exception"><severity>0</severity></rule>'; \
echo '</ruleset>'; \
} > /var/farmOS/phpcs.xml \
&& /var/farmOS/vendor/bin/phpcs --config-set installed_paths /var/farmOS/vendor/drupal/coder/coder_sniffer