Passed
Push — develop ( 75a5af...5134a1 )
by nguereza
03:12
created
src/Exception/MailException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,6 +40,5 @@
 block discarded – undo
40 40
  * Class MailException
41 41
  * @package Platine\Mail\Exception
42 42
  */
43
-class MailException extends Exception
44
-{
43
+class MailException extends Exception {
45 44
 }
Please login to merge, or discard this patch.
src/Exception/FileTransportException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,6 +40,5 @@
 block discarded – undo
40 40
  * Class FileTransportException
41 41
  * @package Platine\Mail\Exception
42 42
  */
43
-class FileTransportException extends Exception
44
-{
43
+class FileTransportException extends Exception {
45 44
 }
Please login to merge, or discard this patch.
src/Exception/SMTPRetunCodeException.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,16 +38,14 @@
 block discarded – undo
38 38
  * Class SMTPRetunCodeException
39 39
  * @package Platine\Mail\Exception
40 40
  */
41
-class SMTPRetunCodeException extends SMTPException
42
-{
41
+class SMTPRetunCodeException extends SMTPException {
43 42
     /**
44 43
      * Create new instance
45 44
      * @param int $expected
46 45
      * @param int $received
47 46
      * @param string|null $serverMessage
48 47
      */
49
-    public function __construct(int $expected, int $received, ?string $serverMessage = null)
50
-    {
48
+    public function __construct(int $expected, int $received, ?string $serverMessage = null) {
51 49
         $message = sprintf(
52 50
             'Unexpected return code expected %d, but got %d',
53 51
             $expected,
Please login to merge, or discard this patch.
src/Exception/SMTPSecureException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,6 +38,5 @@
 block discarded – undo
38 38
  * Class SMTPException
39 39
  * @package Platine\Mail\Exception
40 40
  */
41
-class SMTPSecureException extends SMTPException
42
-{
41
+class SMTPSecureException extends SMTPException {
43 42
 }
Please login to merge, or discard this patch.
src/Exception/SMTPException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,6 +40,5 @@
 block discarded – undo
40 40
  * Class SMTPException
41 41
  * @package Platine\Mail\Exception
42 42
  */
43
-class SMTPException extends Exception
44
-{
43
+class SMTPException extends Exception {
45 44
 }
Please login to merge, or discard this patch.
src/Transport/NullTransport.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@
 block discarded – undo
54 54
  * Class NullTransport
55 55
  * @package Platine\Mail\Transport
56 56
  */
57
-class NullTransport implements TransportInterface
58
-{
57
+class NullTransport implements TransportInterface {
59 58
 
60 59
     /**
61 60
      * {@inheritedoc}
Please login to merge, or discard this patch.
src/Transport/Mail.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@
 block discarded – undo
54 54
  * Class Mail
55 55
  * @package Platine\Mail\Transport
56 56
  */
57
-class Mail implements TransportInterface
58
-{
57
+class Mail implements TransportInterface {
59 58
 
60 59
     /**
61 60
      * {@inheritedoc}
Please login to merge, or discard this patch.
src/Transport/TransportInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@
 block discarded – undo
54 54
  * Class TransportInterface
55 55
  * @package Platine\Mail\Transport
56 56
  */
57
-interface TransportInterface
58
-{
57
+interface TransportInterface {
59 58
 
60 59
     /**
61 60
      * Send the message
Please login to merge, or discard this patch.
src/Transport/File.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
             ));
87 87
         }
88 88
 
89
-        $content = (string)$message;
89
+        $content = (string) $message;
90 90
         $file = $this->path . date('YmdHis') . '-' . md5(uniqid()) . '.txt';
91 91
         if (!file_put_contents($file, $content)) {
92 92
             throw new FileTransportException(sprintf(
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@  discard block
 block discarded – undo
55 55
  * Class File
56 56
  * @package Platine\Mail\Transport
57 57
  */
58
-class File implements TransportInterface
59
-{
58
+class File implements TransportInterface {
60 59
 
61 60
     /**
62 61
      *
@@ -68,8 +67,7 @@  discard block
 block discarded – undo
68 67
      * Create new instance
69 68
      * @param string|null $path
70 69
      */
71
-    public function __construct(?string $path = null)
72
-    {
70
+    public function __construct(?string $path = null) {
73 71
         if ($path === null) {
74 72
             $path = sys_get_temp_dir();
75 73
         }
Please login to merge, or discard this patch.