diff options
author | Romain d'Alverny <rdalverny@gmail.com> | 2022-01-11 12:36:17 +0100 |
---|---|---|
committer | Romain d'Alverny <rdalverny@gmail.com> | 2022-01-11 12:36:17 +0100 |
commit | 138865bbde25bb6193930c98e30c33913d19e367 (patch) | |
tree | 626e8e26dd4f4776ce9f8cd743987f08377127ed /app/helpers.php | |
parent | 5f2b708377aec4bc5f1d731dfbb50557552d0482 (diff) | |
download | planet-138865bbde25bb6193930c98e30c33913d19e367.tar planet-138865bbde25bb6193930c98e30c33913d19e367.tar.gz planet-138865bbde25bb6193930c98e30c33913d19e367.tar.bz2 planet-138865bbde25bb6193930c98e30c33913d19e367.tar.xz planet-138865bbde25bb6193930c98e30c33913d19e367.zip |
Install code QA helpers, enforce PSR2
Installs phpcs, phpmd, parallel-lint, phpstan.
Diffstat (limited to 'app/helpers.php')
-rw-r--r-- | app/helpers.php | 7 |
1 files changed, 3 insertions, 4 deletions
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() } } } - |