-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
29 lines (21 loc) · 729 Bytes
/
phpcs.xml
File metadata and controls
29 lines (21 loc) · 729 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?xml version="1.0"?>
<ruleset name="UsercentricsCustomBlocks">
<description>PHP CodeSniffer configuration for Usercentrics Custom Blocks</description>
<!-- Set default standard to PSR-12 -->
<rule ref="PSR12"/>
<!-- Paths to check -->
<file>src</file>
<file>tests</file>
<!-- Exclude vendor directory -->
<exclude-pattern>*/vendor/*</exclude-pattern>
<!-- Show progress -->
<arg value="p"/>
<!-- Show sniff codes in all reports -->
<arg value="s"/>
<!-- Use colors in output -->
<arg name="colors"/>
<!-- Encoding -->
<arg name="encoding" value="UTF-8"/>
<!-- Extensions to check -->
<arg name="extensions" value="php"/>
</ruleset>