Skip to content

Commit

Permalink
Remove BC layer for old WebProfilerBundle
Browse files Browse the repository at this point in the history
  • Loading branch information
alcaeus committed Dec 20, 2018
1 parent 06c24ec commit ff2f830
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Tests/ProfilerTest.php
Expand Up @@ -70,12 +70,6 @@ public function testRender()

$profile = new Profile('foo');

// This is only needed for WebProfilerBundle=3.2, remove when support for it is dropped
$requestCollector = new RequestDataCollector();
$requestCollector->collect($request, $response);
$requestCollector->lateCollect();
$profile->addCollector($requestCollector);

$output = $this->twig->render('db.html.twig', [
'request' => $request,
'token' => 'foo',
Expand Down

0 comments on commit ff2f830

Please sign in to comment.