Lines Matching refs:is
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
8 refactoring code, but can be used for automatically generated code, which is usually only read for
24 `prettyPrintExpr()`. The one that is most commonly useful is `prettyPrintFile()`, which takes an
27 `prettyPrint()` also takes a statement array, but produces code which is valid inside an already
37 * `phpVersion` (defaults to 7.4) allows opting into formatting that is not supported by older PHP
41 * `shortArraySyntax` determines the used array syntax if the `kind` attribute is not set. This is
51 * For PHP >= 7.3, a newline is no longer forced after heredoc/nowdoc strings, as the requirement
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
70 portion of the code and leave the remainder alone. The basic pretty printer is not suitable for
73 Since PHP-Parser 4.0, a formatting-preserving pretty-printing mode is available, which