Completed
Push — master ( c132c8...42afef )
by Dmitry
06:08
created
src/php/Application.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -7,6 +7,9 @@
 block discarded – undo
7 7
 
8 8
 class Application
9 9
 {
10
+    /**
11
+     * @param string $root
12
+     */
10 13
     function __construct($root)
11 14
     {
12 15
         $container = $this->container = new Container;
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Basis;
4 4
 
5
-use League\Container\Container;
5
+use League\Container\Container;
6 6
 use League\Container\ReflectionContainer;
7 7
 
8 8
 class Application
Please login to merge, or discard this patch.
src/php/Config.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Basis;
4 4
 
5
-use ArrayAccess;
5
+use ArrayAccess;
6 6
 use Dotenv\Dotenv;
7 7
 
8 8
 class Config implements ArrayAccess
Please login to merge, or discard this patch.
src/php/Filesystem.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@  discard block
 block discarded – undo
19 19
         return is_dir($path) || file_exists($path);
20 20
     }
21 21
 
22
+    /**
23
+     * @return string
24
+     */
22 25
     function getPath()
23 26
     {
24 27
         if (func_get_args()) {
@@ -60,6 +63,9 @@  discard block
 block discarded – undo
60 63
         return $classes;
61 64
     }
62 65
 
66
+    /**
67
+     * @param string $location
68
+     */
63 69
     function listFiles($location)
64 70
     {
65 71
         $absolute = $this->getPath($location);
@@ -84,6 +90,9 @@  discard block
 block discarded – undo
84 90
         return $result;
85 91
     }
86 92
 
93
+    /**
94
+     * @param string $namespace
95
+     */
87 96
     function completeClassName($namespace)
88 97
     {
89 98
         $config = $this->app->get(Config::class);
Please login to merge, or discard this patch.
src/php/Http.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Basis;
4 4
 
5
-use League\Container\Container;
5
+use League\Container\Container;
6 6
 use LogicException;
7 7
 
8 8
 class Http
Please login to merge, or discard this patch.
src/php/Jobs/Generate/Migration.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Basis\Jobs\Generate;
4 4
 
5
-use Basis\Framework;
5
+use Basis\Framework;
6 6
 use Basis\Filesystem;
7 7
 
8 8
 /**
Please login to merge, or discard this patch.
src/php/Jobs/Job/Info.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Basis\Jobs\Job;
4 4
 
5
-use Basis\Runner;
5
+use Basis\Runner;
6 6
 use ReflectionClass;
7 7
 
8 8
 /**
Please login to merge, or discard this patch.
src/php/Runner.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace Basis;
4 4
 
5
-use LogicException;
6
-use League\Container\Container;
7
-use ReflectionClass;
5
+use LogicException;
6
+use League\Container\Container;
7
+use ReflectionClass;
8 8
 use ReflectionProperty;
9 9
 
10 10
 class Runner
Please login to merge, or discard this patch.
tests/ApplicationTest.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Basis\Application;
4
-use Basis\Converter;
3
+use Basis\Application;
4
+use Basis\Converter;
5 5
 use League\Container\Container;
6 6
 
7 7
 class ApplicationTest extends TestSuite
Please login to merge, or discard this patch.
tests/HttpTest.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Basis\Http;
4
-
3
+use Basis\Http;
5 4
 use Example\Controllers\Index;
6 5
 
7 6
 class HttpTest extends TestSuite
Please login to merge, or discard this patch.