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 b9214dc commit 7a97ebaCopy full SHA for 7a97eba
Tests/Mapping/Cache/LegacyApcCacheTest.php
@@ -22,7 +22,7 @@ class LegacyApcCacheTest extends TestCase
22
{
23
protected function setUp()
24
25
- if (!ini_get('apc.enabled') || !ini_get('apc.enable_cli')) {
+ if (!filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) || !filter_var(ini_get('apc.enable_cli'), FILTER_VALIDATE_BOOLEAN)) {
26
$this->markTestSkipped('APC is not enabled.');
27
}
28
0 commit comments