Completed
Branch master (d857fc)
by diego
02:12
created
Category
src/Diego/Grepper/Command/CreateCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         }
46 46
         $iteration = 0;
47 47
 
48
-        $source->map(function ($buffer) use ($target, &$expression, $progress, &$iteration) {
48
+        $source->map(function($buffer) use ($target, &$expression, $progress, &$iteration) {
49 49
             if ($progress instanceof ProgressBar && $iteration % 100 == 0) {
50 50
                 $progress->advance(100);
51 51
             }
Please login to merge, or discard this patch.
src/Diego/Grepper/Command/CountCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         $expression = $input->getArgument('expression');
33 33
         $count = 0;
34 34
         $source = new File($input->getArgument('input'));
35
-        $source->map(function ($buffer) use (&$count, &$expression) {
35
+        $source->map(function($buffer) use (&$count, &$expression) {
36 36
             $match = preg_match($expression, $buffer);
37 37
             if ($match) {
38 38
                 $count++;
Please login to merge, or discard this patch.