From 947e918f05d70d5dce4efa4ef403e593581c3fa9 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 28 Feb 2021 12:26:24 +0100 Subject: Travis: Enforce phpcs line length + whitespace (#3488) * Update Travis line length * Also check whitespace in CSS files * Fix line length ext.php * More syntax, string templates * Fix exclude-pattern * Test JS files as well --- phpcs.xml | 37 ++++++++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 11 deletions(-) (limited to 'phpcs.xml') diff --git a/phpcs.xml b/phpcs.xml index b2bbe8896..5da38fa5b 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -1,15 +1,17 @@ Created with the PHP Coding Standard Generator. https://edorian.github.com/php-coding-standard-generator/ - - + + ./lib/SimplePie/ ./lib/PHPMailer/ ./lib/http-conditional.php ./lib/lib_phpQuery.php + ./node_modules/ ./data/config.php ./data/users/*/config.php ./extensions/ + *.min.js$ @@ -20,19 +22,15 @@ - - + ./app/i18n/ - ./app/install.php - - ./tests/app/ + *.phtml$ - - - + + @@ -92,9 +90,26 @@ - + + + + + + + + .phtml$ + + + + .phtml$ + .js$ + + + + .phtml$ + -- cgit v1.2.3