-
-
Notifications
You must be signed in to change notification settings - Fork 338
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Printer] Handle commented code before closing tag on no rule applied…
… print on PhpFileProcessor (#3488) * add failing plain view test fixture * Closes #3486 Fixes rectorphp/rector#7845 Fixes rectorphp/rector#7841 * more fixture --------- Co-authored-by: schlndh <schlndh@users.noreply.github.com>
- Loading branch information
1 parent
4225ebf
commit fd7a99a
Showing
3 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div> | ||
<?php foreach ($arr as $a) { | ||
// aaa | ||
?> | ||
<?php } ?> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<div> | ||
<h4> | ||
List of users | ||
</h4> | ||
<ul> | ||
<?php foreach ($users as $user): ?> | ||
<li> | ||
<?php | ||
echo $user['name']; | ||
// echo "laskdjflaksdfjlsjf"; | ||
?> | ||
</li> | ||
<?php endforeach; ?> | ||
</ul> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters