Skip to content

Commit

Permalink
Allow line length of 100
Browse files Browse the repository at this point in the history
  • Loading branch information
cweiske committed Jul 20, 2024
1 parent 613b29b commit 599d1c2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/phpcs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ jobs:
run: composer install --no-interaction --prefer-dist

- name: Check codestyle
run: ./vendor/bin/phpcs --standard=PEAR src/
run: ./vendor/bin/phpcs
14 changes: 14 additions & 0 deletions phpcs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0"?>
<ruleset name="JsonMapper"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="phpcs.xsd">

<rule ref="PEAR"/>
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="100"/>
</properties>
</rule>

<file>src/</file>
</ruleset>

0 comments on commit 599d1c2

Please sign in to comment.