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
Branch master (728916)
by Dave
01:29
created
src/Templates/Breadcrumbs.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
             $name = $params[0];
36 36
         }
37 37
 
38
-        if (! $this->exists($name)) {
38
+        if (!$this->exists($name)) {
39 39
             return '';
40 40
         }
41 41
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      */
62 62
     public function renderIfExistsArray($name, $params = [])
63 63
     {
64
-        if (! $this->exists($name)) {
64
+        if (!$this->exists($name)) {
65 65
             return '';
66 66
         }
67 67
 
Please login to merge, or discard this patch.
src/Console/Generator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@  discard block
 block discarded – undo
24 24
     {
25 25
         $aliases = $this->getValidAliases();
26 26
 
27
-        $aliases = $aliases->filter(function (Alias $item) {
28
-            return ! collect([
27
+        $aliases = $aliases->filter(function(Alias $item) {
28
+            return !collect([
29 29
                 'MessageStack',
30 30
                 'AdminSection',
31 31
                 'AdminTemplate',
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
             ])->search($item->getAlias());
41 41
         });
42 42
 
43
-        return $aliases->groupBy(function (Alias $alias) {
43
+        return $aliases->groupBy(function(Alias $alias) {
44 44
             return $alias->getExtendsNamespace();
45 45
         });
46 46
     }
Please login to merge, or discard this patch.
src/Console/Commands/InstallCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -31,11 +31,11 @@
 block discarded – undo
31 31
             Installation\CreateRoutesFile::class,
32 32
             Installation\CreateSectionServiceProvider::class,
33 33
             Installation\CreatePublicDirectory::class,
34
-        ])->map(function ($installer) {
34
+        ])->map(function($installer) {
35 35
             return new $installer($this, $this->config);
36
-        })->filter(function (Installator $installer) {
37
-            return $this->option('force') ? true : ! $installer->installed();
38
-        })->each(function (Installator $installer) {
36
+        })->filter(function(Installator $installer) {
37
+            return $this->option('force') ? true : !$installer->installed();
38
+        })->each(function(Installator $installer) {
39 39
             $installer->install();
40 40
             $installer->showInfo();
41 41
         });
Please login to merge, or discard this patch.
src/Providers/BreadcrumbsServiceProvider.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
      */
22 22
     public function register()
23 23
     {
24
-        $this->app->singleton('sleeping_owl.breadcrumbs', function () {
24
+        $this->app->singleton('sleeping_owl.breadcrumbs', function() {
25 25
             return $this->app->make(Breadcrumbs::class);
26 26
         });
27 27
     }
Please login to merge, or discard this patch.
src/Model/ModelConfigurationManager.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
 
116 116
         $this->repository = $app->make(RepositoryInterface::class);
117 117
         $this->repository->setClass($class);
118
-        if (! $this->alias) {
118
+        if (!$this->alias) {
119 119
             $this->setDefaultAlias();
120 120
         }
121 121
     }
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
      */
305 305
     public function can($action, Model $model)
306 306
     {
307
-        if (! $this->checkAccess) {
307
+        if (!$this->checkAccess) {
308 308
             return true;
309 309
         }
310 310
 
@@ -338,7 +338,7 @@  discard block
 block discarded – undo
338 338
     {
339 339
         $controller = $this->getControllerClass();
340 340
 
341
-        return ! is_null($controller) && class_exists($controller);
341
+        return !is_null($controller) && class_exists($controller);
342 342
     }
343 343
 
344 344
     /**
@@ -517,7 +517,7 @@  discard block
 block discarded – undo
517 517
         $page->setPriority($priority);
518 518
 
519 519
         if ($badge) {
520
-            if (! ($badge instanceof BadgeInterface)) {
520
+            if (!($badge instanceof BadgeInterface)) {
521 521
                 $badge = new Badge($badge);
522 522
             }
523 523
 
@@ -558,7 +558,7 @@  discard block
 block discarded – undo
558 558
      */
559 559
     public function fireEvent($event, $halt = true, Model $model = null, ...$payload)
560 560
     {
561
-        if (! isset(self::$dispatcher)) {
561
+        if (!isset(self::$dispatcher)) {
562 562
             return true;
563 563
         }
564 564
 
Please login to merge, or discard this patch.
src/Providers/SleepingOwlServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     private function createLocalViewFactory()
52 52
     {
53 53
         $resolver = new EngineResolver();
54
-        $resolver->register('php', function () {
54
+        $resolver->register('php', function() {
55 55
             return new PhpEngine();
56 56
         });
57 57
         $finder = new FileViewFinder($this->app['files'], [__DIR__.'/../../resources/views']);
@@ -64,8 +64,8 @@  discard block
 block discarded – undo
64 64
     protected function registerCommands()
65 65
     {
66 66
         if ($this->app->runningInConsole()) {
67
-            if (! class_exists('Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider') &&
68
-                ! $this->app->resolved('Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider')) {
67
+            if (!class_exists('Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider') &&
68
+                !$this->app->resolved('Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider')) {
69 69
                 $this->app->register('Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider');
70 70
             }
71 71
 
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
             $localViewFactory = $this->createLocalViewFactory();
82 82
             $this->app->singleton(
83 83
                 'command.sleepingowl.ide.generate',
84
-                function ($app) use ($localViewFactory) {
84
+                function($app) use ($localViewFactory) {
85 85
                     return new \SleepingOwl\Admin\Console\Commands\GeneratorCommand($app['config'], $app['files'], $localViewFactory);
86 86
                 }
87 87
             );
Please login to merge, or discard this patch.
src/Display/Extension/ColumnsTotal.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,8 +36,8 @@
 block discarded – undo
36 36
 
37 37
     public function set(array $elements, $columnsNumber = 0)
38 38
     {
39
-        array_map(function ($element) {
40
-            if (! is_object($element)) {
39
+        array_map(function($element) {
40
+            if (!is_object($element)) {
41 41
                 $element = Element::create($element);
42 42
             }
43 43
             $this->elements->push($element);
Please login to merge, or discard this patch.
src/Form/Element/Image.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,13 +37,13 @@
 block discarded – undo
37 37
      */
38 38
     public function customValidation(Validator $validator)
39 39
     {
40
-        $validator->after(function (Validator $validator) {
40
+        $validator->after(function(Validator $validator) {
41 41
             /** @var \Illuminate\Http\UploadedFile $file */
42 42
             $file = array_get($validator->attributes(), 'file');
43 43
 
44 44
             $size = getimagesize($file->getRealPath());
45 45
 
46
-            if (! $size && $file->getMimeType() !== 'image/svg+xml') {
46
+            if (!$size && $file->getMimeType() !== 'image/svg+xml') {
47 47
                 $validator->errors()->add('file', trans('sleeping_owl::validation.not_image'));
48 48
             }
49 49
         });
Please login to merge, or discard this patch.
src/Templates/Assets.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,11 +37,11 @@  discard block
 block discarded – undo
37 37
      */
38 38
     protected function sort($assets)
39 39
     {
40
-        $mainAssets = collect($assets)->filter(function (AssetElement $item) {
41
-            return ! array_filter($item->getDependency());
40
+        $mainAssets = collect($assets)->filter(function(AssetElement $item) {
41
+            return !array_filter($item->getDependency());
42 42
         });
43 43
 
44
-        $depAssets = collect($assets)->filter(function (AssetElement $item) {
44
+        $depAssets = collect($assets)->filter(function(AssetElement $item) {
45 45
             return array_filter($item->getDependency());
46 46
         });
47 47
 
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
         $hasNotDep = null;
70 70
 
71 71
         foreach ($dependency as $dep) {
72
-            if (! $mainAssets->has($dep)) {
72
+            if (!$mainAssets->has($dep)) {
73 73
                 $hasNotDep = $dep;
74 74
                 break;
75 75
             }
Please login to merge, or discard this patch.