Completed
Push — master ( 08ea87...2a6b2d )
by Dmitry
05:00
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/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.
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/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.
src/Service.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@
 block discarded – undo
19 19
         }
20 20
     }
21 21
 
22
+    /**
23
+     * @param string $event
24
+     */
22 25
     public function eventExists($event)
23 26
     {
24 27
         return $this->exists("events/$event");
Please login to merge, or discard this patch.
tests/EventTest.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\Converter;
4 3
 use Basis\Event;
5 4
 
6 5
 class EventTest extends TestSuite
Please login to merge, or discard this patch.
src/Controller/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/Job/Module/Assets.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -22,6 +22,9 @@
 block discarded – undo
22 22
         return $artifacts;
23 23
     }
24 24
 
25
+    /**
26
+     * @param string $type
27
+     */
25 28
     public function map($type)
26 29
     {
27 30
         $mapping = [];
Please login to merge, or discard this patch.
src/Provider/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\Provider;
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.