You are here

protected function LegacyApcCacheTest::setUp in Plug 7

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Mapping/Cache/LegacyApcCacheTest.php, line 21

Class

LegacyApcCacheTest
@group legacy

Namespace

Symfony\Component\Validator\Tests\Mapping\Cache

Code

protected function setUp() {
  $this
    ->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);
  if (!extension_loaded('apc') || !ini_get('apc.enable_cli')) {
    $this
      ->markTestSkipped('APC is not loaded.');
  }
}