aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/FileUtilsTest.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/FileUtilsTest.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/FileUtilsTest.php')
-rw-r--r--tests/FileUtilsTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/FileUtilsTest.php b/tests/FileUtilsTest.php
index 57719175..eb9cb89a 100644
--- a/tests/FileUtilsTest.php
+++ b/tests/FileUtilsTest.php
@@ -19,7 +19,7 @@ class FileUtilsTest extends \PHPUnit\Framework\TestCase
19 /** 19 /**
20 * Delete test file after every test. 20 * Delete test file after every test.
21 */ 21 */
22 public function tearDown() 22 protected function tearDown(): void
23 { 23 {
24 @unlink(self::$file); 24 @unlink(self::$file);
25 } 25 }