Completed
Push — master ( c091a3...52a46f )
by Petrică
02:24
created
Config/ConfigLoader.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/26/2016
6
- * Time: 1:23
7
- */
3
+     * Created by PhpStorm.
4
+     * User: Petrica
5
+     * Date: 3/26/2016
6
+     * Time: 1:23
7
+     */
8 8
 namespace Petrica\StatsdSystem\Config;
9 9
 
10 10
 use Petrica\StatsdSystem\Config\Definition\ConfigDefinition;
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,8 +57,7 @@
 block discarded – undo
57 57
             }
58 58
 
59 59
             return $processedConfiguration;
60
-        }
61
-        else {
60
+        } else {
62 61
             throw new \RuntimeException(sprintf('Configuration file does not exist or is not accessible %s',
63 62
                 $this->filepath));
64 63
         }
Please login to merge, or discard this patch.
Config/Definition/ConfigDefinition.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/26/2016
6
- * Time: 1:25
7
- */
3
+     * Created by PhpStorm.
4
+     * User: Petrica
5
+     * Date: 3/26/2016
6
+     * Time: 1:25
7
+     */
8 8
 namespace Petrica\StatsdSystem\Config\Definition;
9 9
 
10 10
 use Symfony\Component\Config\Definition\Builder\TreeBuilder;
Please login to merge, or discard this patch.
Command/NotifyCommand.php 2 patches
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.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -150,12 +150,10 @@
 block discarded – undo
150 150
                     if ($reflection->getConstructor()) {
151 151
                         $this->gauges[$path] = $reflection->newInstanceArgs(
152 152
                             $details['arguments'] ? $details['arguments'] : array());
153
-                    }
154
-                    else {
153
+                    } else {
155 154
                         $this->gauges[$path] = $reflection->newInstance();
156 155
                     }
157
-                }
158
-                else {
156
+                } else {
159 157
                     throw new \RuntimeException(sprintf(
160 158
                         'Class does not exists %s'
161 159
                     ), $className);
Please login to merge, or discard this patch.