-
-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Core] Handle space removed on no rules applied on PhpFileProcessor (#…
…3412) * [Core] Handle space removed on no rules applied on PhpFileProcessor * handle without --dry-run * [ci-review] Rector Rectify * [ci-review] Rector Rectify * handle any space but new line * Future comment * Future comment * Future comment * Fix * Really Final touch: Grammar fix * Really Final touch: Grammar fix * Handle open tag inside string * Handle open tag inside string * Final touch: improve performance: avoid double print * Final touch: phpstan * Final touch: ensure test in multiple extensions: php, phtml * Final touch: ensure test in multiple extensions: php, phtml * deprecate FormatPerservingPrinter::printParsedStmstAndTokens() * remove printParsedStmstAndTokens * Remove commented code --------- Co-authored-by: GitHub Action <action@github.com>
- Loading branch information
1 parent
7a6531d
commit f60aaa5
Showing
6 changed files
with
65 additions
and
53 deletions.
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
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
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,10 @@ | ||
<?php | ||
function test_callback2() { | ||
// var_dump($output); | ||
?> | ||
<div class="wrap"> | ||
<img src="<?= escape('hi there'); ?>"> | ||
</div> | ||
<?php | ||
echo " <?php"; | ||
} |
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,9 @@ | ||
<?php | ||
function test_callback() { | ||
// var_dump($output); | ||
?> | ||
<div class="wrap"> | ||
<img src="<?= escape('hi there'); ?>"> | ||
</div> | ||
<?php | ||
} |
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
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