@@ -239,7 +239,7 @@ discard block |
||
| 239 | 239 | if ((!$this->isNonSSLLinksAllowed() || strpos($remote, 'http://') !== 0) |
| 240 | 240 | && strpos($remote, 'https://') !== 0 |
| 241 | 241 | ) { |
| 242 | - $remote = 'https://' . $remote; |
|
| 242 | + $remote = 'https://'.$remote; |
|
| 243 | 243 | } |
| 244 | 244 | |
| 245 | 245 | return rtrim($remote, '/'); |
@@ -497,7 +497,7 @@ discard block |
||
| 497 | 497 | return false; |
| 498 | 498 | } |
| 499 | 499 | |
| 500 | - throw new GSStatusException('GS and lookup are not configured : ' . $lookup . ', ' . $enabled); |
|
| 500 | + throw new GSStatusException('GS and lookup are not configured : '.$lookup.', '.$enabled); |
|
| 501 | 501 | } |
| 502 | 502 | |
| 503 | 503 | $clef = $this->config->getSystemValue('gss.jwt.key', ''); |
@@ -591,7 +591,7 @@ discard block |
||
| 591 | 591 | $this->getAppValue(self::TEST_NC_BASE) : $this->getAppValue(self::FORCE_NC_BASE); |
| 592 | 592 | |
| 593 | 593 | if ($ncBase !== '') { |
| 594 | - $absolute = rtrim($ncBase, '/') . $this->urlGenerator->linkToRoute($routeName, $args); |
|
| 594 | + $absolute = rtrim($ncBase, '/').$this->urlGenerator->linkToRoute($routeName, $args); |
|
| 595 | 595 | } else { |
| 596 | 596 | $absolute = $this->urlGenerator->linkToRouteAbsolute($routeName, $args); |
| 597 | 597 | } |
@@ -141,9 +141,9 @@ discard block |
||
| 141 | 141 | $test->setAsync(true); |
| 142 | 142 | $token = $this->gsUpstreamService->newEvent($test); |
| 143 | 143 | |
| 144 | - $output->writeln('- Async request is sent, now waiting ' . $this->delay . ' seconds'); |
|
| 144 | + $output->writeln('- Async request is sent, now waiting '.$this->delay.' seconds'); |
|
| 145 | 145 | sleep($this->delay); |
| 146 | - $output->writeln('- Pause is over, checking results for ' . $token); |
|
| 146 | + $output->writeln('- Pause is over, checking results for '.$token); |
|
| 147 | 147 | |
| 148 | 148 | $wrappers = $this->gsUpstreamService->getEventsByToken($token); |
| 149 | 149 | |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | } |
| 155 | 155 | |
| 156 | 156 | foreach ($instances as $instance) { |
| 157 | - $output->write($instance . ' '); |
|
| 157 | + $output->write($instance.' '); |
|
| 158 | 158 | if (array_key_exists($instance, $result) |
| 159 | 159 | && $result[$instance]->getResult() |
| 160 | 160 | ->gInt('status') === 1) { |
@@ -183,14 +183,14 @@ discard block |
||
| 183 | 183 | $request = new NC19Request('', Request::type($type)); |
| 184 | 184 | $this->configService->configureRequest($request, $route, $args); |
| 185 | 185 | |
| 186 | - $o->write('- ' . $type . ' request on ' . $request->getCompleteUrl() . ': '); |
|
| 186 | + $o->write('- '.$type.' request on '.$request->getCompleteUrl().': '); |
|
| 187 | 187 | $this->doRequest($request); |
| 188 | 188 | |
| 189 | 189 | $color = 'error'; |
| 190 | 190 | if ($request->getResultCode() === 200) { |
| 191 | 191 | $color = 'info'; |
| 192 | 192 | } |
| 193 | - $o->writeln('<' . $color . '>' . $request->getResultCode() . '</' . $color . '>'); |
|
| 193 | + $o->writeln('<'.$color.'>'.$request->getResultCode().'</'.$color.'>'); |
|
| 194 | 194 | |
| 195 | 195 | if ($request->getResultCode() === 200) { |
| 196 | 196 | return true; |