Passed
Branch master (98e19a)
by Petrică
02:49 queued 10s
created
Command/NotifyCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -88,9 +88,9 @@  discard block
 block discarded – undo
88 88
 
89 89
         $iterations = $input->getOption('iterations');
90 90
         $count = 0;
91
-        while($count < $iterations)
91
+        while ($count < $iterations)
92 92
         {
93
-            foreach($gauges as $path => $gauge) {
93
+            foreach ($gauges as $path => $gauge) {
94 94
                 // Sampling period attained for current gauge?
95 95
                 if (fmod($count, $gauge->getSamplingPeriod()) == 0) {
96 96
                     $value = $gauge->getValue();
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
             }
106 106
 
107 107
             sleep(1);
108
-            $count ++;
108
+            $count++;
109 109
         }
110 110
     }
111 111
 
Please login to merge, or discard this patch.
Tests/Command/NotifyCommandTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -124,9 +124,9 @@
 block discarded – undo
124 124
         $input = $this->getInputInterface();
125 125
 
126 126
         $map = array(
127
-            [ 'statsd-host', 'localhost' ],
128
-            [ 'statsd-port', '8125' ],
129
-            [ 'statsd-namespace', 'test' ]
127
+            ['statsd-host', 'localhost'],
128
+            ['statsd-port', '8125'],
129
+            ['statsd-namespace', 'test']
130 130
         );
131 131
 
132 132
         $input->expects($this->atLeastOnce())
Please login to merge, or discard this patch.