Fabien Potencier
9c6d76b61c
Add void return type hint even in tests
2026-07-12 13:43:08 +02:00
Fabien Potencier
f6aca309d8
Escape root profile name in HtmlDumper
2026-05-23 09:39:26 +02:00
Fabien Potencier
4c1dae5e71
Restrict allowed classes in Profile::unserialize()
2026-05-23 09:09:19 +02:00
Nicolas Grekas
a5f6e8793e
[Profiler] Escape template and profile names in HtmlDumper
...
The HtmlDumper output is intended to be rendered in a browser, and the
template and macro/block names it interpolates are loader-controlled
(e.g. the key for ArrayLoader or a database row id), so they can carry
arbitrary HTML when an application stores templates under user-supplied
identifiers.
2026-05-19 18:54:32 +02:00
Fabien Potencier
861215c507
Fix CS
2026-02-07 09:07:38 +01:00
Fabien Potencier
8391928896
Fix deprecations
2026-01-12 09:52:14 +01:00
Nicolas Grekas
85a4817128
CS fixes
2025-07-29 10:07:07 +02:00
Fabien Potencier
f83c844b7d
Add start/end time accessors on Profile
2024-09-26 08:19:38 +02:00
Alexander M. Turek
fc20997c9e
Rename AbstractTest to ProfilerTestCase
2024-09-03 16:34:13 +02:00
Fabien Potencier
b63bde3063
Optimize sprintf() calls for PHP 8.4
2024-06-21 08:16:55 +02:00
Fabien Potencier
5193653ecb
Fix CS
2023-10-08 09:05:22 +02:00
Fabien Potencier
c38f96318b
Fix CS
2020-06-22 08:15:56 +02:00
Fabien Potencier
336d69c166
fixed CS
2019-08-07 20:54:50 +02:00
Fabien Potencier
1e3bb75010
moved test under tests/
2019-06-30 14:51:54 +02:00