X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2Flanguages%2Ffr%2FLanguagesFrTest.php;h=e412b5bc9e203515bfa4ae120421775cc0b46018;hb=c3fca560b624588d37508142ab73573caf467573;hp=b8b7ca3a548358e98946e5d8833b748a40ecf27c;hpb=905f8675a728841b03b300d2c7dc909a1c4f7f03;p=github%2Fshaarli%2FShaarli.git diff --git a/tests/languages/fr/LanguagesFrTest.php b/tests/languages/fr/LanguagesFrTest.php index b8b7ca3a..e412b5bc 100644 --- a/tests/languages/fr/LanguagesFrTest.php +++ b/tests/languages/fr/LanguagesFrTest.php @@ -27,7 +27,7 @@ class LanguagesFrTest extends \PHPUnit\Framework\TestCase /** * Init: force French */ - public function setUp() + protected function setUp(): void { $this->conf = new ConfigManager(self::$configFile); $this->conf->set('translation.language', 'fr'); @@ -36,7 +36,7 @@ class LanguagesFrTest extends \PHPUnit\Framework\TestCase /** * Reset the locale since gettext seems to mess with it, making it too long */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { if (! empty(getenv('UT_LOCALE'))) { setlocale(LC_ALL, getenv('UT_LOCALE'));