-
Notifications
You must be signed in to change notification settings - Fork 8
/
.phpcs.xml
30 lines (27 loc) · 1.1 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
<?xml version="1.0"?>
<ruleset name="SVGTranslate">
<rule ref="./vendor/wikimedia/toolforge-bundle/Resources/phpcs/ruleset.xml">
<exclude name="Generic.Files.LineLength.TooLong"/>
</rule>
<file>.</file>
<exclude-pattern>*.js</exclude-pattern><!-- Javascript linting is handled by ESLint; see .eslintrc.js -->
<exclude-pattern>.phpunit/</exclude-pattern>
<exclude-pattern>vendor/</exclude-pattern>
<exclude-pattern>node_modules/</exclude-pattern>
<exclude-pattern>var/</exclude-pattern>
<exclude-pattern>public/assets</exclude-pattern>
<exclude-pattern>.docker</exclude-pattern>
<rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName">
<properties>
<property name="rootNamespaces" type="array">
<element key="src" value="App" />
<element key="tests" value="App\Tests" />
</property>
</properties>
</rule>
<rule ref="Generic.NamingConventions.CamelCapsFunctionName">
<properties>
<property name="strict" value="true" />
</properties>
</rule>
</ruleset>