Skip to content

Commit 45d6745

Browse files
committed
CS: Allow line length of 100
1 parent 6b312dd commit 45d6745

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

.github/workflows/phpcs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ jobs:
4242
run: composer install --no-interaction --prefer-dist
4343

4444
- name: Check codestyle
45-
run: ./vendor/bin/phpcs --standard=PEAR src/
45+
run: ./vendor/bin/phpcs

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
check:
22
./vendor/bin/phpunit
3-
./vendor/bin/phpcs --standard=PEAR src/
3+
./vendor/bin/phpcs

phpcs.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0"?>
2+
<ruleset name="JsonMapper"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="phpcs.xsd">
5+
6+
<rule ref="PEAR"/>
7+
<rule ref="Generic.Files.LineLength">
8+
<properties>
9+
<property name="lineLimit" value="100"/>
10+
</properties>
11+
</rule>
12+
13+
<file>src/</file>
14+
</ruleset>

0 commit comments

Comments
 (0)