GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Pull Request — master (#11)
by
unknown
10:44
created
config/sami.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-$dir = __DIR__ . '/../src';
3
+$dir = __DIR__.'/../src';
4 4
 
5 5
 $iterator = Symfony\Component\Finder\Finder::create()
6 6
     ->files()
@@ -10,8 +10,8 @@  discard block
 block discarded – undo
10 10
 $options = [
11 11
     'theme'                => 'default',
12 12
     'title'                => 'Laravel Tactician API Documentation',
13
-    'build_dir'            => __DIR__ . '/../build/laravelTactician',
14
-    'cache_dir'            => __DIR__ . '/../cache/laravelTactician',
13
+    'build_dir'            => __DIR__.'/../build/laravelTactician',
14
+    'cache_dir'            => __DIR__.'/../cache/laravelTactician',
15 15
 ];
16 16
 
17 17
 $sami = new Sami\Sami($iterator, $options);
Please login to merge, or discard this patch.
src/Providers/LaravelTacticianServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 
31 31
         // Register Command Generator
32 32
         $this->app->singleton(
33
-            'laravel-tactician.make.command', function ($app) {
33
+            'laravel-tactician.make.command', function($app) {
34 34
                 return new MakeTacticianCommandCommand($app['files']);
35 35
             }
36 36
         );
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 
39 39
         // Register Handler Generator
40 40
         $this->app->singleton(
41
-            'laravel-tactician.make.handler', function ($app) {
41
+            'laravel-tactician.make.handler', function($app) {
42 42
                 return new MakeTacticianHandlerCommand($app['files']);
43 43
             }
44 44
         );
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 
47 47
         // Register Comman+Handler Generator Command
48 48
         $this->app->singleton(
49
-            'laravel-tactician.make.tactician', function () {
49
+            'laravel-tactician.make.tactician', function() {
50 50
                 return new MakeTacticianCommand();
51 51
             }
52 52
         );
Please login to merge, or discard this patch.
src/Middleware/DatabaseTransactions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     public function execute($command, callable $next)
22 22
     {
23 23
         $pipeline = null;
24
-        DB::transaction(function () use ($next, $command, &$pipeline) {
24
+        DB::transaction(function() use ($next, $command, &$pipeline) {
25 25
             $pipeline = $next($command);
26 26
         });
27 27
         return $pipeline;
Please login to merge, or discard this patch.
src/Bus.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -129,14 +129,14 @@  discard block
 block discarded – undo
129 129
         $class = new ReflectionClass($command);
130 130
         foreach ($class->getConstructor()->getParameters() as $parameter) {
131 131
             if ($parameter->getPosition() == 0 && $parameter->isArray()) {
132
-                if ($input !== []){
132
+                if ($input !== []) {
133 133
                     $dependencies[] = $input;
134 134
                 } else {
135 135
                     $dependencies[] = $this->getDefaultValueOrFail($parameter);
136 136
                 }
137 137
             } else {
138 138
                 $name = $parameter->getName();
139
-                if (array_key_exists($name, $input)){
139
+                if (array_key_exists($name, $input)) {
140 140
                     $dependencies[] = $input[$name];
141 141
                 } else {
142 142
                     $dependencies[] = $this->getDefaultValueOrFail($parameter);
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
      * @ReflectionParameter $parameter
154 154
      * @return mixed
155 155
      */
156
-    private function getDefaultValueOrFail($parameter){
156
+    private function getDefaultValueOrFail($parameter) {
157 157
         if (!$parameter->isDefaultValueAvailable())
158 158
             throw new InvalidArgumentException("Unable to map input to command: {$parameter->getName()}");
159 159
 
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -154,8 +154,9 @@
 block discarded – undo
154 154
      * @return mixed
155 155
      */
156 156
     private function getDefaultValueOrFail($parameter){
157
-        if (!$parameter->isDefaultValueAvailable())
158
-            throw new InvalidArgumentException("Unable to map input to command: {$parameter->getName()}");
157
+        if (!$parameter->isDefaultValueAvailable()) {
158
+                    throw new InvalidArgumentException("Unable to map input to command: {$parameter->getName()}");
159
+        }
159 160
 
160 161
         return $parameter->getDefaultValue();
161 162
     }
Please login to merge, or discard this patch.