From 9fab63765e20932852cb2bebaa4cca32c27d96de Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Mon, 1 Apr 2019 23:49:32 +0200 Subject: [CI] Add PHP 7.3 to Travis configuration (#2317) This also requires an update of phpcs, since the old version won't run on PHP 7.3. By setting setting the tab-width to 40 it works around the behavior introduced in https://github.com/squizlabs/PHP_CodeSniffer/pull/1404 which erroneously interprets positioning spaces as indentation. ("If the line started with tabs, but had spaces after that, no error was thrown at all.") That makes any line lengths checks ineffective, but I think line length checks aren't very useful anyway. They're basically just a (very!) rough indication that you might want to consider some refactoring. --- phpcs.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'phpcs.xml') diff --git a/phpcs.xml b/phpcs.xml index d79e2a4d9..c6cc44e80 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -2,7 +2,7 @@ Created with the PHP Coding Standard Generator. https://edorian.github.com/php-coding-standard-generator/ - + ./static ./vendor ./lib/SimplePie/ @@ -33,8 +33,9 @@ ./app/SQL/install.sql.mysql.php ./app/SQL/install.sql.pgsql.php - - + + + -- cgit v1.2.3