aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/api/ApiUtilsTest.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-09-26 15:08:39 +0200
committerArthurHoaro <arthur@hoa.ro>2020-09-26 15:08:39 +0200
commit8f60e1206e45e67c96a7630d4ff94e72fe875f09 (patch)
tree20621c50f6822c42589acffc45d475f46586c69d /tests/api/ApiUtilsTest.php
parent24225f63324bd1118b008518abfc82a136ad997e (diff)
downloadShaarli-8f60e1206e45e67c96a7630d4ff94e72fe875f09.tar.gz
Shaarli-8f60e1206e45e67c96a7630d4ff94e72fe875f09.tar.zst
Shaarli-8f60e1206e45e67c96a7630d4ff94e72fe875f09.zip
Comply with PHPUnit V8: setup/teardown functions must return void
Diffstat (limited to 'tests/api/ApiUtilsTest.php')
-rw-r--r--tests/api/ApiUtilsTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/api/ApiUtilsTest.php b/tests/api/ApiUtilsTest.php
index 7efec9bb..e8075a5d 100644
--- a/tests/api/ApiUtilsTest.php
+++ b/tests/api/ApiUtilsTest.php
@@ -13,7 +13,7 @@ class ApiUtilsTest extends \PHPUnit\Framework\TestCase
13 /** 13 /**
14 * Force the timezone for ISO datetimes. 14 * Force the timezone for ISO datetimes.
15 */ 15 */
16 public static function setUpBeforeClass() 16 public static function setUpBeforeClass(): void
17 { 17 {
18 date_default_timezone_set('UTC'); 18 date_default_timezone_set('UTC');
19 } 19 }