-
Notifications
You must be signed in to change notification settings - Fork 72
Expand file tree
/
Copy pathphpcs.xml
More file actions
28 lines (23 loc) · 906 Bytes
/
phpcs.xml
File metadata and controls
28 lines (23 loc) · 906 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
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHP_CodeSniffer"
xsi:noNamespaceSchemaLocation="phpcs.xsd">
<description>The coding standard for Open Source Bike Sharing.</description>
<config name="php_version" value="801000"/>
<file>src</file>
<file>tests</file>
<rule ref="PSR12"/>
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="120"/>
<property name="absoluteLineLimit" value="160"/>
</properties>
</rule>
<rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName">
<properties>
<property name="rootNamespaces" type="array">
<element key="tests" value="BikeShare\Test"/>
<element key="src" value="BikeShare"/>
</property>
</properties>
</rule>
</ruleset>