Completed
Push — 5.x ( f751ba...b1704f )
by Lars
14:51
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/Mime/Headers/AbstractHeader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
         // Treat token as exactly what was given
219 219
         $phraseStr = $string;
220 220
         // If it's not valid
221
-        if (!preg_match('/^'.self::PHRASE_PATTERN.'$/D', $phraseStr)) {
221
+        if (!preg_match('/^' . self::PHRASE_PATTERN . '$/D', $phraseStr)) {
222 222
             // .. but it is just ascii text, try escaping some characters
223 223
             // and make it a quoted-string
224 224
             if (preg_match('/^[\x00-\x08\x0B\x0C\x0E-\x7F]*$/D', $phraseStr)) {
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
     protected function escapeSpecials($token, array $include = array())
251 251
     {
252 252
         foreach (array_merge(array('\\'), $include) as $char) {
253
-            $token = str_replace($char, '\\'.$char, $token);
253
+            $token = str_replace($char, '\\' . $char, $token);
254 254
         }
255 255
         return $token;
256 256
     }
Please login to merge, or discard this patch.
lib/classes/Swift/Transport/Esmtp/Auth/NTLMAuthenticator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@
 block discarded – undo
199 199
     {
200 200
         list($domain, $username) = $this->getDomainAndUsername($username);
201 201
         //$challenge, $context, $targetInfoH, $targetName, $domainName, $workstation, $DNSDomainName, $DNSServerName, $blob, $ter
202
-        list($challenge, , , , , $workstation, , , $blob) = $this->parseMessage2($response);
202
+        list($challenge,,,,, $workstation,,, $blob) = $this->parseMessage2($response);
203 203
 
204 204
         if (!$v2) {
205 205
             // LMv1
Please login to merge, or discard this patch.
lib/classes/Swift/Transport/SendmailTransport.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
      */
100 100
     public function send(Swift_Mime_Message $message, &$failedRecipients = null)
101 101
     {
102
-        $failedRecipients = (array)$failedRecipients;
102
+        $failedRecipients = (array) $failedRecipients;
103 103
         $command = $this->getCommand();
104 104
         $buffer = $this->getBuffer();
105 105
         $count = 0;
@@ -127,9 +127,9 @@  discard block
 block discarded – undo
127 127
                 $buffer->setWriteTranslations(array("\r\n" => "\n"));
128 128
             }
129 129
 
130
-            $count = count((array)$message->getTo())
131
-                     + count((array)$message->getCc())
132
-                     + count((array)$message->getBcc());
130
+            $count = count((array) $message->getTo())
131
+                     + count((array) $message->getCc())
132
+                     + count((array) $message->getBcc());
133 133
 
134 134
             $message->toByteStream($buffer);
135 135
             $buffer->flushBuffers();
Please login to merge, or discard this patch.
lib/swift_required.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 require __DIR__ . '/classes/Swift.php';
12 12
 
13 13
 Swift::registerAutoload(
14
-    function () {
14
+    function() {
15 15
         // Load in dependency maps
16 16
         require __DIR__ . '/dependency_maps/cache_deps.php';
17 17
         require __DIR__ . '/dependency_maps/mime_deps.php';
Please login to merge, or discard this patch.