Test Failed
Push — master ( 1211a5...b50906 )
by Taosikai
12:48
created
src/Client.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,14 +11,12 @@
 block discarded – undo
11 11
 namespace Slince\SmartQQ;
12 12
 
13 13
 use GuzzleHttp\Client as HttpClient;
14
-use GuzzleHttp\Cookie\CookieJar;
15 14
 use GuzzleHttp\Psr7\Request as HttpRequest;
16 15
 use GuzzleHttp\Psr7\Response as HttpResponse;
17 16
 use Slince\EventDispatcher\Dispatcher;
18 17
 use Slince\EventDispatcher\DispatcherInterface;
19 18
 use Slince\SmartQQ\Entity;
20 19
 use Slince\SmartQQ\Exception\InvalidArgumentException;
21
-use Slince\SmartQQ\Exception\RuntimeException;
22 20
 use Slince\SmartQQ\Message\Request\FriendMessage;
23 21
 use Slince\SmartQQ\Message\Request\GroupMessage;
24 22
 use Slince\SmartQQ\Message\Request\Message as RequestMessage;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 
83 83
         // 兼容二维码位置传参
84 84
         if (is_string($qrCallback)) {
85
-            $qrCallback = function ($qrcode) use($qrCallback){
85
+            $qrCallback = function($qrcode) use($qrCallback){
86 86
                 file_put_contents($qrCallback, $qrcode);
87 87
             };
88 88
         }
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
      */
252 252
     public function getFriendQQ(Entity\Friend $friend)
253 253
     {
254
-        @trigger_error('The api is not supported now',E_USER_DEPRECATED);
254
+        @trigger_error('The api is not supported now', E_USER_DEPRECATED);
255 255
 
256 256
         $request = new Request\GetQQRequest($friend, $this->getCredential());
257 257
         $response = $this->sendRequest($request);
Please login to merge, or discard this patch.