Passed
Push — master ( c76d68...bef62b )
by Gaetano
10:19
created
app/src/Service/DatabaseConfigurationManager.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,13 +29,13 @@  discard block
 block discarded – undo
29 29
         }
30 30
 
31 31
         $names = [];
32
-        foreach(array_keys($this->instanceList) as $name) {
32
+        foreach (array_keys($this->instanceList) as $name) {
33 33
 
34 34
             if (empty($includeFilter)) {
35 35
                 $include = true;
36 36
             } else {
37 37
                 $include = false;
38
-                foreach($includeFilter as $filter) {
38
+                foreach ($includeFilter as $filter) {
39 39
                     if (fnmatch($filter, $name)) {
40 40
                         $include = true;
41 41
                         break;
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
             }
45 45
 
46 46
             if ($include && !empty($excludeFilter)) {
47
-                foreach($excludeFilter as $filter) {
47
+                foreach ($excludeFilter as $filter) {
48 48
                     if (fnmatch($filter, $name)) {
49 49
                         $include = false;
50 50
                         break;
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     public function getInstancesConfiguration(array $instanceNames)
82 82
     {
83 83
         $instancesDefinitions = [];
84
-        foreach($instanceNames as $instanceName)
84
+        foreach ($instanceNames as $instanceName)
85 85
         {
86 86
             $instancesDefinitions[$instanceName] = $this->getInstanceConfiguration($instanceName);
87 87
         }
Please login to merge, or discard this patch.