Completed
Push — master ( b7faa8...c403ae )
by Petrică
02:58 queued 37s
created
Gauge/CpuAverageGauge.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Created by PhpStorm.
4
- * User: Petrica
5
- * Date: 3/22/2016
6
- * Time: 23:03
7
- */
3
+     * Created by PhpStorm.
4
+     * User: Petrica
5
+     * Date: 3/22/2016
6
+     * Time: 23:03
7
+     */
8 8
 namespace Petrica\StatsdSystem\Gauge;
9 9
 
10 10
 class CpuAverageGauge implements InterfaceGauge
Please login to merge, or discard this patch.
Command/NotifyCommand.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Created by PhpStorm.
4
- * User: Petrica
5
- * Date: 3/22/2016
6
- * Time: 22:45
7
- */
3
+     * Created by PhpStorm.
4
+     * User: Petrica
5
+     * Date: 3/22/2016
6
+     * Time: 22:45
7
+     */
8 8
 namespace Petrica\StatsdSystem\Command;
9 9
 
10 10
 use Domnikl\Statsd\Client;
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -83,9 +83,9 @@  discard block
 block discarded – undo
83 83
 
84 84
         $iterations = $input->getOption('iterations');
85 85
         $count = 0;
86
-        while($count < $iterations)
86
+        while ($count < $iterations)
87 87
         {
88
-            foreach($gauges as $gauge) {
88
+            foreach ($gauges as $gauge) {
89 89
                 // Sampling period attained for current gauge?
90 90
                 if (fmod($count, $gauge->getSamplingPeriod()) == 0) {
91 91
                     $value = $gauge->getValue();
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
             }
101 101
 
102 102
             sleep(1);
103
-            $count ++;
103
+            $count++;
104 104
         }
105 105
     }
106 106
 
Please login to merge, or discard this patch.
Gauge/GaugeInterface.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Created by PhpStorm.
4
- * User: Petrica
5
- * Date: 3/22/2016
6
- * Time: 23:01
7
- */
3
+     * Created by PhpStorm.
4
+     * User: Petrica
5
+     * Date: 3/22/2016
6
+     * Time: 23:01
7
+     */
8 8
 namespace Petrica\StatsdSystem\Gauge;
9 9
 
10 10
 interface InterfaceGauge
Please login to merge, or discard this patch.
Tests/Gauge/CpuAverageGaugeTest.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Created by PhpStorm.
4
- * User: Petrica
5
- * Date: 3/22/2016
6
- * Time: 23:26
7
- */
3
+     * Created by PhpStorm.
4
+     * User: Petrica
5
+     * Date: 3/22/2016
6
+     * Time: 23:26
7
+     */
8 8
 namespace Petrica\StatsdSystem\Tests\Gauge;
9 9
 
10 10
 use Petrica\StatsdSystem\Gauge\CpuAverageGauge;
Please login to merge, or discard this patch.
Gauge/MemoryTotalGauge.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Created by PhpStorm.
4
- * User: Petrica
5
- * Date: 3/24/2016
6
- * Time: 1:17
7
- */
3
+     * Created by PhpStorm.
4
+     * User: Petrica
5
+     * Date: 3/24/2016
6
+     * Time: 1:17
7
+     */
8 8
 namespace Petrica\StatsdSystem\Gauge;
9 9
 
10 10
 class MemoryFreeGauge extends AbstractMemoryGauge
Please login to merge, or discard this patch.
Gauge/MemoryUsedGauge.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Created by PhpStorm.
4
- * User: Petrica
5
- * Date: 3/24/2016
6
- * Time: 1:17
7
- */
3
+     * Created by PhpStorm.
4
+     * User: Petrica
5
+     * Date: 3/24/2016
6
+     * Time: 1:17
7
+     */
8 8
 namespace Petrica\StatsdSystem\Gauge;
9 9
 
10 10
 class MemoryFreeGauge extends AbstractMemoryGauge
Please login to merge, or discard this patch.
Gauge/AbstractMemoryGauge.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Created by PhpStorm.
4
- * User: Petrica
5
- * Date: 3/24/2016
6
- * Time: 1:17
7
- */
3
+     * Created by PhpStorm.
4
+     * User: Petrica
5
+     * Date: 3/24/2016
6
+     * Time: 1:17
7
+     */
8 8
 namespace Petrica\StatsdSystem\Gauge;
9 9
 
10 10
 class MemoryFreeGauge extends AbstractMemoryGauge
Please login to merge, or discard this patch.