Completed
Pull Request — master (#72)
by
unknown
01:33
created
src/Commands/ModelCommand.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 
4 4
 class ModelCommand extends BaseCommand {
5 5
 
6
-	protected $signature = 'wn:model
6
+    protected $signature = 'wn:model
7 7
         {name : Name of the model.}
8 8
         {--fillable= : the fillable fields.}
9 9
         {--dates= : date fields.}
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
         {--force= : override the existing files}
19 19
     ';
20 20
 
21
-	protected $description = 'Generates a model class for a RESTfull resource';
21
+    protected $description = 'Generates a model class for a RESTfull resource';
22 22
 
23 23
     public function handle()
24 24
     {
@@ -42,9 +42,9 @@  discard block
 block discarded – undo
42 42
 
43 43
     protected function getAsArrayFields($arg, $isOption = true)
44 44
     {
45
-    	$arg = ($isOption) ? $this->option($arg) : $this->argument($arg);
45
+        $arg = ($isOption) ? $this->option($arg) : $this->argument($arg);
46 46
         if(is_string($arg)){
47
-        	$arg = explode(',', $arg);
47
+            $arg = explode(',', $arg);
48 48
         } else if(! is_array($arg)) {
49 49
             $arg = [];
50 50
         }
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 
56 56
     protected function getNamespace()
57 57
     {
58
-    	return str_replace(' ', '\\', ucwords(str_replace('/', ' ', $this->option('path'))));
58
+        return str_replace(' ', '\\', ucwords(str_replace('/', ' ', $this->option('path'))));
59 59
     }
60 60
 
61 61
     protected function getRelations()
Please login to merge, or discard this patch.
src/Commands/ControllerRestActionsCommand.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,10 @@
 block discarded – undo
3 3
 
4 4
 class ControllerRestActionsCommand extends BaseCommand {
5 5
 
6
-	protected $signature = 'wn:controller:rest-actions
6
+    protected $signature = 'wn:controller:rest-actions
7 7
 		{--force= : override the existing files}';
8 8
 
9
-	protected $description = 'Generates REST actions trait to use into controllers';
9
+    protected $description = 'Generates REST actions trait to use into controllers';
10 10
 
11 11
     public function handle()
12 12
     {
Please login to merge, or discard this patch.
src/Commands/SeederCommand.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,13 +3,13 @@
 block discarded – undo
3 3
 
4 4
 class SeederCommand extends BaseCommand {
5 5
 
6
-	protected $signature = 'wn:seeder
6
+    protected $signature = 'wn:seeder
7 7
         {model : full qualified name of the model.}
8 8
         {--count=10 : number of elements to add in database.}
9 9
         {--force= : override the existing files}
10 10
     ';
11 11
 
12
-	protected $description = 'Generates a seeder';
12
+    protected $description = 'Generates a seeder';
13 13
 
14 14
     public function handle()
15 15
     {
Please login to merge, or discard this patch.
src/Commands/BaseCommand.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,10 +10,10 @@
 block discarded – undo
10 10
 class BaseCommand extends Command {
11 11
 
12 12
     protected $fs;
13
-	protected $templates;
13
+    protected $templates;
14 14
 
15
-	public function __construct(Filesystem $fs)
16
-	{
15
+    public function __construct(Filesystem $fs)
16
+    {
17 17
         parent::__construct();
18 18
 
19 19
         $this->fs = $fs;
Please login to merge, or discard this patch.
src/Commands/FactoryCommand.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 
4 4
 class FactoryCommand extends BaseCommand {
5 5
 
6
-	protected $signature = 'wn:factory
6
+    protected $signature = 'wn:factory
7 7
         {model : full qualified name of the model.}
8 8
         {--fields= : the fields to generate.}
9 9
         {--file= : the factories file.}
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
         {--force= : override the existing files}
12 12
     ';
13 13
 
14
-	protected $description = 'Generates a model factory';
14
+    protected $description = 'Generates a model factory';
15 15
 
16 16
     public function handle()
17 17
     {
Please login to merge, or discard this patch.
src/Commands/PivotSeederCommand.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,14 +3,14 @@
 block discarded – undo
3 3
 
4 4
 class PivotSeederCommand extends BaseCommand {
5 5
 
6
-	protected $signature = 'wn:pivot-seeder
6
+    protected $signature = 'wn:pivot-seeder
7 7
         {model1 : Name of the first model or table}
8 8
         {model2 : Name of the second model or table}
9 9
         {--count=10 : number of elements to add in database.}
10 10
         {--force= : override the existing files}
11 11
     ';
12 12
 
13
-	protected $description = 'Generates seeder for pivot table';
13
+    protected $description = 'Generates seeder for pivot table';
14 14
 
15 15
     public function handle()
16 16
     {
Please login to merge, or discard this patch.
src/Commands/PivotTableCommand.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 
4 4
 class PivotTableCommand extends BaseCommand {
5 5
 
6
-	protected $signature = 'wn:pivot-table
6
+    protected $signature = 'wn:pivot-table
7 7
         {model1 : Name of the first model or table}
8 8
         {model2 : Name of the second model or table}
9 9
         {--add= : specifies additional columns like timestamps, softDeletes, rememberToken and nullableTimestamps.}
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
         {--force= : override the existing files}
12 12
     ';
13 13
 
14
-	protected $description = 'Generates creation migration for a pivot table';
14
+    protected $description = 'Generates creation migration for a pivot table';
15 15
 
16 16
     protected $tables;
17 17
 
Please login to merge, or discard this patch.
lumen-test/tests/_support/AcceptanceTester.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     use _generated\AcceptanceTesterActions;
22 22
 
23
-   /**
24
-    * Define custom actions here
25
-    */
23
+    /**
24
+     * Define custom actions here
25
+     */
26 26
 }
Please login to merge, or discard this patch.
lumen-test/tests/_support/FunctionalTester.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     use _generated\FunctionalTesterActions;
22 22
 
23
-   /**
24
-    * Define custom actions here
25
-    */
23
+    /**
24
+     * Define custom actions here
25
+     */
26 26
 }
Please login to merge, or discard this patch.