File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
tests/Bridges.Latte3/expected Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
%A%
3
- if ($ this ->global ->cache ->createCache ('%a% ' )) /* line %d % */
3
+ if ($ this ->global ->cache ->createCache ('%a% ' )) /* line %a % */
4
4
try {
5
5
echo ' ' ;
6
- echo LR \Filters:: escapeHtmlText (($ this ->filters ->lower )($ title )) /* line %d % */ ;
6
+ echo LR \%a% (($ this ->filters ->lower )($ title )) /* line %a % */ ;
7
7
echo "\n" ;
8
8
9
- $ this ->global ->cache ->end () /* line %d % */ ;
9
+ $ this ->global ->cache ->end () /* line %a % */ ;
10
10
} catch (\Throwable $ ʟ_e ) {
11
11
$ this ->global ->cache ->rollback ();
12
12
throw $ ʟ_e ;
Original file line number Diff line number Diff line change 3
3
echo 'Noncached content
4
4
5
5
' ;
6
- if ($ this ->global ->cache ->createCache ('%a% ' , [$ id , 'tags ' => 'mytag ' ])) /* line %d % */
6
+ if ($ this ->global ->cache ->createCache ('%a% ' , [$ id , 'tags ' => 'mytag ' ])) /* line %a % */
7
7
try {
8
8
echo '
9
9
<h1> ' ;
10
- echo LR \Filters:: escapeHtmlText (($ this ->filters ->upper )($ title )) /* line %d % */ ;
10
+ echo LR \%a% (($ this ->filters ->upper )($ title )) /* line %a % */ ;
11
11
echo '</h1>
12
12
13
13
' ;
14
- $ this ->createTemplate ('include.cache.latte ' , ['localvar ' => 11 ] + $ this ->params , 'include ' )->renderToContentType ('html ' ) /* line %d % */ ;
14
+ $ this ->createTemplate ('include.cache.latte ' , ['localvar ' => 11 ] + $ this ->params , 'include ' )->renderToContentType ('html ' ) /* line %a % */ ;
15
15
echo "\n" ;
16
16
17
- $ this ->global ->cache ->end () /* line %d % */ ;
17
+ $ this ->global ->cache ->end () /* line %a % */ ;
18
18
} catch (\Throwable $ ʟ_e ) {
19
19
$ this ->global ->cache ->rollback ();
20
20
throw $ ʟ_e ;
You can’t perform that action at this time.
0 commit comments