Completed
Pull Request — master (#182)
by
unknown
13:54 queued 11:41
created
src/Filesystem/FilesystemFactory.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\Filesystem;
24 24
 
Please login to merge, or discard this patch.
src/Filesystem/NullFilesystem.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\Filesystem;
24 24
 
Please login to merge, or discard this patch.
src/Config/ConfigManager.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\Config;
24 24
 
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 
46 46
     public function getConfig(string $name): ConfigInterface
47 47
     {
48
-        return new LazyConfig(function () use ($name) {
48
+        return new LazyConfig(function() use ($name) {
49 49
             if (!isset($this->configs[$name])) {
50 50
                 throw new InvalidConfigException("Configuration for '$name' missing.");
51 51
             }
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
 
59 59
             $value = preg_replace_callback(
60 60
                 '/%([^%]+)%/',
61
-                function ($matches) {
61
+                function($matches) {
62 62
                     return $this->getConfigValue($matches[1]);
63 63
                 },
64 64
                 $value
Please login to merge, or discard this patch.
src/Config/BaseDirReader.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\Config;
24 24
 
Please login to merge, or discard this patch.
src/DependencyInjection/AccountFactoryProperty.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\DependencyInjection;
24 24
 
Please login to merge, or discard this patch.
src/DependencyInjection/IdFactoryProperty.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\DependencyInjection;
24 24
 
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-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\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.
src/Console/AddCommand.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
 
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
             Helper\QuestionFactory::createQuestion($descs['id']),
123 123
             new Validator\ValidatorCollection(
124 124
                 new Validator\IdValidator,
125
-                new Validator\CallbackValidator(function (string $value) use (&$id) {
125
+                new Validator\CallbackValidator(function(string $value) use (&$id) {
126 126
                     $id = $this->idFactory->createId($value);
127 127
                 })
128 128
             )
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
             ),
149 149
             new Validator\ValidatorCollection(
150 150
                 new Validator\AccountValidator,
151
-                new Validator\CallbackValidator(function (string $value) use (&$account) {
151
+                new Validator\CallbackValidator(function(string $value) use (&$account) {
152 152
                     $account = $this->accountFactory->createAccount($value);
153 153
                 })
154 154
             )
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
         /** @var array */
241 241
         $attrValues = $input->getOption('attr-value');
242 242
 
243
-        for ($count = 0;; $count++) {
243
+        for ($count = 0; ; $count++) {
244 244
             $attrKey = $inputReader->readInput(
245 245
                 '',
246 246
                 Helper\QuestionFactory::createQuestion('Add an attribute (empty to skip)', $attrKeys[$count] ?? ''),
Please login to merge, or discard this patch.
src/Validator/AccountValidator.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-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\Validator;
24 24
 
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     {
33 33
         return (new Rule)
34 34
             ->msg('must be a valid account number')
35
-            ->match(function (string $val) {
35
+            ->match(function(string $val) {
36 36
                 return preg_match('/^[0-9., -]+$/', $val);
37 37
             });
38 38
     }
Please login to merge, or discard this patch.