From d62f4f482d2cc1d26e874e7644833774a118812f Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 26 Jun 2021 14:38:08 +0200 Subject: [PATCH] fix phpstan/phpcs --- Admin/Installer.php | 8 ++++---- composer.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Admin/Installer.php b/Admin/Installer.php index b5b94c2..841fffe 100755 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -37,9 +37,9 @@ final class Installer extends InstallerAbstract */ public static function install(DatabasePool $dbPool, ModuleInfo $info, SettingsInterface $cfgHandler) : void { - parent::install($dbPool, $info, $cfgHandler); + parent::install($dbPool, $info, $cfgHandler); - $profile = new Profile(AccountMapper::get(1)); - ProfileMapper::create($profile); - } + $profile = new Profile(AccountMapper::get(1)); + ProfileMapper::create($profile); + } } diff --git a/composer.json b/composer.json index 8f2fb6d..7ad134b 100755 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ ], "require-dev": { "phpunit/phpunit": ">=9.4", - "friendsofphp/php-cs-fixer": ">=2.18", + "friendsofphp/php-cs-fixer": ">=3.0", "squizlabs/php_codesniffer": ">=3.5", "phpmd/phpmd": ">=2.9", "phpstan/phpstan": ">=0.12.58",