Fix phpcs

This commit is contained in:
Laurent Destailleur 2021-03-02 02:45:39 +01:00
parent 5d6ada77ca
commit 592dacd849
2 changed files with 10 additions and 8 deletions

View File

@ -78,7 +78,8 @@ class DateLibTzFranceTest extends PHPUnit\Framework\TestCase
* *
* @return void * @return void
*/ */
public static function setUpBeforeClass() { public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
if (getServerTimeZoneString() != 'Europe/Paris' && getServerTimeZoneString() != 'Europe/Berlin') { if (getServerTimeZoneString() != 'Europe/Paris' && getServerTimeZoneString() != 'Europe/Berlin') {
@ -95,7 +96,8 @@ class DateLibTzFranceTest extends PHPUnit\Framework\TestCase
* *
* @return void * @return void
*/ */
public static function tearDownAfterClass() { public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$db->rollback(); $db->rollback();