Completed
Push — 57-formatter-per-extension ( 73b3c8 )
by Nicolas
40:17 queued 36:16
created
src/Karma/Command/Rollback.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     }
45 45
     
46 46
     private function processInputs(InputInterface $input)
47
-    {        
47
+    {
48 48
         $sourcePath = $input->getArgument('sourcePath');
49 49
         if($sourcePath === null)
50 50
         {
Please login to merge, or discard this patch.
src/Karma/Configuration/Reader.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
         $this->variables = $variables;
23 23
         
24 24
         $this->externalReader = null;
25
-        if(! empty($externalVariables))
25
+        if( ! empty($externalVariables))
26 26
         {
27 27
             $this->externalReader = new Reader($externalVariables, array());
28 28
         }
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     
41 41
     private function readVariable($variable, $environment)
42 42
     {
43
-        if(! array_key_exists($variable, $this->variables))
43
+        if( ! array_key_exists($variable, $this->variables))
44 44
         {
45 45
             throw new \RuntimeException(sprintf(
46 46
                 'Unknown variable %s',
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     
75 75
     private function processExternal($variable, $environment)
76 76
     {
77
-        if(! $this->externalReader instanceof Reader)
77
+        if( ! $this->externalReader instanceof Reader)
78 78
         {
79 79
             throw new \RuntimeException(sprintf(
80 80
                 'There is no external variables. %s can not be resolve for environment %s',
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
         if(in_array($environment, $this->groupNames))
58 58
         {
59 59
             throw new \RuntimeException(sprintf(
60
-               'Group can not be used as environment (try with group %s detected)',
60
+                'Group can not be used as environment (try with group %s detected)',
61 61
                 $environment
62 62
             ));
63 63
         }
Please login to merge, or discard this patch.
src/Karma/ProfileReader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,14 +29,14 @@
 block discarded – undo
29 29
 
30 30
     private function parseFormatters($content)
31 31
     {
32
-        if(! is_array($content))
32
+        if( ! is_array($content))
33 33
         {
34 34
             throw new \InvalidArgumentException('Syntax error in profile [formatters]');
35 35
         }
36 36
 
37 37
         foreach($content as $name => $rules)
38 38
         {
39
-            if(! is_array($rules))
39
+            if( ! is_array($rules))
40 40
             {
41 41
                 throw new \InvalidArgumentException('Syntax error in profile [formatters]');
42 42
             }
Please login to merge, or discard this patch.