Completed
Push — master ( 5f640f...f30f41 )
by Pierre-Henry
34:09
created
swiftmailer/tests/unit/Swift/Mime/ContentEncoder/QpContentEncoderTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -474,6 +474,9 @@
 block discarded – undo
474 474
 
475 475
     // -- Creation Methods
476 476
 
477
+    /**
478
+     * @return Swift_CharacterStream
479
+     */
477 480
     private function _createCharacterStream($stub = false)
478 481
     {
479 482
         return $this->getMockery('Swift_CharacterStream')->shouldIgnoreMissing();
Please login to merge, or discard this patch.
swiftmailer/tests/unit/Swift/Mime/Headers/IdentificationHeaderTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -182,6 +182,9 @@
 block discarded – undo
182 182
         $this->assertEquals('References: <a@b> <x@y>'."\r\n", $header->toString());
183 183
     }
184 184
 
185
+    /**
186
+     * @param string $name
187
+     */
185 188
     private function _getHeader($name)
186 189
     {
187 190
         return new Swift_Mime_Headers_IdentificationHeader($name, new Swift_Mime_Grammar());
Please login to merge, or discard this patch.
swiftmailer/swiftmailer/tests/unit/Swift/Mime/Headers/MailboxHeaderTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -307,6 +307,9 @@  discard block
 block discarded – undo
307 307
             );
308 308
     }
309 309
 
310
+    /**
311
+     * @param string $name
312
+     */
310 313
     private function _getHeader($name, $encoder)
311 314
     {
312 315
         $header = new Swift_Mime_Headers_MailboxHeader($name, $encoder, new Swift_Mime_Grammar());
@@ -315,6 +318,9 @@  discard block
 block discarded – undo
315 318
         return $header;
316 319
     }
317 320
 
321
+    /**
322
+     * @param string $type
323
+     */
318 324
     private function _getEncoder($type, $stub = false)
319 325
     {
320 326
         $encoder = $this->getMockery('Swift_Mime_HeaderEncoder')->shouldIgnoreMissing();
Please login to merge, or discard this patch.
swiftmailer/swiftmailer/tests/unit/Swift/Mime/Headers/PathHeaderTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -70,6 +70,9 @@
 block discarded – undo
70 70
             );
71 71
     }
72 72
 
73
+    /**
74
+     * @param string $name
75
+     */
73 76
     private function _getHeader($name)
74 77
     {
75 78
         return new Swift_Mime_Headers_PathHeader($name, new Swift_Mime_Grammar());
Please login to merge, or discard this patch.
swiftmailer/swiftmailer/tests/unit/Swift/Plugins/LoggerPluginTest.php 1 patch
Doc Comments   +16 added lines patch added patch discarded remove patch
@@ -135,6 +135,11 @@  discard block
 block discarded – undo
135 135
         return new Swift_Plugins_LoggerPlugin($logger);
136 136
     }
137 137
 
138
+    /**
139
+     * @param string $command
140
+     *
141
+     * @return Swift_Events_CommandEvent
142
+     */
138 143
     private function _createCommandEvent($command)
139 144
     {
140 145
         $evt = $this->getMockBuilder('Swift_Events_CommandEvent')
@@ -147,6 +152,11 @@  discard block
 block discarded – undo
147 152
         return $evt;
148 153
     }
149 154
 
155
+    /**
156
+     * @param string $response
157
+     *
158
+     * @return Swift_Events_ResponseEvent
159
+     */
150 160
     private function _createResponseEvent($response)
151 161
     {
152 162
         $evt = $this->getMockBuilder('Swift_Events_ResponseEvent')
@@ -164,6 +174,9 @@  discard block
 block discarded – undo
164 174
         return $this->getMock('Swift_Transport');
165 175
     }
166 176
 
177
+    /**
178
+     * @return Swift_Events_TransportChangeEvent
179
+     */
167 180
     private function _createTransportChangeEvent()
168 181
     {
169 182
         $evt = $this->getMockBuilder('Swift_Events_TransportChangeEvent')
@@ -176,6 +189,9 @@  discard block
 block discarded – undo
176 189
         return $evt;
177 190
     }
178 191
 
192
+    /**
193
+     * @return Swift_Events_TransportExceptionEvent
194
+     */
179 195
     public function _createTransportExceptionEvent()
180 196
     {
181 197
         $evt = $this->getMockBuilder('Swift_Events_TransportExceptionEvent')
Please login to merge, or discard this patch.
vendor/swiftmailer/swiftmailer/tests/unit/Swift/Signers/DKIMSignerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -163,7 +163,7 @@
 block discarded – undo
163 163
     }
164 164
 
165 165
     /**
166
-     * @return Swift_Mime_Headers
166
+     * @return Swift_Mime_HeaderSet
167 167
      */
168 168
     private function _createHeaders()
169 169
     {
Please login to merge, or discard this patch.
vendor/swiftmailer/swiftmailer/tests/unit/Swift/Signers/SMimeSignerTest.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -490,8 +490,7 @@
 block discarded – undo
490 490
     /**
491 491
      * Strips of the sender headers and Mime-Version.
492 492
      *
493
-     * @param Swift_ByteStream_TemporaryFileByteStream $messageStream
494
-     * @param Swift_ByteStream_TemporaryFileByteStream $inputStream
493
+     * @param string $content
495 494
      */
496 495
     protected function cleanMessage($content)
497 496
     {
Please login to merge, or discard this patch.
swiftmailer/swiftmailer/tests/unit/Swift/Transport/AbstractSmtpTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -1179,6 +1179,9 @@
 block discarded – undo
1179 1179
         return $this->getMockery('Swift_Transport_IoBuffer')->shouldIgnoreMissing();
1180 1180
     }
1181 1181
 
1182
+    /**
1183
+     * @return Swift_Mime_Message
1184
+     */
1182 1185
     protected function _createMessage()
1183 1186
     {
1184 1187
         return $this->getMockery('Swift_Mime_Message')->shouldIgnoreMissing();
Please login to merge, or discard this patch.
swiftmailer/tests/unit/Swift/Transport/FailoverTransportTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -513,6 +513,9 @@
 block discarded – undo
513 513
         return $transport;
514 514
     }
515 515
 
516
+    /**
517
+     * @return Swift_Events_EventListener
518
+     */
516 519
     private function _createPlugin()
517 520
     {
518 521
         return $this->getMockery('Swift_Events_EventListener');
Please login to merge, or discard this patch.