Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Dumping an array variable does not use the Printer's overridden indentation #41
php version: 7.3.0
When adding a constant to a class as below
it results in:
When printing with
The constant printed with PsrPrinter's 4 spaces indentation instead of tabs.
The tab is hardcoded at https://github.com/nette/php-generator/blob/master/src/PhpGenerator/Helpers.php#L74. Could we change it so that we can pass the indentation to the helper?