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",