Passed
Push — master ( a85aeb...922d24 )
by Vladimir
08:38
created
src/Toolbelt/Commands/ListDrivers.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace FondBot\Toolbelt\Commands;
6 6
 
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
         $items = json_decode((string) $response->getBody(), true);
26 26
 
27 27
         $drivers = collect($items)
28
-            ->map(function ($item) {
28
+            ->map(function($item) {
29 29
                 return [$item['name'], $item['package'], $item['official'] ? '✅' : '❌'];
30 30
             })
31 31
             ->toArray();
Please login to merge, or discard this patch.
src/Application/RouteServiceProvider.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
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace FondBot\Application;
6 6
 
@@ -40,13 +40,13 @@  discard block
 block discarded – undo
40 40
      */
41 41
     public function register(): void
42 42
     {
43
-        $this->container->share('request', function () {
43
+        $this->container->share('request', function() {
44 44
             return ServerRequestFactory::fromGlobals($_SERVER, $_GET, $_POST, $_COOKIE, $_FILES);
45 45
         });
46 46
         $this->container->share('response', Response::class);
47 47
         $this->container->share('emitter', SapiEmitter::class);
48 48
 
49
-        $this->container->share('router', function () {
49
+        $this->container->share('router', function() {
50 50
             $router = new RouteCollection($this->container);
51 51
 
52 52
             $this->routes($router);
Please login to merge, or discard this patch.
src/Application/Kernel.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace FondBot\Application;
6 6
 
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      *
44 44
      * @return Channel|null
45 45
      */
46
-    public function getChannel(): ?Channel
46
+    public function getChannel(): ? Channel
47 47
     {
48 48
         return $this->channel;
49 49
     }
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      *
64 64
      * @return AbstractDriver|null
65 65
      */
66
-    public function getDriver(): ?AbstractDriver
66
+    public function getDriver(): ? AbstractDriver
67 67
     {
68 68
         return $this->driver;
69 69
     }
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      *
84 84
      * @return Session|null
85 85
      */
86
-    public function getSession(): ?Session
86
+    public function getSession(): ? Session
87 87
     {
88 88
         return $this->session;
89 89
     }
Please login to merge, or discard this patch.
src/Drivers/AbstractDriver.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace FondBot\Drivers;
6 6
 
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      *
49 49
      * @return TemplateCompiler|null
50 50
      */
51
-    abstract public function getTemplateCompiler(): ?TemplateCompiler;
51
+    abstract public function getTemplateCompiler(): ? TemplateCompiler;
52 52
 
53 53
     /**
54 54
      * Get command handler instance.
Please login to merge, or discard this patch.
src/Contracts/Driver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace FondBot\Contracts;
6 6
 
Please login to merge, or discard this patch.