src/Output/Projects.php
public function all(OutputInterface $output, array $response)
    {
        $this->printTable($output,
            ['Key', 'Name', 'Type', 'Public', 'Dependencies', 'Outdated', 'Updated At', 'Bad Licenses', 'Unknown Licenses'],
            ['ids', 'name', 'project_type', 'public', 'dep_number', 'out_number', 'updated_at', 'licenses_red', 'licenses_unknown'],
            $response,
            function ($key, $value) use ($output) {
                if ('public' === $key) {
                    return $value === 1 ? 'Yes' : 'No';
                }

                if (!in_array($key, ['out_number', 'licenses_red', 'licenses_unknown'], true)) {
                    return $value;
                }

                return $this->printBoolean($output, $value > 0 ? $value : 'No', $value, !$value, false);
            }
        );
    }
public function all(OutputInterface $output, array $response)
    {
        $this->printTable($output,
            ['Key', 'Name', 'Type', 'Public', 'Dependencies', 'Outdated', 'Updated At', 'Bad Licenses', 'Unknown Licenses'],
            ['ids', 'name', 'project_type', 'public', 'dep_number', 'out_number', 'updated_at', 'licenses_red', 'licenses_unknown'],
            $response,
            function ($key, $value) use ($output) {
                if ('public' === $key) {
                    return $value === 1 ? 'Yes' : 'No';
                }

                if (!in_array($key, ['out_number', 'licenses_red', 'licenses_unknown'], true)) {
                    return $value;
                }

                return $this->printBoolean($output, $value > 0 ? $value : 'No', $value, !$value, false);
            }
        );
    }
public function all ( OutputInterface $ output , array $ response ) { $ this -> printTable ( $ output , [ 'Key' , 'Name' , 'Type' , 'Public' , 'Dependencies' , 'Outdated' , 'Updated At' , 'Bad Licenses' , 'Unknown Licenses' ] , [ 'ids' , 'name' , 'project_type' , 'public' , 'dep_number' , 'out_number' , 'updated_at' , 'licenses_red' , 'licenses_unknown' ] , $ response , function ( $ key , $ value ) use ( $ output ) { if ( 'public' === $ key ) { return $ value === 1 ? 'Yes' : 'No' ; } if ( ! in_array ( $ key , [ 'out_number' , 'licenses_red' , 'licenses_unknown' ] , true ) ) { return $ value ; } return $ this -> printBoolean ( $ output , $ value > 0 ? $ value : 'No' , $ value , ! $ value , false ) ; } ) ; }
output for projects API.

@param OutputInterface $output
@param array           $response
output for projects API .