]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tests/config/ConfigPhpTest.php
Merge pull request #1569 from ArthurHoaro/fix/bad-encoding
[github/shaarli/Shaarli.git] / tests / config / ConfigPhpTest.php
index 67d878cee31cc88a61cf0cad4b92eb8d08e2b044..a9aa80f5c89ba84690d40cbd54bc496d702b33c1 100644 (file)
@@ -3,6 +3,10 @@ namespace Shaarli\Config;
 
 /**
  * Class ConfigPhpTest
+ *
+ * We run tests in separate processes due to the usage for $GLOBALS
+ * which are kept between tests.
+ * @runTestsInSeparateProcesses
  */
 class ConfigPhpTest extends \PHPUnit\Framework\TestCase
 {
@@ -11,7 +15,7 @@ class ConfigPhpTest extends \PHPUnit\Framework\TestCase
      */
     protected $configIO;
 
-    public function setUp()
+    protected function setUp(): void
     {
         $this->configIO = new ConfigPhp();
     }