mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-02-15 23:08:40 +00:00
fix phpstan/phpcs
This commit is contained in:
parent
4f58429f0f
commit
d62f4f482d
|
|
@ -37,9 +37,9 @@ final class Installer extends InstallerAbstract
|
||||||
*/
|
*/
|
||||||
public static function install(DatabasePool $dbPool, ModuleInfo $info, SettingsInterface $cfgHandler) : void
|
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));
|
$profile = new Profile(AccountMapper::get(1));
|
||||||
ProfileMapper::create($profile);
|
ProfileMapper::create($profile);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
],
|
],
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": ">=9.4",
|
"phpunit/phpunit": ">=9.4",
|
||||||
"friendsofphp/php-cs-fixer": ">=2.18",
|
"friendsofphp/php-cs-fixer": ">=3.0",
|
||||||
"squizlabs/php_codesniffer": ">=3.5",
|
"squizlabs/php_codesniffer": ">=3.5",
|
||||||
"phpmd/phpmd": ">=2.9",
|
"phpmd/phpmd": ">=2.9",
|
||||||
"phpstan/phpstan": ">=0.12.58",
|
"phpstan/phpstan": ">=0.12.58",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user