Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/registration.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-07-21 15:44:58 +0300
committerJoas Schilling <coding@schilljs.com>2022-07-21 15:44:58 +0300
commit00491cf3c98f7537ae7ceb1aacedbc5c16162f29 (patch)
treee652f6a7c0f13e48b826ea82ff800b6b4488ad1a
parent8fdf64bfcc49ffa0ca9e043354654c62fce88c89 (diff)
Fix CS again
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--lib/BackgroundJob/ExpireRegistrations.php4
-rw-r--r--lib/Controller/SettingsController.php28
-rw-r--r--lib/Listener/UserEnabledListener.php2
-rw-r--r--lib/RegistrationLoginOption.php4
-rw-r--r--lib/Service/MailService.php14
-rw-r--r--lib/Settings/RegistrationSettings.php8
-rw-r--r--tests/Unit/Controller/RegisterControllerTest.php2
7 files changed, 31 insertions, 31 deletions
diff --git a/lib/BackgroundJob/ExpireRegistrations.php b/lib/BackgroundJob/ExpireRegistrations.php
index 9c888c8..ec5c50f 100644
--- a/lib/BackgroundJob/ExpireRegistrations.php
+++ b/lib/BackgroundJob/ExpireRegistrations.php
@@ -39,8 +39,8 @@ class ExpireRegistrations extends TimedJob {
protected $config;
public function __construct(ITimeFactory $time,
- RegistrationMapper $registrationMapper,
- IConfig $config) {
+ RegistrationMapper $registrationMapper,
+ IConfig $config) {
parent::__construct($time);
// Run once per day
diff --git a/lib/Controller/SettingsController.php b/lib/Controller/SettingsController.php
index fc2b7bc..1d688df 100644
--- a/lib/Controller/SettingsController.php
+++ b/lib/Controller/SettingsController.php
@@ -56,20 +56,20 @@ class SettingsController extends Controller {
* @return DataResponse
*/
public function admin(?string $registered_user_group,
- string $allowed_domains,
- string $additional_hint,
- string $email_verification_hint,
- string $username_policy_regex,
- ?bool $admin_approval_required,
- ?bool $email_is_optional,
- ?bool $email_is_login,
- ?bool $show_fullname,
- ?bool $enforce_fullname,
- ?bool $show_phone,
- ?bool $enforce_phone,
- ?bool $domains_is_blocklist,
- ?bool $show_domains,
- ?bool $disable_email_verification) {
+ string $allowed_domains,
+ string $additional_hint,
+ string $email_verification_hint,
+ string $username_policy_regex,
+ ?bool $admin_approval_required,
+ ?bool $email_is_optional,
+ ?bool $email_is_login,
+ ?bool $show_fullname,
+ ?bool $enforce_fullname,
+ ?bool $show_phone,
+ ?bool $enforce_phone,
+ ?bool $domains_is_blocklist,
+ ?bool $show_domains,
+ ?bool $disable_email_verification) {
// handle domains
if (($allowed_domains === '') || ($allowed_domains === null)) {
$this->config->deleteAppValue($this->appName, 'allowed_domains');
diff --git a/lib/Listener/UserEnabledListener.php b/lib/Listener/UserEnabledListener.php
index 9ff5b1c..0b0bb27 100644
--- a/lib/Listener/UserEnabledListener.php
+++ b/lib/Listener/UserEnabledListener.php
@@ -37,7 +37,7 @@ class UserEnabledListener implements IEventListener {
private $registrationService;
public function __construct(IConfig $config,
- RegistrationService $registrationService) {
+ RegistrationService $registrationService) {
$this->config = $config;
$this->registrationService = $registrationService;
}
diff --git a/lib/RegistrationLoginOption.php b/lib/RegistrationLoginOption.php
index 10c6b21..803fd58 100644
--- a/lib/RegistrationLoginOption.php
+++ b/lib/RegistrationLoginOption.php
@@ -37,8 +37,8 @@ class RegistrationLoginOption implements IAlternativeLogin {
protected $theming;
public function __construct(IURLGenerator $url,
- IL10N $l,
- \OC_Defaults $theming) {
+ IL10N $l,
+ \OC_Defaults $theming) {
$this->url = $url;
$this->l = $l;
$this->theming = $theming;
diff --git a/lib/Service/MailService.php b/lib/Service/MailService.php
index 35e0bde..81fbcb7 100644
--- a/lib/Service/MailService.php
+++ b/lib/Service/MailService.php
@@ -58,13 +58,13 @@ class MailService {
private $config;
public function __construct(IURLGenerator $urlGenerator,
- IMailer $mailer,
- Defaults $defaults,
- IL10N $l10n,
- IGroupManager $groupManager,
- IConfig $config,
- LoginFlowService $loginFlowService,
- LoggerInterface $logger) {
+ IMailer $mailer,
+ Defaults $defaults,
+ IL10N $l10n,
+ IGroupManager $groupManager,
+ IConfig $config,
+ LoginFlowService $loginFlowService,
+ LoggerInterface $logger) {
$this->urlGenerator = $urlGenerator;
$this->mailer = $mailer;
$this->config = $config;
diff --git a/lib/Settings/RegistrationSettings.php b/lib/Settings/RegistrationSettings.php
index 668ceb2..68b42ef 100644
--- a/lib/Settings/RegistrationSettings.php
+++ b/lib/Settings/RegistrationSettings.php
@@ -48,10 +48,10 @@ class RegistrationSettings implements ISettings {
protected $appName;
public function __construct(string $appName,
- IConfig $config,
- IGroupManager $groupManager,
- IAccountManager $accountManager,
- IInitialState $initialState) {
+ IConfig $config,
+ IGroupManager $groupManager,
+ IAccountManager $accountManager,
+ IInitialState $initialState) {
$this->appName = $appName;
$this->config = $config;
$this->groupManager = $groupManager;
diff --git a/tests/Unit/Controller/RegisterControllerTest.php b/tests/Unit/Controller/RegisterControllerTest.php
index 6652990..dc306d7 100644
--- a/tests/Unit/Controller/RegisterControllerTest.php
+++ b/tests/Unit/Controller/RegisterControllerTest.php
@@ -154,7 +154,7 @@ class RegisterControllerTest extends TestCase {
['email_is_optional', $email_is_optional],
['disable_email_verification', $disable_email_verification],
['is_login_flow', false],
- );
+ );
}
public function testSubmitEmailForm(): void {