From 138865bbde25bb6193930c98e30c33913d19e367 Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Tue, 11 Jan 2022 12:36:17 +0100 Subject: Install code QA helpers, enforce PSR2 Installs phpcs, phpmd, parallel-lint, phpstan. --- app/helpers.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'app/helpers.php') diff --git a/app/helpers.php b/app/helpers.php index 5f251e4..f3a9dfa 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -2,9 +2,9 @@ /** * Register polyfills for old PHP versions. - * + * * This way, the real function will only be called if it - * is available, and we won't force the use of our own + * is available, and we won't force the use of our own * implementation. */ function register_polyfills() @@ -63,7 +63,7 @@ function is_installed() * @param string $comment * @return string */ -function _g($str, $comment='') +function _g($str, $comment = '') { return Simplel10n::getString($str, $comment); } @@ -86,4 +86,3 @@ function removeCustomFiles() } } } - -- cgit v1.2.1