@@ -18,7 +18,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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] ?? ''), |
@@ -18,7 +18,7 @@ |
||
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 |
@@ -18,7 +18,7 @@ discard block |
||
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 |
||
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; |
@@ -18,7 +18,7 @@ |
||
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 |
@@ -18,7 +18,7 @@ |
||
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 |
@@ -18,7 +18,7 @@ |
||
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 |
@@ -18,7 +18,7 @@ |
||
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 |
@@ -18,7 +18,7 @@ |
||
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 |
@@ -18,7 +18,7 @@ |
||
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 |