Passed
Push — develop ( 275444...04f388 )
by nguereza
10:28
created
src/Mailer.php 1 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 Mailer
56 56
  * @package Platine\Mail
57 57
  */
58
-class Mailer
59
-{
58
+class Mailer {
60 59
     /**
61 60
      * The mail transport instance
62 61
      * @var TransportInterface
@@ -67,8 +66,7 @@  discard block
 block discarded – undo
67 66
      * Create new instance
68 67
      * @param TransportInterface|null $transport
69 68
      */
70
-    public function __construct(?TransportInterface $transport = null)
71
-    {
69
+    public function __construct(?TransportInterface $transport = null) {
72 70
         $this->transport = $transport ?? new NullTransport();
73 71
     }
74 72
 
Please login to merge, or discard this patch.
src/MessageInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@
 block discarded – undo
53 53
  * @class MessageInterface
54 54
  * @package Platine\Mail
55 55
  */
56
-interface MessageInterface
57
-{
56
+interface MessageInterface {
58 57
     /**
59 58
      * Set sender
60 59
      * @param string $email
Please login to merge, or discard this patch.
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/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/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/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/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
      * {@inheritedoc}
61 60
      */
Please login to merge, or discard this patch.
src/Transport/Sendmail.php 1 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 Sendmail
56 56
  * @package Platine\Mail\Transport
57 57
  */
58
-class Sendmail implements TransportInterface
59
-{
58
+class Sendmail implements TransportInterface {
60 59
     /**
61 60
      *
62 61
      * @var string
@@ -67,8 +66,7 @@  discard block
 block discarded – undo
67 66
      * Create new instance
68 67
      * @param string $path
69 68
      */
70
-    public function __construct(string $path = '/usr/sbin/sendmail')
71
-    {
69
+    public function __construct(string $path = '/usr/sbin/sendmail') {
72 70
         $this->path = $path;
73 71
     }
74 72
 
Please login to merge, or discard this patch.