-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #80 from bowphp/fix/raw
fix: block compilation
- Loading branch information
Showing
12 changed files
with
33 additions
and
20 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
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
2 changes: 1 addition & 1 deletion
2
...hots__/CompileCustomDirectiveTest__testCompileCustomDirectiveDefineAsBrockenClause__1.txt
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Franck, access allowed | ||
Hello, franck | ||
Hello, franck |
5 changes: 3 additions & 2 deletions
5
tests/__snapshots__/CompileHelpersTest__testBlockStatement__1.txt
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
<?php if (auth()->check()): ?> | ||
Logged session | ||
Logged session | ||
<?php endif; ?> | ||
<?php if (!auth()->check()): ?> | ||
Guest session | ||
Guest session | ||
<?php endif; ?> | ||
|
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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
<?php if ($age > 16): ?> | ||
<?php echo htmlspecialchars("You can drive !", ENT_QUOTES); ?> | ||
<?php echo htmlspecialchars("You can drive !", ENT_QUOTES); ?> | ||
<?php elseif ($name > 15 ): ?> | ||
<?php echo htmlspecialchars("You can drive next year !", ENT_QUOTES); ?> | ||
<?php echo htmlspecialchars("You can drive next year !", ENT_QUOTES); ?> | ||
<?php else: ?> | ||
<?php echo htmlspecialchars("You can\'t drive", ENT_QUOTES); ?> | ||
<?php echo htmlspecialchars("You can\'t drive", ENT_QUOTES); ?> | ||
<?php endif; ?> | ||
|
4 changes: 4 additions & 0 deletions
4
tests/__snapshots__/CompileIncludeTest__testCompileFullIncludeWhenTemplate__1.txt
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
included | ||
|
||
include-if | ||
|
||
include-when | ||
|
||
|
4 changes: 2 additions & 2 deletions
4
tests/__snapshots__/CompileMacroTest__testCompileFullImportTemplate__1.txt
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
%guest | ||
|
||
%guest | ||
A guest session | ||
%endguest | ||
|
||
|
@@ -11,3 +12,5 @@ | |
%auth | ||
A auth session | ||
%endauth | ||
|
||
|