#
8d583801 |
| 27-Aug-2023 |
Nikita Popov |
Default pretty printer to PHP 7.4
|
#
57d4a026 |
| 27-Feb-2023 |
Nikita Popov |
Handle isolated \r in doc string Doc strings have a trailing \n and these will get interpreted as \r\n and removed from the string contents. For nowdoc, fall back to single quot
Handle isolated \r in doc string Doc strings have a trailing \n and these will get interpreted as \r\n and removed from the string contents. For nowdoc, fall back to single quote if there's a trailing \r. For heredoc, escape all isolated \r -- unlike \n and \r\n this is really a special character, because this is no longer relevant as an actual newline character.
show more ...
|
#
ce91d139 |
| 25-Apr-2021 |
Nikita Popov |
Make sure match is one character long
|
#
33d7c8d3 |
| 25-Apr-2021 |
Nikita Popov |
Escape invalid UTF-8 in strings To be friendlier to tooling that expects PHP files to be UTF-8 encoded, escape any sequences that are not legal under UTF-8.
|
#
6b409b96 |
| 25-Apr-2021 |
Nikita Popov |
Use hex escaping for special characters in strings Apart from \0, using the \xHH notation is more typical.
|
#
38aa0920 |
| 21-Mar-2021 |
Nikita Popov |
Add test for UTF-8 in string These should not get escaped.
|
Revision tags: v4.3.0, v4.2.5, v4.2.4, v4.2.3, v4.2.2, v4.2.1, v4.2.0, v4.1.1, v4.1.0, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v3.1.5, v4.0.0beta1, v3.1.4, v4.0.0alpha3, v3.1.3, v4.0.0alpha2, v3.1.2, v4.0.0alpha1, v3.1.1, v3.1.0, v3.0.6, v3.0.5, v3.0.4, v3.0.3, v3.0.2, v3.0.1, v3.0.0, v3.0.0beta2, v3.0.0beta1, v2.1.1, v3.0.0alpha1, v2.1.0 |
|
#
371c7833 |
| 13-Apr-2016 |
algo13 |
Escape all low control characters in strings
|