Passed
Push — master ( 017b89...6bcf74 )
by Fabian
18:54 queued 03:47
created
autoload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  * Implementation based on https://www.php-fig.org/psr/psr-4/examples/
7 7
  */
8 8
 
9
-spl_autoload_register(function ($class) {
9
+spl_autoload_register(function($class) {
10 10
 
11 11
     $prefix = 'IntegerNet\\DeployerTimer\\';
12 12
     $base_dir = __DIR__ . '/src/';
Please login to merge, or discard this patch.
src/ResultTaskFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     public function createCsvResultTask($fileName): string
27 27
     {
28 28
         $taskName = uniqid('timer_result-', true);
29
-        $taskBody = function () use ($fileName) {
29
+        $taskBody = function() use ($fileName) {
30 30
             file_put_contents($fileName, $this->timer->resultsAsCsv());
31 31
         };
32 32
         $this->deployer->tasks->set($taskName, new Task($taskName, $taskBody));
Please login to merge, or discard this patch.
src/TimerTaskDecorator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
     public function callbackBefore(string $taskName): callable
35 35
     {
36
-        return function () use ($taskName) {
36
+        return function() use ($taskName) {
37 37
             \array_push($this->startTimeStack, $this->clock->microtime());
38 38
             $this->events->append(new TimerEvent(TimerEvent::TYPE_BEGIN, $taskName, $this->clock->microtime(), 0));
39 39
         };
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 
42 42
     public function callbackAfter(string $taskName): callable
43 43
     {
44
-        return function () use ($taskName) {
44
+        return function() use ($taskName) {
45 45
             $startTime = \array_pop($this->startTimeStack);
46 46
             $duration = $this->clock->microtime() - $startTime;
47 47
             $this->events->append(
Please login to merge, or discard this patch.