From fee4184e41a6afa103a9b553fbb42c16416a931e Mon Sep 17 00:00:00 2001 From: Formatter Bot Date: Sun, 24 Sep 2023 18:24:49 +0000 Subject: [PATCH] Automated formatting changes (NO_CI) --- Theme/Backend/Lang/da.lang.php | 2 +- tests/Controller/ApiControllerTest.php | 2 +- tests/Models/AddressTest.php | 30 +++++++++++++------------- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/Theme/Backend/Lang/da.lang.php b/Theme/Backend/Lang/da.lang.php index cf18c73..4677a8c 100755 --- a/Theme/Backend/Lang/da.lang.php +++ b/Theme/Backend/Lang/da.lang.php @@ -188,7 +188,7 @@ return ['Admin' => [ 'Zip' => 'Zip.', 'active' => '', 'available' => '', - 'i:LoginRetries' => 'Mængden af ​​tilladte retries (-1 = ubegrænset)', + 'i:LoginRetries' => "Mængden af \u{200b}\u{200b}tilladte retries (-1 = ubegrænset)", 'i:PasswordChangeInterval' => 'Interval, hvor passager skal ændres (-1 = aldrig)', 'i:PasswordHistory' => 'Ny adgangskode skal være forskellig fra de sidste N-adgangskoder', 'i:PasswordRegex' => 'Adgangskode krav til brugere', diff --git a/tests/Controller/ApiControllerTest.php b/tests/Controller/ApiControllerTest.php index 8dba9e5..333553d 100755 --- a/tests/Controller/ApiControllerTest.php +++ b/tests/Controller/ApiControllerTest.php @@ -73,7 +73,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase $account = new Account(); TestUtils::setMember($account, 'id', 1); - $permission = new AccountPermission(); + $permission = new AccountPermission(); $permission->unit = 1; $permission->app = 2; $permission->setPermission( diff --git a/tests/Models/AddressTest.php b/tests/Models/AddressTest.php index 1899160..96c8c00 100755 --- a/tests/Models/AddressTest.php +++ b/tests/Models/AddressTest.php @@ -41,11 +41,11 @@ final class AddressTest extends \PHPUnit\Framework\TestCase public function testDefault() : void { $expected = [ - 'postal' => '', - 'city' => '', - 'country' => 'XX', - 'address' => '', - 'state' => '', + 'postal' => '', + 'city' => '', + 'country' => 'XX', + 'address' => '', + 'state' => '', 'lat' => 0.0, 'lon' => 0.0, 'name' => '', @@ -61,11 +61,11 @@ final class AddressTest extends \PHPUnit\Framework\TestCase public function testToArray() : void { $expected = [ - 'postal' => '0123456789', - 'city' => 'city', - 'country' => 'Country', - 'address' => 'Some address here', - 'state' => 'This is a state 123', + 'postal' => '0123456789', + 'city' => 'city', + 'country' => 'Country', + 'address' => 'Some address here', + 'state' => 'This is a state 123', 'lat' => 12.1, 'lon' => 11.2, 'name' => 'name', @@ -89,11 +89,11 @@ final class AddressTest extends \PHPUnit\Framework\TestCase public function testJsonSerialize() : void { $expected = [ - 'postal' => '0123456789', - 'city' => 'city', - 'country' => 'Country', - 'address' => 'Some address here', - 'state' => 'This is a state 123', + 'postal' => '0123456789', + 'city' => 'city', + 'country' => 'Country', + 'address' => 'Some address here', + 'state' => 'This is a state 123', 'lat' => 12.1, 'lon' => 11.2, 'name' => 'name',