src/JoomlaCli/Console/Command/Core/InstallDbCommand.php
Method configure
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function configure()
{
$this
->setName('core:install-db')
->setDescription('Install default joomla database')
Method createAdminUser
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function createAdminUser()
{
$release = array_keys($this->version)[0];
if (is_numeric(substr($release, 0, 1)) && substr($release, 0, 1) < 3) {
// joomla 2.x admin user insert query