Completed
Push — master ( f5244f...96e614 )
by Vladimir
02:50
created
src/Cache/Adapters/FilesystemAdapter.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\Adapters;
6 6
 
Please login to merge, or discard this patch.
src/Cache/Adapter.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.
src/Toolbelt/Commands/Log.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
 
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
         $path = $this->kernel->resolve('application_log');
30 30
         $command = 'tail -f -n 1000 '.escapeshellarg($path);
31 31
 
32
-        (new Process($command))->setTimeout(null)->run(function ($type, $line) {
32
+        (new Process($command))->setTimeout(null)->run(function($type, $line) {
33 33
             $this->line($line);
34 34
         });
35 35
     }
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
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 
38 38
         $this->container->share('application_log', $path);
39 39
 
40
-        $this->getContainer()->share(LoggerInterface::class, function () use ($path) {
40
+        $this->getContainer()->share(LoggerInterface::class, function() use ($path) {
41 41
             $logger = new Logger('FondBot');
42 42
             $logger->pushHandler(new StreamHandler($path));
43 43
 
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 
47 47
         $whoops = new Run;
48 48
         $whoops->pushHandler(new PrettyPageHandler);
49
-        $whoops->pushHandler(function (Throwable $exception) {
49
+        $whoops->pushHandler(function(Throwable $exception) {
50 50
             /** @var LoggerInterface $logger */
51 51
             $logger = $this->getContainer()->get(LoggerInterface::class);
52 52
 
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/Cache/CacheServiceProvider.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.
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
 
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      */
36 36
     public function register(): void
37 37
     {
38
-        $this->getContainer()->share(IntentManager::class, function () {
38
+        $this->getContainer()->share(IntentManager::class, function() {
39 39
             $manager = new IntentManager();
40 40
 
41 41
             foreach ($this->intents() as $intent) {
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
 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      */
31 31
     public function register(): void
32 32
     {
33
-        $this->getContainer()->share(ChannelManager::class, function () {
33
+        $this->getContainer()->share(ChannelManager::class, function() {
34 34
             $manager = new ChannelManager;
35 35
 
36 36
             foreach ($this->channels() as $name => $parameters) {
Please login to merge, or discard this patch.
src/Application/AppServiceProvider.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\Application;
6 6
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         $dotenv = new Dotenv($this->basePath());
50 50
         $dotenv->load();
51 51
 
52
-        $this->getContainer()->share(Config::class, function () {
52
+        $this->getContainer()->share(Config::class, function() {
53 53
             return new Config($_ENV);
54 54
         });
55 55
     }
Please login to merge, or discard this patch.