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;
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 :
Thanks for an otherwise great script :)