src/Config/Settings/Export.php
File Export.php
has 1184 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
declare(strict_types=1);
namespace PhpMyAdmin\Config\Settings;
Export
has 111 functions (exceeds 20 allowed). Consider refactoring. Open
Open
final class Export
{
/**
* ```php
* $cfg['Export']['format'] = 'sql';
Method asArray
has 111 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function asArray(): array
{
return [
'format' => $this->format,
'method' => $this->method,
Method __construct
has 109 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function __construct(array $export = [])
{
$this->format = $this->setFormat($export);
$this->method = $this->setMethod($export);
$this->compression = $this->setCompression($export);