File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 "php" : " >=5.3.7" ,
1414 "classpreloader/classpreloader" : " 1.0.*" ,
1515 "ircmaxell/password-compat" : " 1.0.*" ,
16- "filp/whoops" : " 1.0.0 " ,
16+ "filp/whoops" : " 1.0.1 " ,
1717 "monolog/monolog" : " 1.4.*" ,
1818 "patchwork/utf8" : " 1.0.*" ,
1919 "predis/predis" : " 0.8.*" ,
Original file line number Diff line number Diff line change 99 ],
1010 "require" : {
1111 "php" : " >=5.3.0" ,
12- "filp/whoops" : " 1.0.0 " ,
12+ "filp/whoops" : " 1.0.1 " ,
1313 "illuminate/support" : " 4.0.x" ,
1414 "symfony/http-foundation" : " 2.3.x" ,
1515 "symfony/http-kernel" : " 2.3.*"
Original file line number Diff line number Diff line change @@ -109,6 +109,17 @@ header {
109109 color : # 999 ;
110110 word-wrap : break-word;
111111 }
112+ .editor-link {
113+ color : inherit;
114+ }
115+ .editor-link : hover strong {
116+ color : # F0E5DF ;
117+ }
118+
119+ .editor-link-callout {
120+ padding : 2px 4px ;
121+ background : # 872D00 ;
122+ }
112123
113124 .frame-line {
114125 font-weight : bold;
Original file line number Diff line number Diff line change 6767 <?php $ line = $ frame ->getLine (); ?>
6868 <div class="frame-code <?php echo ($ i == 0 ) ? 'active ' : '' ?> " id="frame-code-<?php echo $ i ?> ">
6969 <div class="frame-file">
70- <strong><?php echo $ e ($ frame ->getFile () ?: '<#unknown> ' ) ?> </strong>
70+ <?php $ filePath = $ frame ->getFile (); ?>
71+ <?php if ($ filePath && $ editorHref = $ v ->handler ->getEditorHref ($ filePath , (int ) $ line )): ?>
72+ <a href="<?php echo $ editorHref ?> " class="editor-link">
73+ <span class="editor-link-callout">open:</span> <strong><?php echo $ e ($ filePath ?: '<#unknown> ' ) ?> </strong>
74+ </a>
75+ <?php else : ?>
76+ <strong><?php echo $ e ($ filePath ?: '<#unknown> ' ) ?> </strong>
77+ <?php endif ?>
7178 </div>
7279 <?php
7380 // Do nothing if there's no line to work off
You can’t perform that action at this time.
0 commit comments