Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FrameworkBundle] removed usage of array access for helpers in templates
- Loading branch information
Showing
5 changed files
with
8 additions
and
8 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
6 changes: 3 additions & 3 deletions
6
src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/trace.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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<?php if ($trace['function']): ?> | ||
at <strong><abbr title="<?php echo $trace['class'] ?>"><?php echo $trace['short_class'] ?></abbr><?php echo $trace['type'] ?><?php echo $trace['function'] ?></strong>(<?php echo $view['code']->formatArgs($trace['args']) ?>)<br /> | ||
at <strong><abbr title="<?php echo $trace['class'] ?>"><?php echo $trace['short_class'] ?></abbr><?php echo $trace['type'] ?><?php echo $trace['function'] ?></strong>(<?php echo $view->get('code')->formatArgs($trace['args']) ?>)<br /> | ||
<?php endif; ?> | ||
<?php if ($trace['file'] && $trace['line']): ?> | ||
in <em><?php echo $view['code']->formatFile($trace['file'], $trace['line']) ?></em> | ||
in <em><?php echo $view->get('code')->formatFile($trace['file'], $trace['line']) ?></em> | ||
<a href="#" onclick="toggle('trace_<?php echo $prefix.'_'.$i ?>'); return false;">»</a><br /> | ||
<ul class="code" id="trace_<?php echo $prefix.'_'.$i ?>" style="display: <?php echo 0 === $i ? 'block' : 'none' ?>"> | ||
<?php echo $view['code']->fileExcerpt($trace['file'], $trace['line']) ?> | ||
<?php echo $view->get('code')->fileExcerpt($trace['file'], $trace['line']) ?> | ||
</ul> | ||
<?php endif; ?> |
2 changes: 1 addition & 1 deletion
2
src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/trace.txt.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