aboutsummaryrefslogtreecommitdiff
path: root/phpcs.xml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-04-07 14:27:46 +0200
committerGravatar GitHub <noreply@github.com> 2019-04-07 14:27:46 +0200
commitd008b6c1a7488b99e77287ba14f1fff3ec1a116b (patch)
treea0c68e175e36af10e9602e555bf794a90d66be7c /phpcs.xml
parentd413f67dd28738f4a6d8cf036e00714737f757b8 (diff)
parent0eb535e3ac9269d39d2ea7856c4c5532c3296a55 (diff)
Merge pull request #2338 from FreshRSS/dev1.14.1
FreshRSS 1.14.1
Diffstat (limited to 'phpcs.xml')
-rw-r--r--phpcs.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/phpcs.xml b/phpcs.xml
index d79e2a4d9..c6cc44e80 100644
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -2,7 +2,7 @@
<ruleset name="FreshRSS Ruleset">
<description>Created with the PHP Coding Standard Generator. https://edorian.github.com/php-coding-standard-generator/</description>
<!-- to circumvent https://github.com/squizlabs/PHP_CodeSniffer/pull/1404 -->
- <!--<arg name="tab-width" value="10"/>-->
+ <arg name="tab-width" value="40"/>
<exclude-pattern>./static</exclude-pattern>
<exclude-pattern>./vendor</exclude-pattern>
<exclude-pattern>./lib/SimplePie/</exclude-pattern>
@@ -33,8 +33,9 @@
<exclude-pattern>./app/SQL/install.sql.mysql.php</exclude-pattern>
<exclude-pattern>./app/SQL/install.sql.pgsql.php</exclude-pattern>
<properties>
- <property name="lineLimit" value="80"/>
- <property name="absoluteLineLimit" value="180"/>
+ <property name="lineLimit" value="100"/>
+ <!-- needs to be large to accomodate extra large tab width to circumvent https://github.com/squizlabs/PHP_CodeSniffer/pull/1404 -->
+ <property name="absoluteLineLimit" value="500"/>
</properties>
</rule>
<!-- When calling a function: -->