Skip to content

merges class name with 'extends' keyword #22

@marl-scot

Description

@marl-scot

When formatting the following line :
class buildCommand extends Command

The output is :
class buildCommandextends Command

Expected output, same as original string
The formatter removes the space between the class name and the keyword 'extends'
using the following to format the code :

$formatter = new \gossi\formatter\Formatter();
$niceCode = $formatter->format($uglyCode);
echo $niceCode;

Thanks for an otherwise great script :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions