Lines Matching refs:to
4 Pretty printing is the process of converting a syntax tree back to PHP code. In its basic mode of
7 to be rather picky about their code formatting, this mode of operation is not very suitable for
37 * `phpVersion` (defaults to 7.4) allows opting into formatting that is not supported by older PHP
39 * `newline` (defaults to `"\n"`) can be set to `"\r\n"` in order to produce Windows newlines.
40 * `indent` (defaults to four spaces `" "`) can be set to any number of spaces or a single tab.
42 a legacy option, and `phpVersion` should be used to control this behavior instead.
44 The behaviors controlled by `phpVersion` (defaults to PHP 7.4) are:
59 If you want to make minor changes to the formatting, the easiest way is to extend the pretty printer
62 If you want to have more fine-grained formatting control, the recommended method is to combine the
69 For automated code refactoring, migration and similar, you will usually only want to modify a small
74 attempts to preserve the formatting of code (those AST nodes that have not changed) and only reform…
86 // Run CloningVisitor before making changes to the AST.
96 If you make use of the name resolution functionality, you will likely want to disable the
98 the AST and causing spurious changes to the pretty printed code. For more information, see the