protected function getDefaultCommands()
    {

        $shell = new Shell(dirname(VENDOR_PATH));

        $handlers = [
            'source' => new Handler\Source($shell),
            'coverage' => new Handler\Coverage(),
            'pdepend' => new Handler\PDepend($shell),
            'dependencies' => new Handler\Dependencies($shell),
            'phpmd' => new Handler\PHPMD($shell),
            'checkstyle' => new Handler\Checkstyle($shell),
            'tests' => new Handler\Tests(),
            'cpd' => new Handler\CPD($shell),
            'phploc' => new Handler\Phploc($shell),
            'git' => new Handler\Git($shell),
            'gitDetailed' => new Handler\GitDetailed($shell),
        ];

        return array_merge(
            parent::getDefaultCommands(),
            [
                new Command\Serve(),
                new Command\Bundle(),
                new Command\Analyze($handlers),
                new Command\Analyzers($handlers),
            ]
        );
    }
protected function getDefaultCommands()
    {

        $shell = new Shell(dirname(VENDOR_PATH));

        $handlers = [
            'source' => new Handler\Source($shell),
            'coverage' => new Handler\Coverage(),
            'pdepend' => new Handler\PDepend($shell),
            'dependencies' => new Handler\Dependencies($shell),
            'phpmd' => new Handler\PHPMD($shell),
            'checkstyle' => new Handler\Checkstyle($shell),
            'tests' => new Handler\Tests(),
            'cpd' => new Handler\CPD($shell),
            'phploc' => new Handler\Phploc($shell),
            'git' => new Handler\Git($shell),
            'gitDetailed' => new Handler\GitDetailed($shell),
        ];

        return array_merge(
            parent::getDefaultCommands(),
            [
                new Command\Serve(),
                new Command\Bundle(),
                new Command\Analyze($handlers),
                new Command\Analyzers($handlers),
            ]
        );
    }
protected function getDefaultCommands ( ) { $ shell = new Shell ( dirname ( VENDOR_PATH ) ) ; $ handlers = [ 'source' => new Handler \ Source ( $ shell ) , 'coverage' => new Handler \ Coverage ( ) , 'pdepend' => new Handler \ PDepend ( $ shell ) , 'dependencies' => new Handler \ Dependencies ( $ shell ) , 'phpmd' => new Handler \ PHPMD ( $ shell ) , 'checkstyle' => new Handler \ Checkstyle ( $ shell ) , 'tests' => new Handler \ Tests ( ) , 'cpd' => new Handler \ CPD ( $ shell ) , 'phploc' => new Handler \ Phploc ( $ shell ) , 'git' => new Handler \ Git ( $ shell ) , 'gitDetailed' => new Handler \ GitDetailed ( $ shell ) , ] ; return array_merge ( parent :: getDefaultCommands ( ) , [ new Command \ Serve ( ) , new Command \ Bundle ( ) , new Command \ Analyze ( $ handlers ) , new Command \ Analyzers ( $ handlers ) , ] ) ; }
Get default commands

@return \Symfony\Component\Console\Command\Command[]
Get default commands