Test Setup Failed
Branch main (c793c9)
by ikechukwu
14:06
created
src/Console/Commands/MakeServiceCommand.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -52,12 +52,12 @@  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
             '\\',
59 59
         ])) {
60
-            $request = $this->laravel->getNamespace().'Http\\Requests\\'.str_replace('/', '\\', $request);
60
+            $request = $this->laravel->getNamespace() . 'Http\\Requests\\' . str_replace('/', '\\', $request);
61 61
         }
62 62
 
63 63
         $stub = str_replace(
@@ -89,10 +89,10 @@  discard block
 block discarded – undo
89 89
     protected function getStub()
90 90
     {
91 91
         if ($this->option('request')) {
92
-            return __DIR__.'/stubs/service.stub';
92
+            return __DIR__ . '/stubs/service.stub';
93 93
         }
94 94
 
95
-        return __DIR__.'/stubs/service-duck.stub';
95
+        return __DIR__ . '/stubs/service-duck.stub';
96 96
     }
97 97
 
98 98
     /**
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
     {
106 106
         return file_exists($customPath = $this->laravel->basePath(trim($stub, '/')))
107 107
                         ? $customPath
108
-                        : __DIR__.$stub;
108
+                        : __DIR__ . $stub;
109 109
     }
110 110
 
111 111
     /**
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      */
117 117
     protected function getDefaultNamespace($rootNamespace)
118 118
     {
119
-        return $rootNamespace.'\Services';
119
+        return $rootNamespace . '\Services';
120 120
     }
121 121
 
122 122
     /**
Please login to merge, or discard this patch.
Tests/TestCase.php 1 patch
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.