Skip to content

Commit 2e58914

Browse files
Remove CodeCoverage::$cacheTokens property and implementation of CodeCoverage::enableTokenCaching(), CodeCoverage::disableTokenCaching(), and CodeCoverage::cacheTokens() (these methods will be removed when this branch is merged and PHPUnit has been updated accordingly)
1 parent 492f00a commit 2e58914

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

src/CodeCoverage.php

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,6 @@ final class CodeCoverage
5555
*/
5656
private $wizard;
5757

58-
/**
59-
* @var bool
60-
*/
61-
private $cacheTokens = false;
62-
6358
/**
6459
* @var bool
6560
*/
@@ -320,19 +315,26 @@ public function merge(self $that): void
320315
$this->tests = array_merge($this->tests, $that->getTests());
321316
}
322317

318+
/**
319+
* @todo remove
320+
*/
323321
public function enableTokenCaching(): void
324322
{
325-
$this->cacheTokens = true;
326323
}
327324

325+
/**
326+
* @todo remove
327+
*/
328328
public function disableTokenCaching(): void
329329
{
330-
$this->cacheTokens = false;
331330
}
332331

332+
/**
333+
* @todo remove
334+
*/
333335
public function cachesTokens(): bool
334336
{
335-
return $this->cacheTokens;
337+
return false;
336338
}
337339

338340
public function enableCheckForUnintentionallyCoveredCode(): void

0 commit comments

Comments
 (0)