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
$_SERVER['DOCUMENT_ROOT '] will be broken after formatting php code sample below with js-beautify. This was originally discovered as an issue with vscode-php-cs-fixer which relies on js-beautify for html beautification. See junstyle/vscode-php-cs-fixer#42
This issue is opened by request in #490 (comment)
Description
$_SERVER['DOCUMENT_ROOT ']
will be broken after formatting php code sample below withjs-beautify
. This was originally discovered as an issue with vscode-php-cs-fixer which relies onjs-beautify
for html beautification. See junstyle/vscode-php-cs-fixer#42Input
The code looked like this before beautification:
Expected Output
The code should have looked like this after beautification:
Actual Output
The code actually looked like this after beautification:
Note the single space added at the end of
'DOCUMENT_ROOT'
in associative array reference. This changes the key.Steps to Reproduce
The text was updated successfully, but these errors were encountered: