Skip to content

Commit 54b0463

Browse files
committed
Merge branch '2.3' into 2.7
* 2.3: Static code analysis Update AnnotationDirectoryLoader.php [FrameworkBundle] Fix template location for PHP templates [FrameworkBundle] Add path verification to the template parsing test cases
2 parents b383967 + 54be239 commit 54b0463

File tree

5 files changed

+10
-17
lines changed

5 files changed

+10
-17
lines changed

Resources/views/Profiler/body.css.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ build: 56
116116
background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAcCAYAAACtQ6WLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAR1JREFUeNpiPHnyZCMDA8MNID5gZmb2nAEJMH7//v3N169fX969e/cYkL8WqGAHXPLv37//QYzfv39/fvPmzbUnT56sAXInmJub/2H5/x8sx8DCwsIrISFhDmQyPX78+CmQXs70798/BmQsKipqBNTgdvz4cWkmkE5kDATMioqKZkCFdiwg1eiAi4tLGqhQF24nMmBmZuYEigth1QkEbEBxTlySYPvJkwSJ00AnjYylgU6gxB8g/oFVEphkvgLF32KNMmCCewYUv4qhEyj47+HDhyeBzIMYOoEp8CxQw56wsLAncJ1//vz5/P79+2svX74EJc2V4BT58+fPd8CE/QKYHMGJOiIiAp6oWW7evDkNSF8DZYfIyEiU7AAQYACJ2vxVdJW4eQAAAABJRU5ErkJggg==) right top no-repeat;
117117
}
118118
.sf-button .btn-bg {
119-
padding: 0px 14px;
119+
padding: 0 14px;
120120
color: #636363;
121121
line-height: 28px;
122122
background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAcCAYAAACgXdXMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAClJREFUeNpiPnny5EKGf//+/Wf6//8/A4QAcrGzKCZwGc9sa2urBBBgAIbDUoYVp9lmAAAAAElFTkSuQmCC) repeat-x top left;

Resources/views/Profiler/layout.html.twig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@
6363
<script>//<![CDATA[
6464
6565
function toggleMenuPanels(state, doSave) {
66-
var menu = document.getElementById('navigation'), savedState = Sfjs.getPreference('menu/displayState'),
67-
displayState, elem, className;
66+
var menu = document.getElementById('navigation'), savedState = Sfjs.getPreference('menu/displayState'), displayState;
6867
6968
if (null === savedState) {
7069
savedState = 'block';

Resources/views/Profiler/profiler.css.twig

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ pre, code {
134134
}
135135
#menu-profiler li a span.label {
136136
display: block;
137-
padding: 20px 0px 16px 65px;
137+
padding: 20px 0 16px 65px;
138138
min-height: 16px;
139139
overflow: hidden;
140140
}
@@ -285,7 +285,6 @@ ul.alt li.scream, ul.alt li.scream strong {
285285
color: gray;
286286
}
287287
ul.sf-call-stack li {
288-
text-size: small;
289288
padding: 0 0 0 20px;
290289
}
291290
td.main, td.menu {
@@ -385,13 +384,12 @@ td.main, td.menu {
385384
line-height: 1.5em;
386385
}
387386
.sf-profiler-timeline .legends span {
388-
border-left-width: 10px;
389-
border-left-style: solid;
387+
border-left: 10px solid;
390388
padding: 0 10px 0 5px;
391389
}
392390
.sf-profiler-timeline canvas {
393-
border: 1px solid #999;
394-
border-width: 1px 0;
391+
border: 1px #999;
392+
border-style: solid none;
395393
}
396394
.collapsed-menu-parents #resume,
397395
.collapsed-menu-parents #collector-content {

Resources/views/Profiler/toolbar.css.twig

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@
104104
}
105105

106106
.sf-toolbar-block .sf-toolbar-info-piece .sf-toolbar-status {
107-
padding: 0px 5px;
107+
padding: 0 5px;
108108
border-radius: 5px;
109-
margin-bottom: 0px;
109+
margin-bottom: 0;
110110
vertical-align: top;
111111
}
112112

@@ -140,13 +140,11 @@
140140
display: none;
141141
position: absolute;
142142
background-color: #fff;
143-
border: 1px solid #bbb;
144143
padding: 9px 0;
145144
margin-left: -1px;
146145

147146
bottom: 38px;
148-
border-bottom-width: 0;
149-
border-bottom: 1px solid #bbb;
147+
border: 1px solid #bbb;
150148
border-radius: 4px 4px 0 0;
151149
}
152150

@@ -205,7 +203,7 @@
205203
}
206204

207205
.sf-toolbar-block .sf-toolbar-icon > a,
208-
.sf-toolbar-block .sf-toolbar-icon > a:link
206+
.sf-toolbar-block .sf-toolbar-icon > a:link,
209207
.sf-toolbar-block .sf-toolbar-icon > a:hover {
210208
color: black !important;
211209
}

Tests/Controller/ProfilerControllerTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ public function testReturns404onTokenNotFound()
6262
if ('found' == $token) {
6363
return new Profile($token);
6464
}
65-
66-
return;
6765
}))
6866
;
6967

0 commit comments

Comments
 (0)