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/app.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/app.php')
-rwxr-xr-x | app/app.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/app.php b/app/app.php index f82b262..4ae1947 100755 --- a/app/app.php +++ b/app/app.php @@ -13,7 +13,7 @@ if (is_installed()) { $conf = Spyc::YAMLLoad($savedConfig); // this is a check to upgrade older config file without l10n - if(!isset($conf['locale'])) { + if (!isset($conf['locale'])) { $resetPlanetConfig = new PlanetConfig($conf); file_put_contents($savedConfig, $resetPlanetConfig->toYaml()); $conf = Spyc::YAMLLoad($savedConfig); @@ -25,7 +25,6 @@ if (is_installed()) { if ($conf['debug']) { error_reporting(E_ALL); } - } $l10n = new Simplel10n($conf['locale']); |