Passed
Branch master (cbaea0)
by Бабичев
02:27
created
demo/data/php.php 2 patches
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php return array (
2
-  'name' => 'bavix/config',
3
-  'description' => '%php.description%',
4
-  'license' => 'MIT',
5
-  'authors' => 
6
-  array (
2
+    'name' => 'bavix/config',
3
+    'description' => '%php.description%',
4
+    'license' => 'MIT',
5
+    'authors' => 
6
+    array (
7 7
     0 => 
8 8
     array (
9
-      'name' => 'REZ1DENT3',
10
-      'email' => '[email protected]',
9
+        'name' => 'REZ1DENT3',
10
+        'email' => '[email protected]',
11
+    ),
11 12
     ),
12
-  ),
13 13
 );
14 14
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1
-<?php return array (
1
+<?php return array(
2 2
   'name' => 'bavix/config',
3 3
   'description' => '%php.description%',
4 4
   'license' => 'MIT',
5 5
   'authors' => 
6
-  array (
6
+  array(
7 7
     0 => 
8
-    array (
8
+    array(
9 9
       'name' => 'REZ1DENT3',
10 10
       'email' => '[email protected]',
11 11
     ),
Please login to merge, or discard this patch.
src/Config/Config.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@  discard block
 block discarded – undo
53 53
         try
54 54
         {
55 55
             $this->parameters = $this->loader('_bavix')->asSlice();
56
-        }
57
-        catch (NotFound\Path $path)
56
+        } catch (NotFound\Path $path)
58 57
         {
59 58
             // file `_bavix` not found
60 59
         }
@@ -100,8 +99,7 @@  discard block
 block discarded – undo
100 99
                 $this->loaders[$name] = FileLoader::load($path);
101 100
 
102 101
                 return $this->loaders[$name];
103
-            }
104
-            catch (NotFound\Path $argumentException)
102
+            } catch (NotFound\Path $argumentException)
105 103
             {
106 104
                 continue;
107 105
             }
@@ -145,8 +143,7 @@  discard block
 block discarded – undo
145 143
         try
146 144
         {
147 145
             return $this->loader($name)->save($data);
148
-        }
149
-        catch (NotFound\Path $exception)
146
+        } catch (NotFound\Path $exception)
150 147
         {
151 148
             File::touch($this->buildPath($name, $this->extensions[0]));
152 149
 
Please login to merge, or discard this patch.