Nette PHP Generator – allow different indentation styles

17 days ago

Member | 1

As far as I can see the PHP Generator always uses tabs when generating code. Is there any interest in adding a feature for the user to specify which indentation style is used? It looks like the underlying code uses \Nette\Utils\Strings::indent which does allow for different styles. I would be willing to help on a PR to introduce this if it is something that is of interest.