This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/HttpKernel/DataCollector
Nicolas Grekas 4660857ffa bug #27614 [VarDumper] Fix dumping by splitting Server/Connection out of Dumper/ServerDumper (nicolas-grekas)
This PR was merged into the 4.1 branch.

Discussion
----------

[VarDumper] Fix dumping by splitting Server/Connection out of Dumper/ServerDumper

| Q             | A
| ------------- | ---
| Branch?       | 4.1
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #27622
| License       | MIT
| Doc PR        | -

Right now, the `dump()` function is broken on 4.1 as soon as one sets up a `dump_destination` for the dump server (as done by default by our Flex recipe). #27397 describes the issue and proposes a tentative fix. Yet, I think the issue is deeper and exists at the design level. Writting to the server should not happen in a `DumperInterface`, that's not its semantics. Instead, I propose a `Connection` object that will allow `DumpDataCollector` to have all the info it requires to do everything on its own.

My bad for not spotting this at the review stage.

Commits
-------

1435d677be [VarDumper] Fix dumping by splitting Server/Connection out of Dumper/ServerDumper
2018-06-24 09:55:51 +02:00
..
AjaxDataCollector.php Reset profiler. 2017-10-05 12:20:28 +02:00
ConfigDataCollector.php Remove some unused variables, properties and methods 2017-12-08 13:09:58 +01:00
DataCollector.php fixed some deprecation messages 2017-12-31 06:50:45 +01:00
DataCollectorInterface.php Merge branch '3.4' 2017-10-24 16:16:56 +02:00
DumpDataCollector.php bug #27614 [VarDumper] Fix dumping by splitting Server/Connection out of Dumper/ServerDumper (nicolas-grekas) 2018-06-24 09:55:51 +02:00
EventDataCollector.php Display orphaned events in profiler 2018-01-19 08:23:12 +01:00
ExceptionDataCollector.php Reset profiler. 2017-10-05 12:20:28 +02:00
LateDataCollectorInterface.php Removed dead code (unused use statements). 2013-10-16 13:59:56 +02:00
LoggerDataCollector.php [HttpKernel] LoggerDataCollector: splitting logs on different sub-requests 2018-04-20 11:44:17 +02:00
MemoryDataCollector.php Reset profiler. 2017-10-05 12:20:28 +02:00
RequestDataCollector.php [WebProfilerBundle] Imply forward request by a new X-Previous-Debug-Token header 2018-02-12 18:43:33 +01:00
RouterDataCollector.php Merge branch '3.3' into 3.4 2017-10-24 16:12:06 +02:00
TimeDataCollector.php implement reset() in DumpDataCollector 2017-10-11 09:28:13 +02:00