Passed
Push — master ( 2432f8...918912 )
by Dispositif
02:37
created
src/Application/Http/ExternHttpClient.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -57,13 +57,13 @@
 block discarded – undo
57 57
         // idn_to_ascii('teßt.com',IDNA_NONTRANSITIONAL_TO_ASCII,INTL_IDNA_VARIANT_UTS46)
58 58
         // checkdnsrr($string, "A") // check DNS record
59 59
         if (!HttpUtil::isHttpURL($url)) {
60
-            throw new DomainException('URL not compatible : ' . $url);
60
+            throw new DomainException('URL not compatible : '.$url);
61 61
         }
62 62
         $response = $this->client->get($url);
63 63
 
64 64
         if (200 !== $response->getStatusCode()) {
65
-            echo 'HTTP error ' . $response->getStatusCode();
66
-            $this->log->error('HTTP error ' . $response->getStatusCode() . ' ' . $response->getReasonPhrase());
65
+            echo 'HTTP error '.$response->getStatusCode();
66
+            $this->log->error('HTTP error '.$response->getStatusCode().' '.$response->getReasonPhrase());
67 67
 
68 68
             return null;
69 69
         }
Please login to merge, or discard this patch.