@@ -336,11 +336,11 @@ discard block |
||
| 336 | 336 | protected function generateMember(FederatedEvent $event, Circle $circle, Member $member): Member { |
| 337 | 337 | try { |
| 338 | 338 | if ($member->getSingleId() !== '') { |
| 339 | - $userId = $member->getSingleId() . '@' . $member->getInstance(); |
|
| 339 | + $userId = $member->getSingleId().'@'.$member->getInstance(); |
|
| 340 | 340 | $federatedUser = $this->federatedUserService->getFederatedUser($userId, Member::TYPE_SINGLE); |
| 341 | 341 | |
| 342 | 342 | } else { |
| 343 | - $userId = $member->getUserId() . '@' . $member->getInstance(); |
|
| 343 | + $userId = $member->getUserId().'@'.$member->getInstance(); |
|
| 344 | 344 | $federatedUser = $this->federatedUserService->getFederatedUser( |
| 345 | 345 | $userId, |
| 346 | 346 | $member->getUserType() |
@@ -642,7 +642,7 @@ discard block |
||
| 642 | 642 | $this->sendMailExistingShares($template, $author, $recipient); |
| 643 | 643 | $this->sendPasswordExistingShares($author, $recipient, $password); |
| 644 | 644 | } catch (Exception $e) { |
| 645 | - $this->miscService->log('Failed to send mail about existing share ' . $e->getMessage()); |
|
| 645 | + $this->miscService->log('Failed to send mail about existing share '.$e->getMessage()); |
|
| 646 | 646 | } |
| 647 | 647 | } |
| 648 | 648 | |
@@ -794,7 +794,7 @@ discard block |
||
| 794 | 794 | $authorName = ($authorUser instanceof IUser) ? $authorUser->getDisplayName() : $author; |
| 795 | 795 | $authorEmail = ($authorUser instanceof IUser) ? $authorUser->getEMailAddress() : null; |
| 796 | 796 | |
| 797 | - $this->miscService->log("Sending password mail about existing files to '" . $email . "'", 0); |
|
| 797 | + $this->miscService->log("Sending password mail about existing files to '".$email."'", 0); |
|
| 798 | 798 | |
| 799 | 799 | $plainBodyPart = $this->l10n->t( |
| 800 | 800 | "%1\$s shared multiple files with you.\nYou should have already received a separate email with a link to access them.\n", |
@@ -836,7 +836,7 @@ discard block |
||
| 836 | 836 | $message->setFrom([\OCP\Util::getDefaultEmailAddress($instanceName) => $senderName]); |
| 837 | 837 | if ($authorEmail !== null) { |
| 838 | 838 | $message->setReplyTo([$authorEmail => $authorName]); |
| 839 | - $emailTemplate->addFooter($instanceName . ' - ' . $this->defaults->getSlogan()); |
|
| 839 | + $emailTemplate->addFooter($instanceName.' - '.$this->defaults->getSlogan()); |
|
| 840 | 840 | } else { |
| 841 | 841 | $emailTemplate->addFooter(); |
| 842 | 842 | } |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | '<error>WARNING! You are about to delete all data related to the Circles App!</error>' |
| 109 | 109 | ); |
| 110 | 110 | $question = new ConfirmationQuestion( |
| 111 | - '<comment>Do you really want to ' . $action . ' Circles ?</comment> (y/N) ', false, '/^(y|Y)/i' |
|
| 111 | + '<comment>Do you really want to '.$action.' Circles ?</comment> (y/N) ', false, '/^(y|Y)/i' |
|
| 112 | 112 | ); |
| 113 | 113 | |
| 114 | 114 | $helper = $this->getHelper('question'); |
@@ -123,7 +123,7 @@ discard block |
||
| 123 | 123 | |
| 124 | 124 | |
| 125 | 125 | $question = new Question( |
| 126 | - '<comment>Please confirm this destructive operation by typing \'' . $action |
|
| 126 | + '<comment>Please confirm this destructive operation by typing \''.$action |
|
| 127 | 127 | . '\'</comment>: ', '' |
| 128 | 128 | ); |
| 129 | 129 | |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | $this->coreQueryBuilder->uninstall(); |
| 141 | 141 | } |
| 142 | 142 | |
| 143 | - $output->writeln('<info>' . $action . ' done</info>'); |
|
| 143 | + $output->writeln('<info>'.$action.' done</info>'); |
|
| 144 | 144 | |
| 145 | 145 | return 0; |
| 146 | 146 | } |
@@ -496,7 +496,7 @@ discard block |
||
| 496 | 496 | |
| 497 | 497 | $i = 1; |
| 498 | 498 | while (true) { |
| 499 | - $testDisplayName = $baseDisplayName . (($i > 1) ? ' (' . $i . ')' : ''); |
|
| 499 | + $testDisplayName = $baseDisplayName.(($i > 1) ? ' ('.$i.')' : ''); |
|
| 500 | 500 | $test = new Circle(); |
| 501 | 501 | $test->setDisplayName($testDisplayName); |
| 502 | 502 | |
@@ -529,7 +529,7 @@ discard block |
||
| 529 | 529 | |
| 530 | 530 | $i = 1; |
| 531 | 531 | while (true) { |
| 532 | - $testSanitizedName = $baseSanitizedName . (($i > 1) ? ' (' . $i . ')' : ''); |
|
| 532 | + $testSanitizedName = $baseSanitizedName.(($i > 1) ? ' ('.$i.')' : ''); |
|
| 533 | 533 | |
| 534 | 534 | $test = new Circle(); |
| 535 | 535 | $test->setSanitizedName($testSanitizedName); |