Fix a lot of notices/warnings/deprecation notes in the test directory

This commit is contained in:
Philipp
2020-10-18 20:31:57 +02:00
parent efaec26b1d
commit d55ecb9288
77 changed files with 428 additions and 558 deletions

View File

@@ -31,7 +31,7 @@ class APCuCacheTest extends MemoryCacheTest
protected function setUp()
{
if (!APCuCache::isAvailable()) {
$this->markTestSkipped('APCu is not available');
static::markTestSkipped('APCu is not available');
}
parent::setUp();
@@ -43,7 +43,7 @@ class APCuCacheTest extends MemoryCacheTest
return $this->cache;
}
public function tearDown()
protected function tearDown()
{
$this->cache->clear(false);
parent::tearDown();