Completed
Push — 5.x ( bf7d88...5dd5e5 )
by Lars
03:28
created
lib/classes/Swift/ByteStream/FileByteStream.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
         if (strpos($path, '?') !== false) {
82 82
             $parameter = parse_url($path, PHP_URL_QUERY);
83 83
 
84
-            $this->_path = str_replace('?' . $parameter, '', $path);
84
+            $this->_path = str_replace('?'.$parameter, '', $path);
85 85
         } else {
86 86
             $this->_path = $path;
87 87
         }
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
             $pointer = @fopen($this->_path, 'rb', false, stream_context_create($opts));
208 208
 
209 209
             if (!$pointer) {
210
-                throw new Swift_IoException('Unable to open file for reading [' . $this->_path . ']');
210
+                throw new Swift_IoException('Unable to open file for reading ['.$this->_path.']');
211 211
             }
212 212
 
213 213
             $this->_reader = $pointer;
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
             $pointer = @fopen($this->_path, $this->_mode);
230 230
 
231 231
             if (!$pointer) {
232
-                throw new Swift_IoException('Unable to open file for writing [' . $this->_path . ']');
232
+                throw new Swift_IoException('Unable to open file for writing ['.$this->_path.']');
233 233
             }
234 234
 
235 235
             $this->_writer = $pointer;
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
         $source = @fopen($this->_path, 'rb');
301 301
 
302 302
         if (!$source) {
303
-            throw new Swift_IoException('Unable to open file for copying [' . $this->_path . ']');
303
+            throw new Swift_IoException('Unable to open file for copying ['.$this->_path.']');
304 304
         }
305 305
 
306 306
         fseek($tmpFile, 0, SEEK_SET);
Please login to merge, or discard this patch.