Completed
Push — master ( 44e430...fa5669 )
by Raffael
11:31
created
src/lib/Bootstrap/ContainerBuilder.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace Balloon\Bootstrap;
13 13
 
14
-use Balloon\App;
15 14
 use Composer\Autoload\ClassLoader as Composer;
16 15
 use Micro\Container\Container;
17 16
 use Noodlehaus\Config;
Please login to merge, or discard this patch.
src/lib/Filesystem/Storage.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Balloon\Filesystem\Node\File;
15 15
 use Balloon\Filesystem\Node\NodeInterface;
16 16
 use Balloon\Filesystem\Storage\Adapter\AdapterInterface;
17
-use Balloon\Filesystem\Storage\Adapter\Gridfs;
18 17
 use Psr\Log\LoggerInterface;
19 18
 
20 19
 class Storage
Please login to merge, or discard this patch.
src/app/Balloon.App.Cli/Console/Group.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
 
76 76
         $this->logger->info('new group ['.$result.'] created', [
77 77
             'category' => get_class($this),
78
-       ]);
78
+        ]);
79 79
 
80 80
         return true;
81 81
     }
Please login to merge, or discard this patch.
src/lib/Migration/Delta/AddHashToHistory.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
                 'foreignField' => '_id',
50 50
                 'localField' => 'history.storage._id',
51 51
                 'as' => 'blob',
52
-           ]],
52
+            ]],
53 53
         ]);
54 54
 
55 55
         foreach ($cursor as $object) {
Please login to merge, or discard this patch.
src/app/Balloon.App.Notification/Adapter/Mail.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -113,10 +113,10 @@
 block discarded – undo
113 113
         $body->addPart($html);
114 114
 
115 115
         $mail = (new Message())
116
-          ->setSubject($message->getSubject($receiver))
117
-          ->setBody($body)
118
-          ->setTo($address)
119
-          ->setEncoding('UTF-8');
116
+            ->setSubject($message->getSubject($receiver))
117
+            ->setBody($body)
118
+            ->setTo($address)
119
+            ->setEncoding('UTF-8');
120 120
 
121 121
         if (null === $sender) {
122 122
             $mail->setFrom($this->sender_address, $this->sender_name);
Please login to merge, or discard this patch.
src/lib/Bootstrap/Cli.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      * Cli.
41 41
      *
42 42
      * @param LoggerInterface    $logger
43
-     * @param Getopt             $getopt
43
+     * @param GetOpt             $getopt
44 44
      * @param ContainerInterface $container
45 45
      */
46 46
     public function __construct(LoggerInterface $logger, GetOpt $getopt, ContainerInterface $container)
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@
 block discarded – undo
171 171
      */
172 172
     protected function setExceptionHandler(): self
173 173
     {
174
-        set_exception_handler(function ($e) {
174
+        set_exception_handler(function($e) {
175 175
             $this->logger->emergency('uncaught exception: '.$e->getMessage(), [
176 176
                 'category' => get_class($this),
177 177
                 'exception' => $e,
Please login to merge, or discard this patch.
src/lib/Server/AttributeDecorator.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -102,13 +102,13 @@  discard block
 block discarded – undo
102 102
         }
103 103
 
104 104
         return [
105
-            'created' => function ($role) use ($attributes) {
105
+            'created' => function($role) use ($attributes) {
106 106
                 return $attributes['created']->toDateTime()->format('c');
107 107
             },
108
-            'changed' => function ($role) use ($attributes) {
108
+            'changed' => function($role) use ($attributes) {
109 109
                 return $attributes['changed']->toDateTime()->format('c');
110 110
             },
111
-            'deleted' => function ($role) use ($attributes) {
111
+            'deleted' => function($role) use ($attributes) {
112 112
                 if (false === $attributes['deleted']) {
113 113
                     return null;
114 114
                 }
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
             'namespace' => (string) $attributes['namespace'],
163 163
             'mail' => (string) $attributes['mail'],
164 164
             'locale' => (string) $attributes['locale'],
165
-            'quota' => function ($role) use ($attributes, $user) {
165
+            'quota' => function($role) use ($attributes, $user) {
166 166
                 if ($attributes['_id'] == $user->getId() || $user->isAdmin()) {
167 167
                     return $role->getQuotaUsage();
168 168
                 }
Please login to merge, or discard this patch.
src/lib/Bootstrap/Http.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 
86 86
         if ($this->auth->requireOne()) {
87 87
             if (!($this->auth->getIdentity()->getAdapter() instanceof AuthNone)) {
88
-                $this->auth->getIdentity()->getAttributeMap()->addMapper('binary', function ($value) {
88
+                $this->auth->getIdentity()->getAttributeMap()->addMapper('binary', function($value) {
89 89
                     return new Binary($value, Binary::TYPE_GENERIC);
90 90
                 });
91 91
 
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
      */
139 139
     protected function setExceptionHandler(): self
140 140
     {
141
-        set_exception_handler(function ($e) {
141
+        set_exception_handler(function($e) {
142 142
             $this->logger->emergency('uncaught exception: '.$e->getMessage(), [
143 143
                 'category' => get_class($this),
144 144
                 'exception' => $e,
Please login to merge, or discard this patch.
src/lib/Bootstrap/AbstractBootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     protected function setErrorHandler(): self
44 44
     {
45
-        set_error_handler(function ($severity, $message, $file, $line) {
45
+        set_error_handler(function($severity, $message, $file, $line) {
46 46
             $log = $message.' in '.$file.':'.$line;
47 47
 
48 48
             switch ($severity) {
Please login to merge, or discard this patch.