forked from PodcastGenerator/PodcastGenerator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
21 lines (17 loc) · 838 Bytes
/
phpcs.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0"?>
<ruleset name="Podcast Generator Coding Style" namespace="PodcastGenerator\CS\Standard">
<file>PodcastGenerator</file>
<file>contrib</file>
<file>tests</file>
<!-- Ignore anything we've pulled in with Composer -->
<exclude-pattern>PodcastGenerator/vendor/*</exclude-pattern>
<!-- Ignore 3rd party JS and CSS in themes -->
<exclude-pattern>js/(bootstrap|jquery|popper)(\.min)?\.js$</exclude-pattern>
<exclude-pattern>style/(bootstrap|font-awesome)(\.min)?\.css$</exclude-pattern>
<!-- Use PSR-12 code standard rules - https://www.php-fig.org/psr/psr-12/ -->
<rule ref="PSR12">
<type>warning</type>
</rule>
<!-- For sake of Windows development, ignore EOL. Use Git core.autocrlf. -->
<exclude name="Generic.Files.LineEndings.InvalidEOLChar" />
</ruleset>