|
3 | 3 | name="Project" |
4 | 4 | xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd"> |
5 | 5 |
|
6 | | - <description>Description</description> |
| 6 | + <description>Acf Palette coding standards</description> |
7 | 7 |
|
8 | 8 | <!-- Scan all files in directory --> |
9 | | - <file>index-file.php</file> |
10 | | - <file>./includes/</file> |
11 | | - <file>./views/</file> |
| 9 | + <file>beapi-acf-palette.php</file> |
| 10 | + <file>./classes/</file> |
12 | 11 |
|
13 | 12 | <exclude-pattern>./build/</exclude-pattern> |
| 13 | + <exclude-pattern>./languages/</exclude-pattern> |
| 14 | + <exclude-pattern>./assets/</exclude-pattern> |
14 | 15 | <exclude-pattern>./node_modules/</exclude-pattern> |
15 | 16 | <exclude-pattern>./src/</exclude-pattern> |
16 | 17 | <exclude-pattern>./tools/</exclude-pattern> |
|
31 | 32 | <exclude name="WordPress.PHP.DisallowShortTernary.Found"/> |
32 | 33 | </rule> |
33 | 34 |
|
34 | | - <config name="minimum_supported_wp_version" value="6.0"/> |
| 35 | + <config name="minimum_supported_wp_version" value="6.7"/> |
35 | 36 |
|
36 | 37 | <rule ref="WordPress.WP.I18n"> |
37 | 38 | <properties> |
38 | 39 | <property name="text_domain" type="array"> |
39 | | - <element value="my-custom-test-domain"/> |
| 40 | + <element value="beapi-acf-palette"/> |
40 | 41 | </property> |
41 | 42 | </properties> |
42 | 43 | </rule> |
43 | 44 |
|
44 | 45 | <rule ref="PHPCompatibility"/> |
45 | | - <config name="testVersion" value="8.3.25"/> |
| 46 | + <config name="testVersion" value="8.1-"/> |
46 | 47 |
|
47 | 48 | <!-- Scan only PHP files --> |
48 | 49 | <arg name="extensions" value="php"/> |
|
0 commit comments