From 1ed8dd3124074b6a316f7897ed88362ca5fd84f6 Mon Sep 17 00:00:00 2001
From: Ninassi Benjamin <benjamin.ninassi@inria.fr>
Date: Thu, 27 Sep 2018 18:09:58 +0200
Subject: [PATCH] .

---
 .../Command/VerifyStructuresLogoCommand.php            | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/ClassCodeBundle/Command/VerifyStructuresLogoCommand.php b/src/ClassCodeBundle/Command/VerifyStructuresLogoCommand.php
index 4788cec..558a3fe 100644
--- a/src/ClassCodeBundle/Command/VerifyStructuresLogoCommand.php
+++ b/src/ClassCodeBundle/Command/VerifyStructuresLogoCommand.php
@@ -100,17 +100,17 @@ class VerifyStructuresLogoCommand extends ContainerAwareCommand
   }
 
   private function is_url_exist($url){
-    $ch = curl_init($url);    
-    curl_setopt($ch, CURLOPT_NOBODY, true);
-    curl_exec($ch);
-    $code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
+    $ch = \curl_init($url);    
+    \curl_setopt($ch, CURLOPT_NOBODY, true);
+    \curl_exec($ch);
+    $code = \curl_getinfo($ch, CURLINFO_HTTP_CODE);
 
     if($code == 200){
        $status = true;
     }else{
       $status = false;
     }
-    curl_close($ch);
+    \curl_close($ch);
    return $status;
   }
 }
-- 
GitLab