Having a Node in the refactor function of a rule, how can I print the full node as php code?
In a rector rule's refactor function, how to print the current node as code?
83 Views Asked by realtebo At
        	1
        	
        
	Having a Node in the refactor function of a rule, how can I print the full node as php code?
Found !
Install, using composer, the package
rector/rector-debuggingThen there is available some helpers.
The one I needed was
print_node.