Completed
Push — master ( 1fad07...9ffd04 )
by Vladimir
08:28
created
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
 
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      */
36 36
     public function register(): void
37 37
     {
38
-        $this->getContainer()->share('request', function () {
38
+        $this->getContainer()->share('request', function() {
39 39
             return ServerRequestFactory::fromGlobals(
40 40
                 $_SERVER,
41 41
                 $_GET,
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
         $this->getContainer()->share('response', Response::class);
48 48
         $this->getContainer()->share('emitter', SapiEmitter::class);
49 49
 
50
-        $this->getContainer()->share('router', function () {
50
+        $this->getContainer()->share('router', function() {
51 51
             $router = new RouteCollection($this->getContainer());
52 52
 
53 53
             $controller = new Controller($this->getContainer()->get(Kernel::class));
Please login to merge, or discard this patch.
src/Application/LogServiceProvider.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
 
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      */
33 33
     public function boot(): void
34 34
     {
35
-        $this->getContainer()->share(LoggerInterface::class, function () {
35
+        $this->getContainer()->share(LoggerInterface::class, function() {
36 36
             $logger = new Logger('FondBot');
37 37
             $logger->pushHandler(new StreamHandler(
38 38
                 $this->getContainer()->get('resources_path').'/logs/app.log'
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 
44 44
         $whoops = new Run;
45 45
         $whoops->pushHandler(new PrettyPageHandler);
46
-        $whoops->pushHandler(function (Throwable $exception) {
46
+        $whoops->pushHandler(function(Throwable $exception) {
47 47
             /** @var LoggerInterface $logger */
48 48
             $logger = $this->getContainer()->get(LoggerInterface::class);
49 49
 
Please login to merge, or discard this patch.
src/Http/InteractsWithRequest.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\Http;
6 6
 
Please login to merge, or discard this patch.
src/Toolbelt/Commands/MakeIntent.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\Toolbelt\Commands;
6 6
 
Please login to merge, or discard this patch.
src/Toolbelt/Kernel.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\Toolbelt;
6 6
 
Please login to merge, or discard this patch.
src/Toolbelt/Commands/MakeInteraction.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\Toolbelt\Commands;
6 6
 
Please login to merge, or discard this patch.
src/Toolbelt/Factory.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\Toolbelt;
6 6
 
Please login to merge, or discard this patch.
src/Toolbelt/Command.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\Toolbelt;
6 6
 
Please login to merge, or discard this patch.
src/helpers.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
 if (!function_exists('env')) {
6 6
     /**
Please login to merge, or discard this patch.