Skip to content

[Console] Table header cell format for symfony styleguide #19123

@ro0NL

Description

@ro0NL

Hi,

Can someone explain me why the header cell format for the symfony styleguide is explicitly overridden (from <info>%</info> (default) to %s) at https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Console/Helper/Table.php#L694

Only to be re-added into the SymfonyStyle at https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Console/Style/SymfonyStyle.php#L233

Cant we keep the default? Or toggle them.. (default <%s>, symfony styleguide <info>%s</info> and remove the array-walk thingy), which makes more sense imho... as this creates 2 styleguides for tables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions