Edit the AST
Class to allow to add a ;
on command.
#697
Labels
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: cleanup
An internal cleanup or hygiene concern.
We currently cannot create
resources
with theResourcesGenerator
without appending a;
to thetoCode
method as if we remove the appended semicolon it ends up generating "invalid" code as it is missing the last semicolon.In this specific case we are using a
PhpFile
class which inherits fromAST
. So there is a bit of hoops that we might need to work on in order to make be able to add a semi colon to our files when we need them.The text was updated successfully, but these errors were encountered: