We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 672cf92 commit 911f2bcCopy full SHA for 911f2bc
Tests/Adapter/ApcuAdapterTest.php
@@ -30,7 +30,7 @@ public function createCachePool(int $defaultLifetime = 0): CacheItemPoolInterfac
30
$this->markTestSkipped('APCu extension is required.');
31
}
32
if ('cli' === \PHP_SAPI && !filter_var(\ini_get('apc.enable_cli'), \FILTER_VALIDATE_BOOLEAN)) {
33
- if ('testWithCliSapi' !== $this->getName()) {
+ if ('testWithCliSapi' !== (method_exists($this, 'name') ? $this->name() : $this->getName())) {
34
$this->markTestSkipped('apc.enable_cli=1 is required.');
35
36
0 commit comments