]> git.mxchange.org Git - friendica.git/blobdiff - tests/src/Core/Lock/APCuCacheLockTest.php
Merge pull request #10666 from tobiasd/20210905-credits
[friendica.git] / tests / src / Core / Lock / APCuCacheLockTest.php
index 84486595654801c7cb1b1782c03154bdce1fe36a..9f893ab32408a5fd94cf9b2bf6ed7fe43aca3150 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -29,10 +29,10 @@ use Friendica\Core\Lock\CacheLock;
  */
 class APCuCacheLockTest extends LockTest
 {
-       protected function setUp()
+       protected function setUp(): void
        {
                if (!APCuCache::isAvailable()) {
-                       $this->markTestSkipped('APCu is not available');
+                       static::markTestSkipped('APCu is not available');
                }
 
                parent::setUp();