-
-
Notifications
You must be signed in to change notification settings - Fork 335
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Performance] Remove regex check on open tag spaced check on FileProc…
…essor (#5073) * [Performance] Remove regex check on open tag spaced check on FileProcessor * fixtures * clean up
- Loading branch information
1 parent
8bfaf45
commit 59e25d9
Showing
3 changed files
with
15 additions
and
18 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
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"; | ||
} |
5 changes: 5 additions & 0 deletions
5
tests/Issues/NoNamespaced/Fixture/space_before_open_tag.php.inc
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,5 @@ | ||
|
||
|
||
<?php | ||
|
||
echo 'no change, has space before open tag'; |