Having a Node in the refactor function of a rule, how can I print the full node as php code?
Node
refactor
Found !
Install, using composer, the package rector/rector-debugging
rector/rector-debugging
Then there is available some helpers.
The one I needed was print_node.
print_node