Completed
Push — master ( 23cd7e...7877b2 )
by Francesco
02:54
created
Command/KeyGeneratorCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
             $random = \bin2hex(random_bytes(20));
77 77
             $this->symfonyStyle->newLine();
78 78
             $question = new Question($this->getQuestion('Insert your authentication secret or use this one randomly generated', $random), $random);
79
-            $question->setValidator(function ($secret) {
79
+            $question->setValidator(function($secret) {
80 80
                 if (!ctype_print($secret)) {
81 81
                     throw new \RuntimeException(sprintf('The authentication secret is not printable', $secret));
82 82
                 }
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
                 $dh->start(spl_object_hash($process), "Find {$options['dir']}", 'START'),
207 207
             ));
208 208
 
209
-            $process->run(function ($type, $buffer) use ($process, $output, $dh) {
209
+            $process->run(function($type, $buffer) use ($process, $output, $dh) {
210 210
                 $output->writeln($dh->progress(spl_object_hash($process), $buffer, Process::ERR === $type));
211 211
             });
212 212
 
Please login to merge, or discard this patch.
DependencyInjection/Configuration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
                 ->info('Encoded key or path to .crypto file. If key is null, it generates a different random key for each request.')
42 42
                 ->beforeNormalization()
43 43
                     ->ifString()
44
-                    ->then(function ($v) {
44
+                    ->then(function($v) {
45 45
                         if (is_file($v) && is_readable($v)) {
46 46
                             return array('path' => $v);
47 47
                         }
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
                 ->end()
52 52
                 ->validate()
53 53
                 ->ifArray()
54
-                    ->then(function ($v) {
54
+                    ->then(function($v) {
55 55
                         $path = $v['path'];
56 56
                         $key = $v['key'];
57 57
 
Please login to merge, or discard this patch.
Tests/EncryptionWrapperTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     {
118 118
         $this->encryption->expects($this->once())
119 119
                          ->method('encryptFileWithKey')
120
-                         ->will($this->returnCallback(function ($input, $output) {
120
+                         ->will($this->returnCallback(function($input, $output) {
121 121
                              $fs = new Filesystem();
122 122
                              $fs->dumpFile($output, '');
123 123
                          }));
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     {
137 137
         $this->encryption->expects($this->once())
138 138
                          ->method('decryptFileWithKey')
139
-                         ->will($this->returnCallback(function ($input, $output) {
139
+                         ->will($this->returnCallback(function($input, $output) {
140 140
                              $fs = new Filesystem();
141 141
                              $fs->dumpFile($output, 'Plain text');
142 142
                          }));
Please login to merge, or discard this patch.