Test Failed
Branch 3.1 (3d2a88)
by huang
02:47
created
src/Model/Model.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * Model constructor.
28
-     * @param medoo $medoo
28
+     * @param Medoo $medoo
29 29
      */
30 30
     public function __construct(Medoo $medoo)
31 31
     {
Please login to merge, or discard this patch.
src/Server.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use FastD\ServiceProvider\SwooleServiceProvider;
14 14
 use FastD\Servitization\Server\HTTPServer;
15 15
 use Symfony\Component\Console\Input\InputInterface;
16
-use swoole_http_response;
17 16
 use swoole_server;
18 17
 
19 18
 /**
Please login to merge, or discard this patch.
src/Servitization/Server/TCPServer.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      * @param $fd
43 43
      * @param $data
44 44
      * @param $from_id
45
-     * @return mixed
45
+     * @return integer
46 46
      */
47 47
     public function doWork(swoole_server $server, $fd, $data, $from_id)
48 48
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
 
12 12
 
13 13
 use FastD\Http\ServerRequest;
14
+use FastD\Packet\Json;
14 15
 use FastD\Pool\PoolInterface;
15 16
 use FastD\Swoole\Server\TCP;
16
-use FastD\Packet\Json;
17 17
 use swoole_server;
18 18
 
19 19
 /**
Please login to merge, or discard this patch.
src/Servitization/Server/WebSocketServer.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     /**
43 43
      * @param swoole_server $server
44 44
      * @param swoole_websocket_frame $frame
45
-     * @return mixed
45
+     * @return integer
46 46
      */
47 47
     public function doMessage(swoole_server $server, swoole_websocket_frame $frame)
48 48
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use FastD\Swoole\Server\WebSocket;
17 17
 use swoole_server;
18 18
 use swoole_websocket_frame;
19
-use swoole_websocket_server;
20 19
 
21 20
 /**
22 21
  * Class WebSocketServer
Please login to merge, or discard this patch.
src/Client.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,13 +11,13 @@
 block discarded – undo
11 11
 
12 12
 
13 13
 use Exception;
14
+use FastD\Swoole\Client as SwooleClient;
14 15
 use Symfony\Component\Console\Helper\FormatterHelper;
15 16
 use Symfony\Component\Console\Helper\QuestionHelper;
16 17
 use Symfony\Component\Console\Input\InputInterface;
17 18
 use Symfony\Component\Console\Output\ConsoleOutput;
18 19
 use Symfony\Component\Console\Output\OutputInterface;
19 20
 use Symfony\Component\Console\Question\Question;
20
-use FastD\Swoole\Client as SwooleClient;
21 21
 
22 22
 /**
23 23
  * Class Client
Please login to merge, or discard this patch.
src/Test/TestCase.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 
13 13
 use FastD\Application;
14 14
 use FastD\Testing\WebTestCase;
15
-use PHPUnit_Extensions_Database_DataSet_IDataSet;
16 15
 use PHPUnit_Extensions_Database_DB_IDatabaseConnection;
16
+use PHPUnit_Extensions_Database_DataSet_IDataSet;
17 17
 
18 18
 /**
19 19
  * Class TestCase
Please login to merge, or discard this patch.