Passed
Push — master ( 6c3849...8a2f40 )
by Hannes
02:09
created
src/Console/AddConsole.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
  * Copyright 2016-19 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Console;
24 24
 
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
             Helper\QuestionFactory::createQuestion($descs['id']),
113 113
             new Validator\ValidatorCollection(
114 114
                 new Validator\IdValidator,
115
-                new Validator\CallbackValidator(function (string $value) use (&$donorId) {
115
+                new Validator\CallbackValidator(function(string $value) use (&$donorId) {
116 116
                     $donorId = $this->idFactory->createId($value);
117 117
                 })
118 118
             )
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
             ),
135 135
             new Validator\ValidatorCollection(
136 136
                 new Validator\AccountValidator,
137
-                new Validator\CallbackValidator(function (string $value) use (&$account) {
137
+                new Validator\CallbackValidator(function(string $value) use (&$account) {
138 138
                     $account = $this->accountFactory->createAccount($value);
139 139
                 })
140 140
             )
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
         /** @var array */
215 215
         $attrValues = $input->getOption('attr-value');
216 216
 
217
-        for ($count = 0;; $count++) {
217
+        for ($count = 0; ; $count++) {
218 218
             $attrKey = $inputReader->readInput(
219 219
                 '',
220 220
                 Helper\QuestionFactory::createQuestion('Add an attribute (empty to skip)', $attrKeys[$count] ?? ''),
Please login to merge, or discard this patch.
src/Console/EditStateConsole.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * Copyright 2016-19 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Console;
24 24
 
Please login to merge, or discard this patch.
src/Plugin/ApiVersion.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
  * Copyright 2016-19 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Plugin;
24 24
 
@@ -46,12 +46,12 @@  discard block
 block discarded – undo
46 46
 
47 47
     private function parseVersion(string $version): string
48 48
     {
49
-        if ('$'.'app_version'.'$' == $version) {
49
+        if ('$' . 'app_version' . '$' == $version) {
50 50
             return 'dev-master';
51 51
         }
52 52
 
53 53
         if (preg_match('/^([\d.]+)(-[a-zA-Z0-9]+)(@.+)?/', $version, $matches)) {
54
-            return isset($matches[3]) ? $matches[1] . '-dev' :  $matches[1] . $matches[2];
54
+            return isset($matches[3]) ? $matches[1] . '-dev' : $matches[1] . $matches[2];
55 55
         }
56 56
 
57 57
         return $version;
Please login to merge, or discard this patch.
src/Event/ExecutionStopped.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * Copyright 2016-19 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Event;
24 24
 
Please login to merge, or discard this patch.
src/Event/ExecutionStarted.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * Copyright 2016-19 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Event;
24 24
 
Please login to merge, or discard this patch.
src/Event/AutogiroFileImported.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * Copyright 2016-19 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Event;
24 24
 
Please login to merge, or discard this patch.
src/Event/XmlFileImported.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * Copyright 2016-19 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Event;
24 24
 
Please login to merge, or discard this patch.
src/CommandBus/CommandBus.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * Copyright 2016-19 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\CommandBus;
24 24
 
Please login to merge, or discard this patch.
src/CommandBus/ImportAutogiroFileHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * Copyright 2016-19 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\CommandBus;
24 24
 
Please login to merge, or discard this patch.