Passed
Push — master ( 4ede87...31c123 )
by Hannes
02:17
created
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-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\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/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/InputReader.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
 
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
         $value = (string)$this->questionHelper->ask(
71 71
             $this->input,
72 72
             $this->output,
73
-            $question->setValidator(function ($answer) use ($key, $validator) {
73
+            $question->setValidator(function($answer) use ($key, $validator) {
74 74
                 return $validator->validate($key, (string)$answer);
75 75
             })
76 76
         );
Please login to merge, or discard this patch.