Completed
Push — master ( fa0d52...fef7a6 )
by Arne
01:59
created
src/StorageDriver/FlysystemStorageDriver.php 1 patch
Braces   +6 added lines, -12 removed lines patch added patch discarded remove patch
@@ -29,8 +29,7 @@  discard block
 block discarded – undo
29 29
             {
30 30
                 throw new Exception(sprintf('read() failed for %s.', $relativePath));
31 31
             }
32
-        }
33
-        catch (FlysystemException $exception)
32
+        } catch (FlysystemException $exception)
34 33
         {
35 34
             throw new Exception($exception->getMessage(), 0, $exception);
36 35
         }
@@ -48,8 +47,7 @@  discard block
 block discarded – undo
48 47
             {
49 48
                 throw new Exception(sprintf('write() failed for %s.', $relativePath));
50 49
             }
51
-        }
52
-        catch (FlysystemException $exception)
50
+        } catch (FlysystemException $exception)
53 51
         {
54 52
             throw new Exception($exception->getMessage(), 0, $exception);
55 53
         }
@@ -65,8 +63,7 @@  discard block
 block discarded – undo
65 63
             {
66 64
                 throw new Exception(sprintf('writeStream() failed for %s.', $relativePath));
67 65
             }
68
-        }
69
-        catch (FlysystemException $exception)
66
+        } catch (FlysystemException $exception)
70 67
         {
71 68
             throw new Exception($exception->getMessage(), 0, $exception);
72 69
         }
@@ -77,8 +74,7 @@  discard block
 block discarded – undo
77 74
         try
78 75
         {
79 76
             return $this->filesystem->has($relativePath);
80
-        }
81
-        catch (FlysystemException $exception)
77
+        } catch (FlysystemException $exception)
82 78
         {
83 79
             throw new Exception($exception->getMessage(), 0, $exception);
84 80
         }
@@ -94,8 +90,7 @@  discard block
 block discarded – undo
94 90
             {
95 91
                 throw new Exception(sprintf('unlink() failed for %s', $relativePath));
96 92
             }
97
-        }
98
-        catch (FlysystemException $exception)
93
+        } catch (FlysystemException $exception)
99 94
         {
100 95
             throw new Exception($exception->getMessage(), 0, $exception);
101 96
         }
@@ -113,8 +108,7 @@  discard block
 block discarded – undo
113 108
             }
114 109
 
115 110
             return $stream;
116
-        }
117
-        catch (FlysystemException $exception)
111
+        } catch (FlysystemException $exception)
118 112
         {
119 113
             throw new Exception($exception->getMessage(), 0, $exception);
120 114
         }
Please login to merge, or discard this patch.
src/LockAdapter/StorageBasedLockAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 
34 34
         $started = time();
35 35
 
36
-        while(true)
36
+        while (true)
37 37
         {
38 38
             if (!$this->storageDriver->exists($lockFileName))
39 39
             {
Please login to merge, or discard this patch.
src/PharCompiler.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -106,12 +106,10 @@  discard block
 block discarded – undo
106 106
             if (is_string($token))
107 107
             {
108 108
                 $output .= $token;
109
-            }
110
-            elseif (in_array($token[0], [T_COMMENT, T_DOC_COMMENT]))
109
+            } elseif (in_array($token[0], [T_COMMENT, T_DOC_COMMENT]))
111 110
             {
112 111
                 $output .= str_repeat("\n", substr_count($token[1], "\n"));
113
-            }
114
-            elseif (T_WHITESPACE === $token[0])
112
+            } elseif (T_WHITESPACE === $token[0])
115 113
             {
116 114
                 // reduce wide spaces
117 115
                 $whitespace = preg_replace('{[ \t]+}', ' ', $token[1]);
@@ -123,8 +121,7 @@  discard block
 block discarded – undo
123 121
                 $whitespace = preg_replace('{\n +}', "\n", $whitespace);
124 122
 
125 123
                 $output .= $whitespace;
126
-            }
127
-            else
124
+            } else
128 125
             {
129 126
                 $output .= $token[1];
130 127
             }
Please login to merge, or discard this patch.
src/StorageDriver/StorageDriverFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 {
15 15
     public function __construct()
16 16
     {
17
-        $this->factoryMap['dummy'] = function ()
17
+        $this->factoryMap['dummy'] = function()
18 18
         {
19 19
             return new DummyStorageDriver();
20 20
         };
Please login to merge, or discard this patch.