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 --- p/ext.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'p/ext.php') diff --git a/p/ext.php b/p/ext.php index daa4848d6..c464f05ab 100644 --- a/p/ext.php +++ b/p/ext.php @@ -79,7 +79,8 @@ function is_valid_path_extension($path, $extensionPath, $isStatic = true) { * */ function is_valid_path($path) { - return is_valid_path_extension($path, CORE_EXTENSIONS_PATH) || is_valid_path_extension($path, THIRDPARTY_EXTENSIONS_PATH) || is_valid_path_extension($path, USERS_PATH, $false); + return is_valid_path_extension($path, CORE_EXTENSIONS_PATH) || is_valid_path_extension($path, THIRDPARTY_EXTENSIONS_PATH) + || is_valid_path_extension($path, USERS_PATH, $false); } function sendBadRequestResponse(string $message = null) { -- cgit v1.2.3