Skip to content

Commit

Permalink
Merge branch '6.2' into 6.3
Browse files Browse the repository at this point in the history
* 6.2:
  Fix deprecation on PHP 8.3
  • Loading branch information
nicolas-grekas committed Jul 19, 2023
2 parents a5e00de + 26a3db7 commit b47ca23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/ConfigCacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function testIsFreshWhenNoResourceProvided(bool $debug)
public function testFreshResourceInDebug()
{
$p = (new \ReflectionClass(SelfCheckingResourceChecker::class))->getProperty('cache');
$p->setValue(SelfCheckingResourceChecker::class, []);
$p->setValue(null, []);

$freshResource = new ResourceStub();
$freshResource->setFresh(true);
Expand All @@ -85,7 +85,7 @@ public function testFreshResourceInDebug()
public function testStaleResourceInDebug()
{
$p = (new \ReflectionClass(SelfCheckingResourceChecker::class))->getProperty('cache');
$p->setValue(SelfCheckingResourceChecker::class, []);
$p->setValue(null, []);

$staleResource = new ResourceStub();
$staleResource->setFresh(false);
Expand Down

0 comments on commit b47ca23

Please sign in to comment.