Completed
Push — 5.x ( 44e98b...43ffe1 )
by Lars
21:59 queued 06:22
created
lib/classes/Swift/EmailValidatorBridge.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,6 +30,6 @@
 block discarded – undo
30 30
      */
31 31
     public function isValidSimpleWrapper($email)
32 32
     {
33
-        return (boolean)preg_match('/^(.*<?)(.*)@(.*)(>?)$/', $email);
33
+        return (boolean) preg_match('/^(.*<?)(.*)@(.*)(>?)$/', $email);
34 34
     }
35 35
 }
Please login to merge, or discard this patch.
lib/classes/Swift/Transport/NullTransport.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -77,9 +77,9 @@
 block discarded – undo
77 77
         }
78 78
 
79 79
         $count = (
80
-            count((array)$message->getTo())
81
-            + count((array)$message->getCc())
82
-            + count((array)$message->getBcc())
80
+            count((array) $message->getTo())
81
+            + count((array) $message->getCc())
82
+            + count((array) $message->getBcc())
83 83
         );
84 84
 
85 85
         return $count;
Please login to merge, or discard this patch.
lib/classes/Swift/StreamFilters/ByteArrayReplacementFilter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
         if ($i !== null) {
112 112
             $tree[-1] = min(count($replace) - 1, $i);
113 113
             $tree[-2] = $last_size;
114
-            $this->_treeMaxLen = (int)$size;
114
+            $this->_treeMaxLen = (int) $size;
115 115
         }
116 116
         foreach ($replace as $rep) {
117 117
             if (!is_array($rep)) {
Please login to merge, or discard this patch.
lib/swift_required.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -8,17 +8,17 @@
 block discarded – undo
8 8
  * file that was distributed with this source code.
9 9
  */
10 10
 
11
-require __DIR__ . '/classes/Swift.php';
11
+require __DIR__.'/classes/Swift.php';
12 12
 
13 13
 Swift::registerAutoload(
14
-    function () {
14
+    function() {
15 15
         // Load in dependency maps
16
-        require __DIR__ . '/dependency_maps/cache_deps.php';
17
-        require __DIR__ . '/dependency_maps/mime_deps.php';
18
-        require __DIR__ . '/dependency_maps/message_deps.php';
19
-        require __DIR__ . '/dependency_maps/transport_deps.php';
16
+        require __DIR__.'/dependency_maps/cache_deps.php';
17
+        require __DIR__.'/dependency_maps/mime_deps.php';
18
+        require __DIR__.'/dependency_maps/message_deps.php';
19
+        require __DIR__.'/dependency_maps/transport_deps.php';
20 20
 
21 21
         // Load in global library preferences
22
-        require __DIR__ . '/preferences.php';
22
+        require __DIR__.'/preferences.php';
23 23
     }
24 24
 );
Please login to merge, or discard this patch.
lib/dependency_maps/mime_deps.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-require __DIR__ . '/../mime_types.php';
3
+require __DIR__.'/../mime_types.php';
4 4
 
5 5
 Swift_DependencyContainer::getInstance()
6 6
     ->register('properties.charset')
Please login to merge, or discard this patch.
lib/classes/Swift/Mime/Headers/OpenDKIMHeader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
      */
114 114
     public function toString()
115 115
     {
116
-        return $this->_fieldName . ': ' . $this->_value;
116
+        return $this->_fieldName.': '.$this->_value;
117 117
     }
118 118
 
119 119
     /**
Please login to merge, or discard this patch.
lib/classes/Swift/Mime/Headers/IdentificationHeader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
             $angleAddrs = array();
157 157
 
158 158
             foreach ($this->_ids as $id) {
159
-                $angleAddrs[] = '<' . $id . '>';
159
+                $angleAddrs[] = '<'.$id.'>';
160 160
             }
161 161
 
162 162
             $this->setCachedValue(implode(' ', $angleAddrs));
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
     {
177 177
         if ($this->_emailValidator->isValidSimpleWrapper($id) === false) {
178 178
             throw new Swift_RfcComplianceException(
179
-                'Invalid ID given <' . $id . '>'
179
+                'Invalid ID given <'.$id.'>'
180 180
             );
181 181
         }
182 182
     }
Please login to merge, or discard this patch.
lib/classes/Swift/Mime/Headers/PathHeader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
     {
127 127
         if (!$this->getCachedValue()) {
128 128
             if (isset($this->_address)) {
129
-                $this->setCachedValue('<' . $this->_address . '>');
129
+                $this->setCachedValue('<'.$this->_address.'>');
130 130
             }
131 131
         }
132 132
 
Please login to merge, or discard this patch.
lib/classes/Swift/Mime/ContentEncoder/QpContentEncoder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 
38 38
     protected function getSafeMapShareId()
39 39
     {
40
-        return get_class($this) . ($this->_dotEscape ? '.dotEscape' : '');
40
+        return get_class($this).($this->_dotEscape ? '.dotEscape' : '');
41 41
     }
42 42
 
43 43
     protected function initSafeMap()
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
             $newLineLength = $lineLen + ($i === false ? $size : $i);
101 101
 
102 102
             if ($currentLine && $newLineLength >= $thisLineLength) {
103
-                $is->write($prepend . $this->_standardize($currentLine));
103
+                $is->write($prepend.$this->_standardize($currentLine));
104 104
                 $currentLine = '';
105 105
                 $prepend = "=\r\n";
106 106
                 $thisLineLength = $maxLineLength;
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
         }
119 119
 
120 120
         if ($currentLine !== '') {
121
-            $is->write($prepend . $this->_standardize($currentLine));
121
+            $is->write($prepend.$this->_standardize($currentLine));
122 122
         }
123 123
     }
124 124
 
Please login to merge, or discard this patch.