Showing 6 of 30 total issues
Method handle
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function handle(GenericEvent $event)
{
$event->stopPropagation();
$archiveName = $event->hasArgument('archiveName') ? $event->getArgument('archiveName') : null;
$archive = is_null($archiveName) ? TimeHelper::getInstance()->getTime() . '.tar.gz' : $archiveName;
Method digipolisSyncSymfony
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$sourceUser,
$sourceHost,
$sourceKeyFile,
$destinationUser,
$destinationHost,
Method defaultDbConfig
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function defaultDbConfig()
{
$rootDir = $this->getConfig()->get('digipolis.root.project', false);
if (!$rootDir) {
return false;
Avoid too many return
statements within this method. Open
Open
return $value;
Avoid too many return
statements within this method. Open
Open
return;
Avoid too many return
statements within this method. Open
Open
return substr($value, 1, -1);