@@ -173,7 +173,7 @@ discard block  | 
                                                    ||
| 173 | 173 |  			throw new Exception('Please specify a --type for the test'); | 
                                                        
| 174 | 174 | }  | 
                                                        
| 175 | 175 |  		if ($test !== '' && !in_array($type, self::$checks)) { | 
                                                        
| 176 | -			throw new Exception('Unknown type: ' . implode(', ', self::$checks)); | 
                                                        |
| 176 | +			throw new Exception('Unknown type: '.implode(', ', self::$checks)); | 
                                                        |
| 177 | 177 | }  | 
                                                        
| 178 | 178 | |
| 179 | 179 | // $this->configService->setAppValue(ConfigService::TEST_NC_BASE, $test);  | 
                                                        
@@ -278,7 +278,7 @@ discard block  | 
                                                    ||
| 278 | 278 | }  | 
                                                        
| 279 | 279 | |
| 280 | 280 |  		$output->writeln(''); | 
                                                        
| 281 | -		$output->writeln('* testing current address: ' . $test); | 
                                                        |
| 281 | +		$output->writeln('* testing current address: '.$test); | 
                                                        |
| 282 | 282 | |
| 283 | 283 |  		try { | 
                                                        
| 284 | 284 | $this->setupLoopback($input, $output, $test);  | 
                                                        
@@ -314,8 +314,8 @@ discard block  | 
                                                    ||
| 314 | 314 | continue;  | 
                                                        
| 315 | 315 | }  | 
                                                        
| 316 | 316 | |
| 317 | - $loopback = $scheme . '://' . $cloudId;  | 
                                                        |
| 318 | -			$output->write('* testing address: ' . $loopback . ' '); | 
                                                        |
| 317 | + $loopback = $scheme.'://'.$cloudId;  | 
                                                        |
| 318 | +			$output->write('* testing address: '.$loopback.' '); | 
                                                        |
| 319 | 319 | |
| 320 | 320 |  			if ($this->testLoopback($input, $output, $loopback)) { | 
                                                        
| 321 | 321 |  				$output->writeln('* <info>Loopback</info> address looks good'); | 
                                                        
@@ -385,9 +385,9 @@ discard block  | 
                                                    ||
| 385 | 385 | $test = new FederatedEvent(LoopbackTest::class);  | 
                                                        
| 386 | 386 | $this->federatedEventService->newEvent($test);  | 
                                                        
| 387 | 387 | |
| 388 | -		$output->writeln('<info>' . $test->getWrapperToken() . '</info>'); | 
                                                        |
| 388 | +		$output->writeln('<info>'.$test->getWrapperToken().'</info>'); | 
                                                        |
| 389 | 389 | |
| 390 | -		$output->writeln('- Waiting for async process to finish (' . $this->delay . 's)'); | 
                                                        |
| 390 | +		$output->writeln('- Waiting for async process to finish ('.$this->delay.'s)'); | 
                                                        |
| 391 | 391 | sleep($this->delay);  | 
                                                        
| 392 | 392 | |
| 393 | 393 |  		$output->write('- Checking status on FederatedEvent '); | 
                                                        
@@ -401,18 +401,18 @@ discard block  | 
                                                    ||
| 401 | 401 | |
| 402 | 402 |  		$checkVerify = $wrapper->getEvent()->getData()->gInt('verify'); | 
                                                        
| 403 | 403 |  		if ($checkVerify === LoopbackTest::VERIFY) { | 
                                                        
| 404 | -			$output->write('<info>verify=' . $checkVerify . '</info> '); | 
                                                        |
| 404 | +			$output->write('<info>verify='.$checkVerify.'</info> '); | 
                                                        |
| 405 | 405 |  		} else { | 
                                                        
| 406 | -			$output->writeln('<error>verify=' . $checkVerify . '</error>'); | 
                                                        |
| 406 | +			$output->writeln('<error>verify='.$checkVerify.'</error>'); | 
                                                        |
| 407 | 407 | |
| 408 | 408 | return false;  | 
                                                        
| 409 | 409 | }  | 
                                                        
| 410 | 410 | |
| 411 | 411 |  		$checkManage = $wrapper->getResult()->gInt('manage'); | 
                                                        
| 412 | 412 |  		if ($checkManage === LoopbackTest::MANAGE) { | 
                                                        
| 413 | -			$output->write('<info>manage=' . $checkManage . '</info> '); | 
                                                        |
| 413 | +			$output->write('<info>manage='.$checkManage.'</info> '); | 
                                                        |
| 414 | 414 |  		} else { | 
                                                        
| 415 | -			$output->writeln('<error>manage=' . $checkManage . '</error>'); | 
                                                        |
| 415 | +			$output->writeln('<error>manage='.$checkManage.'</error>'); | 
                                                        |
| 416 | 416 | |
| 417 | 417 | return false;  | 
                                                        
| 418 | 418 | }  | 
                                                        
@@ -434,7 +434,7 @@ discard block  | 
                                                    ||
| 434 | 434 | [$scheme, $cloudId] = $this->parseAddress($loopback);  | 
                                                        
| 435 | 435 | |
| 436 | 436 | $question = new ConfirmationQuestion(  | 
                                                        
| 437 | - '- Do you want to save <info>'. $loopback . '</info> as your <info>loopback</info> address ? (y/N) ', false, '/^(y|Y)/i'  | 
                                                        |
| 437 | + '- Do you want to save <info>'.$loopback.'</info> as your <info>loopback</info> address ? (y/N) ', false, '/^(y|Y)/i'  | 
                                                        |
| 438 | 438 | );  | 
                                                        
| 439 | 439 | |
| 440 | 440 |  		$helper = $this->getHelper('question'); | 
                                                        
@@ -447,7 +447,7 @@ discard block  | 
                                                    ||
| 447 | 447 | $this->configService->setAppValue(ConfigService::LOOPBACK_CLOUD_SCHEME, $scheme);  | 
                                                        
| 448 | 448 | $this->configService->setAppValue(ConfigService::LOOPBACK_CLOUD_ID, $cloudId);  | 
                                                        
| 449 | 449 | $output->writeln(  | 
                                                        
| 450 | - '- Address <info>' . $loopback . '</info> is now used as <info>loopback</info>'  | 
                                                        |
| 450 | + '- Address <info>'.$loopback.'</info> is now used as <info>loopback</info>'  | 
                                                        |
| 451 | 451 | );  | 
                                                        
| 452 | 452 | }  | 
                                                        
| 453 | 453 | |
@@ -514,7 +514,7 @@ discard block  | 
                                                    ||
| 514 | 514 | continue;  | 
                                                        
| 515 | 515 | }  | 
                                                        
| 516 | 516 | |
| 517 | - $frontal = $scheme . '://' . $cloudId;  | 
                                                        |
| 517 | + $frontal = $scheme.'://'.$cloudId;  | 
                                                        |
| 518 | 518 | break;  | 
                                                        
| 519 | 519 | }  | 
                                                        
| 520 | 520 | |
@@ -528,13 +528,13 @@ discard block  | 
                                                    ||
| 528 | 528 | 'You will need to run this <info>curl</info> command from a remote terminal and paste its result: '  | 
                                                        
| 529 | 529 | );  | 
                                                        
| 530 | 530 | $output->writeln(  | 
                                                        
| 531 | - ' curl ' . $frontal . '/.well-known/webfinger?resource=http://nextcloud.com/'  | 
                                                        |
| 531 | + ' curl '.$frontal.'/.well-known/webfinger?resource=http://nextcloud.com/'  | 
                                                        |
| 532 | 532 | );  | 
                                                        
| 533 | 533 | |
| 534 | 534 |  			$question = new Question('result: ', ''); | 
                                                        
| 535 | 535 | $pasteWebfinger = $helper->ask($input, $output, $question);  | 
                                                        
| 536 | 536 | |
| 537 | - echo '__ ' . $pasteWebfinger;  | 
                                                        |
| 537 | + echo '__ '.$pasteWebfinger;  | 
                                                        |
| 538 | 538 | |
| 539 | 539 |  			$output->writeln('TESTING !!'); | 
                                                        
| 540 | 540 |  			$output->writeln('TESTING !!'); | 
                                                        
@@ -661,7 +661,7 @@ discard block  | 
                                                    ||
| 661 | 661 | $request->setDataSerialize(new SimpleDataStore(['empty' => 1]));  | 
                                                        
| 662 | 662 | }  | 
                                                        
| 663 | 663 | |
| 664 | -		$output->write('- ' . $type . ' request on ' . $request->getCompleteUrl() . ': '); | 
                                                        |
| 664 | +		$output->write('- '.$type.' request on '.$request->getCompleteUrl().': '); | 
                                                        |
| 665 | 665 | |
| 666 | 666 |  		try { | 
                                                        
| 667 | 667 | $this->doRequest($request);  | 
                                                        
@@ -672,7 +672,7 @@ discard block  | 
                                                    ||
| 672 | 672 | $color = 'info';  | 
                                                        
| 673 | 673 | }  | 
                                                        
| 674 | 674 | |
| 675 | -			$output->writeln('<' . $color . '>' . $result->getStatusCode() . '</' . $color . '>'); | 
                                                        |
| 675 | +			$output->writeln('<'.$color.'>'.$result->getStatusCode().'</'.$color.'>'); | 
                                                        |
| 676 | 676 |  			if ($result->getStatusCode() === 200) { | 
                                                        
| 677 | 677 | return true;  | 
                                                        
| 678 | 678 | }  | 
                                                        
@@ -696,7 +696,7 @@ discard block  | 
                                                    ||
| 696 | 696 | |
| 697 | 697 |  		$output->writeln(''); | 
                                                        
| 698 | 698 | $output->writeln(  | 
                                                        
| 699 | - 'The address <info>' . $address . '</info> seems to reach your local Nextcloud.'  | 
                                                        |
| 699 | + 'The address <info>'.$address.'</info> seems to reach your local Nextcloud.'  | 
                                                        |
| 700 | 700 | );  | 
                                                        
| 701 | 701 | |
| 702 | 702 |  		$helper = $this->getHelper('question'); | 
                                                        
@@ -713,8 +713,8 @@ discard block  | 
                                                    ||
| 713 | 713 | |
| 714 | 714 | $this->configService->setAppValue(ConfigService::FORCE_NC_BASE, $address);  | 
                                                        
| 715 | 715 | $output->writeln(  | 
                                                        
| 716 | - 'New configuration <info>' . Application::APP_ID . '.' . ConfigService::FORCE_NC_BASE . '=\''  | 
                                                        |
| 717 | - . $address . '\'</info> stored in database'  | 
                                                        |
| 716 | + 'New configuration <info>'.Application::APP_ID.'.'.ConfigService::FORCE_NC_BASE.'=\''  | 
                                                        |
| 717 | + . $address.'\'</info> stored in database'  | 
                                                        |
| 718 | 718 | );  | 
                                                        
| 719 | 719 | }  | 
                                                        
| 720 | 720 | |
@@ -735,7 +735,7 @@ discard block  | 
                                                    ||
| 735 | 735 | }  | 
                                                        
| 736 | 736 | |
| 737 | 737 |  		if (!is_null($cloudIdPort)) { | 
                                                        
| 738 | - $cloudId = $cloudId . ':' . $cloudIdPort;  | 
                                                        |
| 738 | + $cloudId = $cloudId.':'.$cloudIdPort;  | 
                                                        |
| 739 | 739 | }  | 
                                                        
| 740 | 740 | |
| 741 | 741 | return [$scheme, $cloudId];  |