Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beautification of Multiline PHP #1346

Closed
sdvallejo opened this issue Feb 18, 2018 · 0 comments
Closed

Beautification of Multiline PHP #1346

sdvallejo opened this issue Feb 18, 2018 · 0 comments

Comments

@sdvallejo
Copy link
Contributor

Description

The formatting in PHP files including HTML is incorrect when there is multiline PHP code. The tag after the PHP code is indented.

Input

The code looked like this before beautification:

<?php
echo "A";
echo "B";
?>
<span>Test</span>

Expected Output

The code should not change after beautification.

Actual Output

The code actually looked like this after beautification:

<?php
echo "A";
echo "B";
?>
    <span>Test</span>
@bitwiseman bitwiseman added this to the v1.7.x milestone Mar 1, 2018
@bitwiseman bitwiseman modified the milestones: v1.7.x, v1.7.6 May 21, 2018
@bitwiseman bitwiseman modified the milestones: v1.8.0-rc2, 1.8.0 Aug 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants