Completed
Push — master ( fe2434...bffc01 )
by Dmitry
03:47
created
tests/ApplicationTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 use Basis\Application;
4
-use Basis\Converter;
5 4
 use League\Container\Container;
6 5
 
7 6
 class ApplicationTest extends TestSuite
Please login to merge, or discard this patch.
tests/HttpTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 use Basis\Http;
4
-
5 4
 use Controllers\Index;
6 5
 
7 6
 class HttpTest extends TestSuite
Please login to merge, or discard this patch.
tests/ProviderTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Basis\Config;
4 3
 use League\Container\Container;
5 4
 use LinkORB\Component\Etcd\Client;
6 5
 
Please login to merge, or discard this patch.
tests/RunnerTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Basis\Jobs\Job\Info;
4 3
 use Basis\Runner;
5 4
 use Jobs\Hello\World;
6 5
 
Please login to merge, or discard this patch.
src/Application.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -7,6 +7,9 @@
 block discarded – undo
7 7
 
8 8
 class Application extends Container
9 9
 {
10
+    /**
11
+     * @param string $root
12
+     */
10 13
     public function __construct($root)
11 14
     {
12 15
         parent::__construct();
Please login to merge, or discard this patch.
src/Providers/CoreProvider.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Basis\Providers;
4 4
 
5
-use Basis\Config;
6 5
 use Basis\Dispatcher;
7 6
 use Basis\Framework;
8 7
 use Basis\Http;
Please login to merge, or discard this patch.
src/Controllers/Api.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -47,6 +47,9 @@
 block discarded – undo
47 47
         return is_array($data) ? $response : $response[0];
48 48
     }
49 49
 
50
+    /**
51
+     * @param Runner $runner
52
+     */
50 53
     private function process($runner, $rpc)
51 54
     {
52 55
         if (!property_exists($rpc, 'job')) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Basis\Config;
6 6
 use Basis\Event;
7
-use Basis\Filesystem;
8 7
 use Basis\Runner;
9 8
 use Exception;
10 9
 
Please login to merge, or discard this patch.
src/Dispatcher.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
14 14
         $this->etcd = $etcd;
15 15
     }
16 16
 
17
+    /**
18
+     * @param string $job
19
+     */
17 20
     public function dispatch($job, $params = [], $host = null)
18 21
     {
19 22
         if (!$host) {
Please login to merge, or discard this patch.
tests/TarantoolTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 use Tarantool\Mapper\Mapper;
4
-
5 4
 use Repositories\NoteRepository;
6 5
 
7 6
 class TarantoolTest extends TestSuite
Please login to merge, or discard this patch.