diff --git a/model/AdminHandler.php b/model/AdminHandler.php index 9a35294f..25b7753e 100644 --- a/model/AdminHandler.php +++ b/model/AdminHandler.php @@ -1,7 +1,8 @@ handle(); -class UserProxy { +class UserProxy +{ /** * @param string $old_password @@ -105,7 +106,8 @@ class UserProxy { } } -class VacationProxy { +class VacationProxy +{ /** * @return boolean true if the vacation is removed successfully. Else false. */ @@ -154,7 +156,8 @@ class VacationProxy { } } -class AliasProxy { +class AliasProxy +{ /** * @return array - array of aliases this user has. Array may be empty. */ diff --git a/scripts/postfixadmin-cli.php b/scripts/postfixadmin-cli.php index 7b609442..2e16ea93 100644 --- a/scripts/postfixadmin-cli.php +++ b/scripts/postfixadmin-cli.php @@ -33,7 +33,8 @@ */ -class PostfixAdmin { +class PostfixAdmin +{ /** * Version * diff --git a/scripts/snippets/crypt.php b/scripts/snippets/crypt.php index 42b77fcd..31876625 100644 --- a/scripts/snippets/crypt.php +++ b/scripts/snippets/crypt.php @@ -1,6 +1,7 @@ assertEquals('', check_domain('example.com')); $this->assertEquals('', check_domain('google.com')); diff --git a/tests/CheckEmailTest.php b/tests/CheckEmailTest.php index c6ad1150..da805709 100644 --- a/tests/CheckEmailTest.php +++ b/tests/CheckEmailTest.php @@ -3,7 +3,8 @@ /** * Obviously relies on working DNS service etc. */ -class CheckEmailTest extends \PHPUnit\Framework\TestCase { +class CheckEmailTest extends \PHPUnit\Framework\TestCase +{ public function testBasic() { $this->assertEquals('', check_email('test@example.com')); $this->assertRegExp('/ not discoverable in DNS/', check_email('test@fishbeansblahblahblah' . uniqid() . '.com')); diff --git a/tests/CheckLanguageTest.php b/tests/CheckLanguageTest.php index 38efcce7..e2e2ff21 100644 --- a/tests/CheckLanguageTest.php +++ b/tests/CheckLanguageTest.php @@ -1,6 +1,7 @@ assertFalse($check, "there should be no entries in test.com as it's an invalid/non-existant domain"); diff --git a/tests/ConfigTest.php b/tests/ConfigTest.php index 33a84d62..1c3eaea9 100644 --- a/tests/ConfigTest.php +++ b/tests/ConfigTest.php @@ -1,6 +1,7 @@ cleanup(); } diff --git a/tests/DbBasicTest.php b/tests/DbBasicTest.php index c18fb68e..2d020a8c 100644 --- a/tests/DbBasicTest.php +++ b/tests/DbBasicTest.php @@ -1,6 +1,7 @@ getAll(); diff --git a/tests/ListAdminsTest.php b/tests/ListAdminsTest.php index 1d74ae8f..37076e1a 100644 --- a/tests/ListAdminsTest.php +++ b/tests/ListAdminsTest.php @@ -1,6 +1,7 @@ assertEquals([], list_domains_for_admin('test@test.com')); } diff --git a/tests/ListDomainsTest.php b/tests/ListDomainsTest.php index 7e95389a..57978e12 100644 --- a/tests/ListDomainsTest.php +++ b/tests/ListDomainsTest.php @@ -1,6 +1,7 @@ assertTrue($this->user->login($this->username, $this->password)); $this->assertTrue($this->user->changePassword($this->password, 'foobar')); diff --git a/tests/RemoteVacationTest.php b/tests/RemoteVacationTest.php index 3a5f43c3..9de12937 100644 --- a/tests/RemoteVacationTest.php +++ b/tests/RemoteVacationTest.php @@ -7,7 +7,8 @@ require_once('RemoteTest.php'); -class RemoteVacationTest extends RemoteTest { +class RemoteVacationTest extends RemoteTest +{ /** diff --git a/tests/RemoveFromArrayTest.php b/tests/RemoveFromArrayTest.php index 4b614449..096c73f2 100644 --- a/tests/RemoveFromArrayTest.php +++ b/tests/RemoveFromArrayTest.php @@ -1,6 +1,7 @@