Failed Conditions
Push — 0.2 ( fc80e7...ae313c )
by Rafael
13:16 queued 05:41
created
src/Providers/CliDispatcherProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
         $container->setShared(
21 21
             'dispatcher',
22
-            function () use ($config) {
22
+            function() use ($config) {
23 23
                 $dispatcher = new Dispatcher();
24 24
                 $dispatcher->setDefaultNamespace(ucfirst($config->app->namespaceName) . '\Cli\Tasks');
25 25
 
Please login to merge, or discard this patch.
src/Providers/RedisProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,10 +16,10 @@
 block discarded – undo
16 16
     {
17 17
         $container->setShared(
18 18
             'redis',
19
-            function () {
19
+            function() {
20 20
                 //Connect to redis
21 21
                 $redis = new Redis();
22
-                $redis->connect(envValue('REDIS_HOST', '127.0.0.1'), (int) envValue('REDIS_PORT', 6379));
22
+                $redis->connect(envValue('REDIS_HOST', '127.0.0.1'), (int)envValue('REDIS_PORT', 6379));
23 23
                 $redis->setOption(Redis::OPT_SERIALIZER, Redis::SERIALIZER_PHP);
24 24
                 return $redis;
25 25
             }
Please login to merge, or discard this patch.
src/Providers/AppProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 
18 18
         $container->setShared(
19 19
             'app',
20
-            function () use ($config) {
20
+            function() use ($config) {
21 21
                 return Apps::findFirst($config->app->id);
22 22
             }
23 23
         );
Please login to merge, or discard this patch.
src/Providers/ElasticProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 
18 18
         $container->setShared(
19 19
             'elastic',
20
-            function () use ($config) {
20
+            function() use ($config) {
21 21
                 $hosts = $config->elasticSearch->hosts->toArray();
22 22
 
23 23
                 $client = ClientBuilder::create()
Please login to merge, or discard this patch.
src/Providers/MailProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 
18 18
         $container->setShared(
19 19
             'mail',
20
-            function () use ($config) {
20
+            function() use ($config) {
21 21
                 $mailer = new BakaMail($config->email->toArray());
22 22
                 return $mailer->createMessage();
23 23
             }
Please login to merge, or discard this patch.
src/Providers/CacheDataProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     {
18 18
         $container->setShared(
19 19
             'cache',
20
-            function () {
20
+            function() {
21 21
                 $prefix = 'data';
22 22
                 $frontAdapter = Data::class;
23 23
                 $frontOptions = [
Please login to merge, or discard this patch.
src/Providers/PusherProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 
18 18
         $container->setShared(
19 19
             'pusher',
20
-            function () use ($config) {
20
+            function() use ($config) {
21 21
                 return new Pusher($config->pusher->key, $config->pusher->secret, $config->pusher->id, ['cluster' => $config->pusher->cluster, 'useTLS' => true]);
22 22
             }
23 23
         );
Please login to merge, or discard this patch.
src/Providers/FileSystemProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 
21 21
         $container->set(
22 22
             'filesystem',
23
-            function ($filesystem = null) use ($config, $container) {
23
+            function($filesystem = null) use ($config, $container) {
24 24
                 //we ened to call it internally to avoid the test failing WTF
25 25
                 $app = $container->getShared('app');
26 26
 
Please login to merge, or discard this patch.
src/Providers/EventManagerProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,10 +19,10 @@
 block discarded – undo
19 19
 
20 20
         $container->setShared(
21 21
             'manager',
22
-            function () use ($config) {
22
+            function() use ($config) {
23 23
                 $manager = new Manager();
24 24
 
25
-                $handlers =  $this->providers = require appPath('api/config/handlers.php');
25
+                $handlers = $this->providers = require appPath('api/config/handlers.php');
26 26
 
27 27
                 //Pass Handlers as array
28 28
                 $manager->setHandlers($handlers);
Please login to merge, or discard this patch.