8000 minor #20424 [HttpKernel] Removed forgotten setCacheVersionInfo() (ro… · symfony/symfony@53b55fc · GitHub
[go: up one dir, main page]

Skip to content

Commit 53b55fc

Browse files
committed
minor #20424 [HttpKernel] Removed forgotten setCacheVersionInfo() (ro0NL)
This PR was squashed before being merged into the 3.2-dev branch (closes #20424). Discussion ---------- [HttpKernel] Removed forgotten setCacheVersionInfo() | Q | A | ------------- | --- | Branch? | "master" | Bug fix? | yes | New feature? | no | BC breaks? | no-ish | Deprecations? | no | Tests pass? | yes | Fixed tickets | comma-separated list of tickets fixed by the PR, if any | License | MIT | Doc PR | reference to the documentation PR, if any Forgotten in #14351 Commits ------- 8e70193 [HttpKernel] Removed forgotten setCacheVersionInfo()
2 parents a8967ba + 8e70193 commit 53b55fc

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

src/Symfony/Component/HttpKernel/DataCollector/ConfigDataCollector.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ class ConfigDataCollector extends DataCollector
2929
private $kernel;
3030
private $name;
3131
private $version;
32-
private $cacheVersionInfo = true;
3332

3433
/**
3534
* Constructor.
@@ -127,11 +126,6 @@ public function getSymfonyState()
127126
return $this->data['symfony_state'];
128127
}
129128

130-
public function setCacheVersionInfo($cacheVersionInfo)
131-
{
132-
$this->cacheVersionInfo = $cacheVersionInfo;
133-
}
134-
135129
/**
136130
* Gets the PHP version.
137131
*

src/Symfony/Component/HttpKernel/Tests/DataCollector/ConfigDataCollectorTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ public function testCollect()
2323
{
2424
$kernel = new KernelForTest('test', true);
2525
$c = new ConfigDataCollector();
26-
$c->setCacheVersionInfo(false);
2726
$c->setKernel($kernel);
2827
$c->collect(new Request(), new Response());
2928

0 commit comments

Comments
 (0)
0