PHP: update Heredoc/Nowdoc support for 7.3

  • Allow Nowdoc closing identifier to be indented (Heredoc already updated in 6ff1f09d).
  • Allow Heredoc/Nowdoc closing identifier to be followed by comma in addition to semicolon and newline. This may need further improvements, there may be other valid characters.

See the relevant section in the official documentation: https://www.php.net/manual/en/migration73.new-features.php#migration73.new-features.core.heredoc.

Merge request reports

Loading