Skip to content

Commit d36e284

Browse files
Fix merge
1 parent 38ee8b3 commit d36e284

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Symfony/Component/ClassLoader/Tests/ApcClassLoaderTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ class ApcClassLoaderTest extends \PHPUnit_Framework_TestCase
2121
{
2222
protected function setUp()
2323
{
24-
if (!(ini_get('apc.enabled') && ini_get('apc.enable_cli'))) {
25-
$this->markTestSkipped('The apc extension is available, but not enabled.');
26-
} else {
24+
if (ini_get('apc.enabled') && ini_get('apc.enable_cli')) {
2725
apc_clear_cache('user');
26+
} else {
27+
$this->markTestSkipped('APC is not enabled.');
2828
}
2929
}
3030

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy