You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide a migration rector for highlight_file/highlight_string for PHP 8.3 (and for UP_TO_PHP_83 LevelSetList etc)
PHP 8.3 makes several changes to how the highlighter process white-spaces, and now wraps the output with a <pre></pre> HTML tag. Further, it no longer converts new-line characters to HTML tags, resulting in a multi-line highlighted HTML output.
Feature Request
Provide a migration rector for highlight_file/highlight_string for PHP 8.3 (and for UP_TO_PHP_83 LevelSetList etc)
Full details and diff examples at:
https://php.watch/versions/8.3/highlight_file-highlight_string-html-changes
This has already effected the Symfony project here (as an example, already fixed) symfony/symfony#51586
The text was updated successfully, but these errors were encountered: