Passed
Push — main ( 78d562...d8765b )
by ikechukwu
14:14 queued 10:36
created
Tests/TestCase.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 {
10 10
     public function setUp(): void
11 11
     {
12
-      parent::setUp();
12
+        parent::setUp();
13 13
     }
14 14
 
15 15
     protected function defineDatabaseMigrations()
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,6 +19,6 @@
 block discarded – undo
19 19
 
20 20
     protected function getPackageProviders($app): array
21 21
     {
22
-        return [MakeServiceServiceProvider::class];
22
+        return [ MakeServiceServiceProvider::class ];
23 23
     }
24 24
 }
Please login to merge, or discard this patch.
src/Console/Commands/MakeServiceCommand.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
 use Symfony\Component\Console\Attribute\AsCommand;
8 8
 use Symfony\Component\Console\Input\InputOption;
9 9
 
10
-#[AsCommand(name: 'make:service')]
10
+#[AsCommand(name: 'make:service') ]
11 11
 class MakeServiceCommand extends GeneratorCommand
12 12
 {
13 13
     /**
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     {
53 53
         $request = $this->option('request');
54 54
 
55
-        if (! Str::startsWith($request, [
55
+        if (!Str::startsWith($request, [
56 56
             $this->laravel->getNamespace(),
57 57
             'Illuminate',
58 58
             '\\',
@@ -61,11 +61,11 @@  discard block
 block discarded – undo
61 61
         }
62 62
 
63 63
         $stub = str_replace(
64
-            ['DummyRequest', '{{ request }}'], class_basename($request), parent::buildClass($name)
64
+            [ 'DummyRequest', '{{ request }}' ], class_basename($request), parent::buildClass($name)
65 65
         );
66 66
 
67 67
         return str_replace(
68
-            ['DummyFullRequest', '{{ requestNamespace }}'], trim($request, '\\'), $stub
68
+            [ 'DummyFullRequest', '{{ requestNamespace }}' ], trim($request, '\\'), $stub
69 69
         );
70 70
     }
71 71
 
@@ -127,8 +127,8 @@  discard block
 block discarded – undo
127 127
     protected function getOptions()
128 128
     {
129 129
         return [
130
-            ['force', 'f', InputOption::VALUE_NONE, 'Create the class even if the service already exists'],
131
-            ['request', 'r', InputOption::VALUE_REQUIRED, 'Create a form request class for this service'],
130
+            [ 'force', 'f', InputOption::VALUE_NONE, 'Create the class even if the service already exists' ],
131
+            [ 'request', 'r', InputOption::VALUE_REQUIRED, 'Create a form request class for this service' ],
132 132
         ];
133 133
     }
134 134
 }
Please login to merge, or discard this patch.