Skip to content

Commit b33c051

Browse files
BastiaanGruttersSjonHortensius
authored andcommitted
Allow tabs instead of spaces, update list of countries in composer.json
1 parent 641a7e2 commit b33c051

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
"netherlands",
77
"germany",
88
"belgium",
9+
"luxembourg",
10+
"austria",
11+
"switzerland",
912
"api",
1013
"rest",
1114
"client",
@@ -46,4 +49,4 @@
4649
"scripts": {
4750
"phpcs": "phpcs --standard=phpcs.xml"
4851
}
49-
}
52+
}

phpcs.xml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
<?xml version="1.0"?>
2-
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHP_CodeSniffer" xsi:noNamespaceSchemaLocation="phpcs.xsd">
3-
<description>PSR12</description>
4-
<rule ref="PSR12"/>
2+
<ruleset name="postcodeNl">
3+
<description>PSR12 with tabs instead of spaces.</description>
4+
<arg name="tab-width" value="4"/>
5+
<rule ref="PSR12">
6+
<exclude name="Generic.WhiteSpace.DisallowTabIndent"/>
7+
</rule>
8+
<rule ref="Generic.WhiteSpace.DisallowSpaceIndent"/>
9+
<rule ref="Generic.WhiteSpace.ScopeIndent">
10+
<properties>
11+
<property name="indent" value="4"/>
12+
<property name="tabIndent" value="true"/>
13+
</properties>
14+
</rule>
515
<file>.</file>
616
<exclude-pattern>/vendor/*</exclude-pattern>
717
<exclude-pattern>/example/*</exclude-pattern>

0 commit comments

Comments
 (0)