-
Notifications
You must be signed in to change notification settings - Fork 0
/
.phpcs.xml
53 lines (43 loc) · 1.67 KB
/
.phpcs.xml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0"?>
<ruleset name="PHP_CodeSniffer">
<description>PHP Code Sniffer configuration file.</description>
<!-- inspired from this gist -->
<!-- https://gist.github.com/ulcuber/e4ad20e24e0282b48e870bc54a9c592c -->
<file>404.php</file>
<file>archive-event.php</file>
<file>archive-resource.php</file>
<file>archive.php</file>
<file>functions.php</file>
<file>home.php</file>
<file>index.php</file>
<file>page-impact-stories.php</file>
<file>page-worldwide.php</file>
<file>page.php</file>
<file>routes.php</file>
<file>search.php</file>
<file>single-event.php</file>
<file>single-resource.php</file>
<file>single.php</file>
<file>app</file>
<file>bootstrap</file>
<file>config</file>
<file>functions</file>
<!-- <exclude-pattern>*/App/View/Components/*</exclude-pattern>
<exclude-pattern>*/database/*</exclude-pattern>
<exclude-pattern>*/cache/*</exclude-pattern>
<exclude-pattern>*/lang/*</exclude-pattern>
<exclude-pattern>*/*.js</exclude-pattern>
<exclude-pattern>*/*.css</exclude-pattern>
<exclude-pattern>*/*.xml</exclude-pattern>
<exclude-pattern>*/*.blade.php</exclude-pattern>
<exclude-pattern>*/autoload.php</exclude-pattern>
<exclude-pattern>*/storage/*</exclude-pattern>
<exclude-pattern>*/docs/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/migrations/*</exclude-pattern> -->
<!-- Our base rule: set to PSR12-->
<rule ref="PSR12"/>
<!-- <rule ref="Generic.NamingConventions.UpperCaseConstantName.ClassConstantNotUpperCase">
<severity>0</severity>
</rule> -->
</ruleset>