app/Console/Commands/Installer.php
File Installer.php
has 423 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
Installer
has 27 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Installer extends Command
{
/**
* The name and signature of the console command.
*
Method mediaSettings
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function mediaSettings()
{
$this->line('');
$this->info('Media Settings:');
$optimize_media = $this->choice('Optimize media uploads? Requires jpegoptim and other dependencies!', ['false', 'true'], 1);
Method installerSteps
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function installerSteps()
{
$this->envCheck();
$this->envCreate();
$this->installType();
Method checkPHPRequiredDependencies
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function checkPHPRequiredDependencies()
{
$this->line(' ');
$this->info('Checking for Required PHP Extensions...');