Passed
Branch 1.0 (690a53)
by Vladimir
07:08
created
src/Conversation/IntentServiceProvider.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\Conversation;
6 6
 
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
      */
23 23
     public function register(): void
24 24
     {
25
-        $this->getContainer()->share(IntentManager::class, function () {
25
+        $this->getContainer()->share(IntentManager::class, function() {
26 26
             /** @var Config $config */
27 27
             $config = $this->getContainer()->get(Config::class);
28 28
 
Please login to merge, or discard this patch.
src/Conversation/ContextServiceProvider.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\Conversation;
6 6
 
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
      */
23 23
     public function register(): void
24 24
     {
25
-        $this->getContainer()->share(ContextManager::class, function () {
25
+        $this->getContainer()->share(ContextManager::class, function() {
26 26
             return new ContextManager(
27 27
                 $this->getContainer(),
28 28
                 $this->getContainer()->get(Cache::class)
Please login to merge, or discard this patch.
src/Drivers/DriverServiceProvider.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
 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      */
31 31
     public function register(): void
32 32
     {
33
-        $this->getContainer()->share(DriverManager::class, function () {
33
+        $this->getContainer()->share(DriverManager::class, function() {
34 34
             $manager = new DriverManager($this->getContainer());
35 35
 
36 36
             // Here we will discover all drivers installed
Please login to merge, or discard this patch.
src/Drivers/DriverManager.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
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
         $parameters = Arr::get($this->parameters, $channel->getDriver(), []);
85 85
 
86 86
         collect($parameters)
87
-            ->each(function (string $parameter) use ($channel) {
87
+            ->each(function(string $parameter) use ($channel) {
88 88
                 if ($channel->getParameter($parameter) === null) {
89 89
                     throw new InvalidConfiguration('Invalid `'.$channel->getName().'` channel configuration.');
90 90
                 }
Please login to merge, or discard this patch.
src/Filesystem/FilesystemServiceProvider.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\Filesystem;
6 6
 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      */
31 31
     public function register(): void
32 32
     {
33
-        $this->getContainer()->share(Filesystem::class, function () {
33
+        $this->getContainer()->share(Filesystem::class, function() {
34 34
             return new Filesystem($this->adapter);
35 35
         });
36 36
     }
Please login to merge, or discard this patch.
src/Queue/SyncQueue.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\Queue;
6 6
 
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
 
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
         $whoops->pushHandler(new PrettyPageHandler);
42 42
         $whoops->register();
43 43
 
44
-        $this->getContainer()->share('request', function () {
44
+        $this->getContainer()->share('request', function() {
45 45
             return ServerRequestFactory::fromGlobals(
46 46
                 $_SERVER,
47 47
                 $_GET,
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
         $this->getContainer()->share('response', Response::class);
54 54
         $this->getContainer()->share('emitter', SapiEmitter::class);
55 55
 
56
-        $this->getContainer()->share('router', function () {
56
+        $this->getContainer()->share('router', function() {
57 57
             $router = new RouteCollection($this->getContainer());
58 58
 
59 59
             $controller = new Controller($this->getContainer()->get(Kernel::class));
Please login to merge, or discard this patch.
src/Channels/ChannelServiceProvider.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\Channels;
6 6
 
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
      */
23 23
     public function register(): void
24 24
     {
25
-        $this->getContainer()->share(ChannelManager::class, function () {
25
+        $this->getContainer()->share(ChannelManager::class, function() {
26 26
             /** @var Config $config */
27 27
             $config = $this->getContainer()->get(Config::class);
28 28
             /** @var array $channels */
Please login to merge, or discard this patch.
src/Cache/FilesystemCache.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\Cache;
6 6
 
Please login to merge, or discard this patch.