Passed
Push — master ( 93e91b...83695f )
by Fabien
02:05
created
src/Command/RunCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
 
130 130
         if ([] === $config->getDirectoriesToScan()) {
131 131
             throw new InvalidArgumentException(
132
-                'Provide the directories you want to scan as arguments, ' .
132
+                'Provide the directories you want to scan as arguments, '.
133 133
                 'or configure them under "directoriesToScan" in your churn.yml file.'
134 134
             );
135 135
         }
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
 
158 158
         foreach ($config->getHooks() as $hook) {
159 159
             if (!$loader->attach($hook, $broker)) {
160
-                throw new InvalidArgumentException('Invalid hook: ' . $hook);
160
+                throw new InvalidArgumentException('Invalid hook: '.$hook);
161 161
             }
162 162
         }
163 163
     }
Please login to merge, or discard this patch.
src/Event/Broker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
                 continue;
50 50
             }
51 51
 
52
-            $this->subscribers[$eventClass][] = static function (Event $event) use ($subscriber, $method): void {
52
+            $this->subscribers[$eventClass][] = static function(Event $event) use ($subscriber, $method): void {
53 53
                 $subscriber->$method($event);
54 54
             };
55 55
         }
Please login to merge, or discard this patch.