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 11<?php
22%A%
3- if ($ this ->global ->cache ->createCache ('%a% ' )) /* line %d % */
3+ if ($ this ->global ->cache ->createCache ('%a% ' )) /* line %a % */
44 try {
55 echo ' ' ;
6- echo LR \Filters:: escapeHtmlText (($ this ->filters ->lower )($ title )) /* line %d % */ ;
6+ echo LR \%a% (($ this ->filters ->lower )($ title )) /* line %a % */ ;
77 echo "\n" ;
88
9- $ this ->global ->cache ->end () /* line %d % */ ;
9+ $ this ->global ->cache ->end () /* line %a % */ ;
1010 } catch (\Throwable $ ʟ_e ) {
1111 $ this ->global ->cache ->rollback ();
1212 throw $ ʟ_e ;
Original file line number Diff line number Diff line change 33 echo 'Noncached content
44
55 ' ;
6- if ($ this ->global ->cache ->createCache ('%a% ' , [$ id , 'tags ' => 'mytag ' ])) /* line %d % */
6+ if ($ this ->global ->cache ->createCache ('%a% ' , [$ id , 'tags ' => 'mytag ' ])) /* line %a % */
77 try {
88 echo '
99<h1> ' ;
10- echo LR \Filters:: escapeHtmlText (($ this ->filters ->upper )($ title )) /* line %d % */ ;
10+ echo LR \%a% (($ this ->filters ->upper )($ title )) /* line %a % */ ;
1111 echo '</h1>
1212
1313 ' ;
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 % */ ;
1515 echo "\n" ;
1616
17- $ this ->global ->cache ->end () /* line %d % */ ;
17+ $ this ->global ->cache ->end () /* line %a % */ ;
1818 } catch (\Throwable $ ʟ_e ) {
1919 $ this ->global ->cache ->rollback ();
2020 throw $ ʟ_e ;
You can’t perform that action at this time.
0 commit comments