private function writeContributors(array $contributors)
    {
        $nameColumnSize = max(array_map('strlen', array_values($contributors)));
        $columns        = sprintf('%s  GitHub Username', str_pad('Name', $nameColumnSize));

        $this->output->writeLine($columns);
        $this->output->writeLine(str_repeat('-', strlen($columns)));

        foreach ($contributors as $gitHubUser => $name) {
            $this->output->writeLine(sprintf("%s  %s", str_pad($name, $nameColumnSize), $gitHubUser));
        }
    }
private function writeContributors(array $contributors)
    {
        $nameColumnSize = max(array_map('strlen', array_values($contributors)));
        $columns        = sprintf('%s  GitHub Username', str_pad('Name', $nameColumnSize));

        $this->output->writeLine($columns);
        $this->output->writeLine(str_repeat('-', strlen($columns)));

        foreach ($contributors as $gitHubUser => $name) {
            $this->output->writeLine(sprintf("%s  %s", str_pad($name, $nameColumnSize), $gitHubUser));
        }
    }
private function writeContributors ( array $ contributors ) { $ nameColumnSize = max ( array_map ( 'strlen' , array_values ( $ contributors ) ) ) ; $ columns = sprintf ( '%s  GitHub Username' , str_pad ( 'Name' , $ nameColumnSize ) ) ; $ this -> output -> writeLine ( $ columns ) ; $ this -> output -> writeLine ( str_repeat ( '-' , strlen ( $ columns ) ) ) ; foreach ( $ contributors as $ gitHubUser => $ name ) { $ this -> output -> writeLine ( sprintf ( "%s  %s" , str_pad ( $ name , $ nameColumnSize ) , $ gitHubUser ) ) ; } }
Output contributors in columns

@param array $contributors
Output contributors in columns