You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
cosmopet-architecture/wp-content/themes/cosmopet-timber/phpcs.xml.dist

32 lines
1020 B

<?xml version="1.0"?>
<ruleset>
<!-- Files or directories to check -->
<file>.</file>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/wordpress/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/resources/*</exclude-pattern>
<exclude-pattern>*/dist/*</exclude-pattern>
<exclude-pattern>*/tests/*</exclude-pattern>
<!-- Path to strip from the front of file paths inside reports (displays shorter paths) -->
<arg name="basepath" value="." />
<!-- Set a minimum PHP version for PHPCompatibility -->
<config name="testVersion" value="8.1-" />
<!-- Use 10up's phpcs ruleset -->
<rule ref="10up-Default">
<exclude name="Squiz.Commenting.FileComment.MissingPackageTag"/>
<exclude name="WordPress.WP.I18n.MissingTranslatorsComment"/>
</rule>
<!-- Set the text domain to timber-starter -->
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array" value="timber-starter"/>
</properties>
</rule>
</ruleset>