Passed
Push — develop ( c34963...58e492 )
by nguereza
02:34
created
src/Transport/SMTP.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -57,8 +57,7 @@  discard block
 block discarded – undo
57 57
  * Class SMTP
58 58
  * @package Platine\Mail\Transport
59 59
  */
60
-class SMTP implements TransportInterface
61
-{
60
+class SMTP implements TransportInterface {
62 61
 
63 62
     /**
64 63
      * End of line char
@@ -130,8 +129,7 @@  discard block
 block discarded – undo
130 129
      * @param string $host
131 130
      * @param int $port
132 131
      */
133
-    public function __construct(string $host, int $port = 25)
134
-    {
132
+    public function __construct(string $host, int $port = 25) {
135 133
         $this->host = $host;
136 134
         $this->port = $port;
137 135
     }
Please login to merge, or discard this patch.
src/Transport/File.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 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 $path
70 69
      */
71
-    public function __construct(string $path)
72
-    {
70
+    public function __construct(string $path) {
73 71
         $this->path = rtrim($path, '/\\') . DIRECTORY_SEPARATOR;
74 72
     }
75 73
 
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
      *
@@ -68,8 +67,7 @@  discard block
 block discarded – undo
68 67
      * Create new instance
69 68
      * @param string $path
70 69
      */
71
-    public function __construct(string $path = '/usr/sbin/sendmail')
72
-    {
70
+    public function __construct(string $path = '/usr/sbin/sendmail') {
73 71
         $this->path = $path;
74 72
     }
75 73
 
Please login to merge, or discard this patch.
src/Message.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@  discard block
 block discarded – undo
54 54
  * Class Message
55 55
  * @package Platine\Mail
56 56
  */
57
-class Message implements MessageInterface
58
-{
57
+class Message implements MessageInterface {
59 58
 
60 59
     /**
61 60
      *
@@ -132,8 +131,7 @@  discard block
 block discarded – undo
132 131
     /**
133 132
      * Create new instance
134 133
      */
135
-    public function __construct()
136
-    {
134
+    public function __construct() {
137 135
         $this->reset();
138 136
     }
139 137
 
@@ -357,8 +355,7 @@  discard block
 block discarded – undo
357 355
     /**
358 356
      * {@inheritedoc}
359 357
      */
360
-    public function getHeader(string $name, $default = null)
361
-    {
358
+    public function getHeader(string $name, $default = null) {
362 359
         $this->prepareHeaders();
363 360
 
364 361
         return array_key_exists($name, $this->headers)
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
     /**
60 59
      * Set sender
Please login to merge, or discard this patch.