Passed
Push — master ( 298e9b...ad6831 )
by Hannes
02:30
created
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-20 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/UpdateStateHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
  * Copyright 2016-20 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
 
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
                 implode(
51 51
                     "', '",
52 52
                     array_map(
53
-                        function (Transition $transition): string {
53
+                        function(Transition $transition): string {
54 54
                             return $transition->getName();
55 55
                         },
56 56
                         $this->workflow->getEnabledTransitions($donor)
Please login to merge, or discard this patch.
src/CommandBus/Helper/LoggingMiddleware.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-20 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\Helper;
24 24
 
Please login to merge, or discard this patch.
src/Sorter/SorterCollection.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-20 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Sorter;
24 24
 
Please login to merge, or discard this patch.
src/Console/EditPayerNumberConsole.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-20 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/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-20 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
 
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
             Helper\QuestionFactory::createQuestion($descs['id']),
121 121
             new Validator\ValidatorCollection(
122 122
                 new Validator\IdValidator,
123
-                new Validator\CallbackValidator(function (string $value) use (&$donorId) {
123
+                new Validator\CallbackValidator(function(string $value) use (&$donorId) {
124 124
                     $donorId = $this->idFactory->createId($value);
125 125
                 })
126 126
             )
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
             ),
143 143
             new Validator\ValidatorCollection(
144 144
                 new Validator\AccountValidator,
145
-                new Validator\CallbackValidator(function (string $value) use (&$account) {
145
+                new Validator\CallbackValidator(function(string $value) use (&$account) {
146 146
                     $account = $this->accountFactory->createAccount($value);
147 147
                 })
148 148
             )
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
         /** @var array<string> */
224 224
         $attrValues = $input->getOption('attr-value');
225 225
 
226
-        for ($count = 0;; $count++) {
226
+        for ($count = 0; ; $count++) {
227 227
             $attrKey = $inputReader->readInput(
228 228
                 '',
229 229
                 Helper\QuestionFactory::createQuestion('Add an attribute (empty to skip)', $attrKeys[$count] ?? ''),
Please login to merge, or discard this patch.
src/Console/Helper/DonorArgument.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
  * Copyright 2016-20 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\Helper;
24 24
 
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
             return $donor;
78 78
         }
79 79
 
80
-        $regexp = '/'. preg_quote($donorId, '/') . '/i';
80
+        $regexp = '/' . preg_quote($donorId, '/') . '/i';
81 81
 
82 82
         $matchedDonor = null;
83 83
 
Please login to merge, or discard this patch.
src/Console/Helper/QuestionFactory.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-20 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\Helper;
24 24
 
Please login to merge, or discard this patch.
src/Console/EditConsole.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
  * Copyright 2016-20 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
 
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
         /** @var array<string> */
189 189
         $attrValues = $input->getOption('attr-value');
190 190
 
191
-        for ($count = 0;; $count++) {
191
+        for ($count = 0; ; $count++) {
192 192
             $attrKey = $inputReader->readInput(
193 193
                 '',
194 194
                 Helper\QuestionFactory::createQuestion('Add an attribute (empty to skip)', $attrKeys[$count] ?? ''),
Please login to merge, or discard this patch.