Completed
Pull Request — master (#1)
by Timothy
05:16
created
src/Compliments/RandomComplimentCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
                 'f',
23 23
                 InputOption::VALUE_OPTIONAL,
24 24
                 'Source file',
25
-                realpath(dirname(dirname(__DIR__)) . '/compliments.txt')
25
+                realpath(dirname(dirname(__DIR__)).'/compliments.txt')
26 26
             )
27 27
             ->addOption('width', 'w', InputOption::VALUE_OPTIONAL, 'Console width', 80)
28 28
             ->addOption('delimiter', 'd', InputOption::VALUE_OPTIONAL, 'Console delimiter', '=');
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         $boundaryDelimiter = $input->getOption('delimiter');
44 44
         $boundary = str_repeat($boundaryDelimiter, $consoleWidth);
45 45
         
46
-        $output->writeln($boundary . PHP_EOL);
46
+        $output->writeln($boundary.PHP_EOL);
47 47
         $output->writeln(sprintf('By the way... %s', $compliment));
48 48
         $output->writeln($boundary);
49 49
     }
Please login to merge, or discard this patch.
tests/Compliments/RandomComplimentCommandTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 
47 47
         $input = new ArgvInput(array(
48 48
             __FILE__,
49
-            '--file=' . $dir->url(),
49
+            '--file='.$dir->url(),
50 50
         ));
51 51
         
52 52
         $actual = $this->sut->run($input, $this->output);
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 
68 68
         $input = new ArgvInput(array(
69 69
             __FILE__,
70
-            '--file=' . $file->url(),
70
+            '--file='.$file->url(),
71 71
         ));
72 72
         
73 73
         $actual = $this->sut->run($input, $this->output);
Please login to merge, or discard this patch.