Commit 71dc07c
committed
feature #10466 [Debug] add a screaming mode to ErrorHandler (nicolas-grekas)
This PR was merged into the 2.5-dev branch.
Discussion
----------
[Debug] add a screaming mode to ErrorHandler
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | none
| License | MIT
| Doc PR | none
Collect and display silenced PHP errors in the debug toolbar.
Commits
-------
5cc817d [Debug] add a screaming mode to ErrorHandlerFile tree
Expand file treeCollapse file tree
7 files changed
+109
-28
lines changedOpen diff view settings
Filter options
- src/Symfony
- Bundle
- FrameworkBundle/Resources/config
- WebProfilerBundle/Resources/views
- Collector
- Profiler
- Component
- Debug
- Tests
- HttpKernel
- DataCollector
- Tests/DataCollector
Expand file treeCollapse file tree
7 files changed
+109
-28
lines changedOpen diff view settings
Collapse file
src/Symfony/Bundle/FrameworkBundle/Resources/config/debug.xml
Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Resources/config/debug.xml+7Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
32 | 32 | |
33 | 33 | |
34 | 34 | |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
35 | 42 | |
36 | 43 | |
Collapse file
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/logger.html.twig
Copy file name to clipboardExpand all lines: src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/logger.html.twig+13-7Lines changed: 13 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
| 6 | + |
7 | 7 | |
8 | 8 | |
9 | 9 | |
10 | 10 | |
11 | | - |
| 11 | + |
12 | 12 | |
13 | 13 | |
14 | | - |
15 | | - |
| 14 | + |
| 15 | + |
16 | 16 | |
17 | 17 | |
18 | 18 | |
| ||
27 | 27 | |
28 | 28 | |
29 | 29 | |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
30 | 36 | |
31 | 37 | |
32 | 38 | |
| ||
36 | 42 | |
37 | 43 | |
38 | 44 | |
39 | | - |
40 | | - |
| 45 | + |
| 46 | + |
41 | 47 | |
42 | 48 | |
43 | 49 | |
| ||
74 | 80 | |
75 | 81 | |
76 | 82 | |
77 | | - |
| 83 | + |
78 | 84 | |
79 | 85 | |
80 | 86 | |
|
Collapse file
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/profiler.css.twig
Copy file name to clipboardExpand all lines: src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/profiler.css.twig+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
275 | 275 | |
276 | 276 | |
277 | 277 | |
| 278 | + |
| 279 | + |
| 280 | + |
278 | 281 | |
279 | 282 | |
280 | 283 | |
|
Collapse file
src/Symfony/Component/Debug/ErrorHandler.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/ErrorHandler.php+32-6Lines changed: 32 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
11 | 11 | |
12 | 12 | |
13 | 13 | |
| 14 | + |
14 | 15 | |
15 | 16 | |
16 | 17 | |
| ||
44 | 45 | |
45 | 46 | |
46 | 47 | |
47 | | - |
| 48 | + |
48 | 49 | |
49 | 50 | |
50 | 51 | |
| ||
108 | 109 | |
109 | 110 | |
110 | 111 | |
111 | | - |
| 112 | + |
112 | 113 | |
113 | 114 | |
114 | 115 | |
| ||
120 | 121 | |
121 | 122 | |
122 | 123 | |
123 | | - |
124 | | - |
125 | | - |
126 | | - |
127 | 124 | |
128 | 125 | |
129 | 126 | |
| ||
182 | 179 | |
183 | 180 | |
184 | 181 | |
| 182 | + |
| 183 | + |
| 184 | + |
| 185 | + |
| 186 | + |
| 187 | + |
| 188 | + |
| 189 | + |
| 190 | + |
| 191 | + |
| 192 | + |
| 193 | + |
| 194 | + |
| 195 | + |
| 196 | + |
| 197 | + |
| 198 | + |
| 199 | + |
| 200 | + |
| 201 | + |
| 202 | + |
| 203 | + |
| 204 | + |
| 205 | + |
| 206 | + |
| 207 | + |
| 208 | + |
| 209 | + |
| 210 | + |
185 | 211 | |
186 | 212 | |
187 | 213 | |
|
Collapse file
src/Symfony/Component/Debug/Tests/ErrorHandlerTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/Tests/ErrorHandlerTest.php+22Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
174 | 174 | |
175 | 175 | |
176 | 176 | |
| 177 | + |
| 178 | + |
| 179 | + |
| 180 | + |
| 181 | + |
| 182 | + |
| 183 | + |
| 184 | + |
| 185 | + |
| 186 | + |
| 187 | + |
| 188 | + |
| 189 | + |
| 190 | + |
| 191 | + |
| 192 | + |
| 193 | + |
| 194 | + |
| 195 | + |
| 196 | + |
| 197 | + |
| 198 | + |
177 | 199 | |
178 | 200 | |
179 | 201 | |
|
Collapse file
src/Symfony/Component/HttpKernel/DataCollector/LoggerDataCollector.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/DataCollector/LoggerDataCollector.php+20-9Lines changed: 20 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
46 | 46 | |
47 | 47 | |
48 | 48 | |
49 | | - |
50 | | - |
51 | | - |
52 | | - |
53 | | - |
| 49 | + |
| 50 | + |
54 | 51 | |
55 | 52 | |
56 | 53 | |
| ||
81 | 78 | |
82 | 79 | |
83 | 80 | |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
84 | 86 | |
85 | 87 | |
86 | 88 | |
| ||
119 | 121 | |
120 | 122 | |
121 | 123 | |
122 | | - |
| 124 | + |
123 | 125 | |
124 | | - |
| 126 | + |
| 127 | + |
| 128 | + |
| 129 | + |
| 130 | + |
| 131 | + |
125 | 132 | |
126 | | - |
127 | | - |
| 133 | + |
| 134 | + |
| 135 | + |
| 136 | + |
| 137 | + |
| 138 | + |
128 | 139 | |
129 | 140 | |
130 | 141 | |
|
Collapse file
src/Symfony/Component/HttpKernel/Tests/DataCollector/LoggerDataCollectorTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/Tests/DataCollector/LoggerDataCollectorTest.php+12-6Lines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
19 | 19 | |
20 | 20 | |
21 | 21 | |
22 | | - |
| 22 | + |
23 | 23 | |
24 | 24 | |
25 | 25 | |
| ||
32 | 32 | |
33 | 33 | |
34 | 34 | |
| 35 | + |
35 | 36 | |
36 | 37 | |
37 | 38 | |
| ||
41 | 42 | |
42 | 43 | |
43 | 44 | |
44 | | - |
| 45 | + |
| 46 | + |
45 | 47 | |
46 | 48 | |
47 | 49 | |
48 | 50 | |
49 | 51 | |
50 | | - |
| 52 | + |
| 53 | + |
51 | 54 | |
52 | 55 | |
53 | 56 | |
54 | 57 | |
55 | 58 | |
56 | | - |
| 59 | + |
| 60 | + |
57 | 61 | |
58 | 62 | |
59 | 63 | |
60 | 64 | |
61 | 65 | |
62 | | - |
| 66 | + |
| 67 | + |
63 | 68 | |
64 | 69 | |
65 | | - |
| 70 | + |
| 71 | + |
66 | 72 | |
67 | 73 | |
68 | 74 | |
|
0 commit comments