-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Hi!
I'm performing transformating from Pseudo_Namespace to Namespace (basically inversion of your tutorial).
And I need to add Namespace_ node in afterTraverse() method.
All works fine, node is added on right position. But issue is, all spaces are wiped.
In examples:
Before
<?php declare(strict_types=1);
class PHPUnit_TestCase
{
}After
<?php
declare(strict_types=1);
namespace PHPUnit; // this line was added!
class TestCase
{
}Metadata
Metadata
Assignees
Labels
No labels