Skip to content

Commit 4fb96b6

Browse files
committed
fix(phpcs): update config
1 parent c3ea16a commit 4fb96b6

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

phpcs.xml.dist

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33
name="Project"
44
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd">
55

6-
<description>Description</description>
6+
<description>Acf Palette coding standards</description>
77

88
<!-- 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>
1211

1312
<exclude-pattern>./build/</exclude-pattern>
13+
<exclude-pattern>./languages/</exclude-pattern>
14+
<exclude-pattern>./assets/</exclude-pattern>
1415
<exclude-pattern>./node_modules/</exclude-pattern>
1516
<exclude-pattern>./src/</exclude-pattern>
1617
<exclude-pattern>./tools/</exclude-pattern>
@@ -31,18 +32,18 @@
3132
<exclude name="WordPress.PHP.DisallowShortTernary.Found"/>
3233
</rule>
3334

34-
<config name="minimum_supported_wp_version" value="6.0"/>
35+
<config name="minimum_supported_wp_version" value="6.7"/>
3536

3637
<rule ref="WordPress.WP.I18n">
3738
<properties>
3839
<property name="text_domain" type="array">
39-
<element value="my-custom-test-domain"/>
40+
<element value="beapi-acf-palette"/>
4041
</property>
4142
</properties>
4243
</rule>
4344

4445
<rule ref="PHPCompatibility"/>
45-
<config name="testVersion" value="8.3.25"/>
46+
<config name="testVersion" value="8.1-"/>
4647

4748
<!-- Scan only PHP files -->
4849
<arg name="extensions" value="php"/>

0 commit comments

Comments
 (0)