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 --- tests/app/Models/CategoryTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/app/Models/CategoryTest.php') diff --git a/tests/app/Models/CategoryTest.php b/tests/app/Models/CategoryTest.php index 840c718ce..e4a921baa 100644 --- a/tests/app/Models/CategoryTest.php +++ b/tests/app/Models/CategoryTest.php @@ -25,7 +25,8 @@ class CategoryTest extends PHPUnit\Framework\TestCase { array(' this string needs trimming on left', 'this string needs trimming on left'), array('this string needs trimming on right ', 'this string needs trimming on right'), array(' this string needs trimming on both ends ', 'this string needs trimming on both ends'), - array(str_repeat('This string needs to be shortened because its length is way too long. ', 4), str_repeat('This string needs to be shortened because its length is way too long. ', 3) . 'This string needs to be shortened because its'), + array(str_repeat('This string needs to be shortened because its length is way too long. ', 4), + str_repeat('This string needs to be shortened because its length is way too long. ', 3) . 'This string needs to be shortened because its'), ); } -- cgit v1.2.3