Completed
Push — master ( abc07c...515d7f )
by Neomerx
09:11
created
php-cs-fixer.dist.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 declare(strict_types=1);
4 4
 
5 5
 $finder = (new \PhpCsFixer\Finder())
6
-    ->in(__DIR__ . '/src')
7
-    ->in(__DIR__ . '/tests')
6
+    ->in(__DIR__.'/src')
7
+    ->in(__DIR__.'/tests')
8 8
     ->append([__FILE__]);
9 9
 
10 10
 return (new PhpCsFixer\Config('custom'))
Please login to merge, or discard this patch.
src/Analyzer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
         // #6.2.3
178 178
         $requestMethod = $request->getHeader(CorsRequestHeaders::METHOD);
179 179
         if (true === empty($requestMethod)) {
180
-            $this->logDebug('Request is not CORS (header ' . CorsRequestHeaders::METHOD . ' is not specified).');
180
+            $this->logDebug('Request is not CORS (header '.CorsRequestHeaders::METHOD.' is not specified).');
181 181
 
182 182
             return $this->createResult(AnalysisResultInterface::TYPE_REQUEST_OUT_OF_CORS_SCOPE);
183 183
         }
@@ -312,7 +312,7 @@  discard block
 block discarded – undo
312 312
 
313 313
         if (false === $isSameHost) {
314 314
             $this->logInfo(
315
-                'Host header in request either absent or do not match server origin. ' .
315
+                'Host header in request either absent or do not match server origin. '.
316 316
                 'Check config settings for Server Origin and Host Check.',
317 317
                 ['host' => $host, 'server_origin_host' => $serverOriginHost, 'server_origin_port' => $serverOriginPort],
318 318
             );
@@ -341,7 +341,7 @@  discard block
 block discarded – undo
341 341
         }
342 342
 
343 343
         // check `port` parts
344
-        $requestOriginPort = true === \array_key_exists('port', $parsedUrl) ? (int) $parsedUrl['port'] : null;
344
+        $requestOriginPort = true === \array_key_exists('port', $parsedUrl) ? (int)$parsedUrl['port'] : null;
345 345
         $serverOriginPort  = $this->strategy->getServerOriginPort();
346 346
         if ($requestOriginPort !== $serverOriginPort) {
347 347
             return true;
Please login to merge, or discard this patch.