]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tests/HistoryTest.php
Comply with PHPUnit V8: setup/teardown functions must return void
[github/shaarli/Shaarli.git] / tests / HistoryTest.php
index 7189c3a99fb171dd436834252b7243eaa59a3d23..e9e61032efb71ef23a6af3cf79e37544f3ed445c 100644 (file)
@@ -16,7 +16,7 @@ class HistoryTest extends \PHPUnit\Framework\TestCase
     /**
      * Delete history file.
      */
-    public function setUp()
+    protected function setUp(): void
     {
         if (file_exists(self::$historyFilePath)) {
             unlink(self::$historyFilePath);