Passed
Push — develop ( 58e492...dcbf9f )
by nguereza
02:39
created
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/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.
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
      * End of line char
@@ -137,8 +136,7 @@  discard block
 block discarded – undo
137 136
     /**
138 137
      * Create new instance
139 138
      */
140
-    public function __construct()
141
-    {
139
+    public function __construct() {
142 140
         $this->reset();
143 141
     }
144 142
 
@@ -370,8 +368,7 @@  discard block
 block discarded – undo
370 368
     /**
371 369
      * {@inheritedoc}
372 370
      */
373
-    public function getHeader(string $name, $default = null)
374
-    {
371
+    public function getHeader(string $name, $default = null) {
375 372
         $this->prepareHeaders();
376 373
 
377 374
         return array_key_exists($name, $this->headers)
Please login to merge, or discard this patch.
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
     /**
62 61
      * The mail transport instance
@@ -68,8 +67,7 @@  discard block
 block discarded – undo
68 67
      * Create new instance
69 68
      * @param TransportInterface|null $transport
70 69
      */
71
-    public function __construct(?TransportInterface $transport = null)
72
-    {
70
+    public function __construct(?TransportInterface $transport = null) {
73 71
         $this->transport = $transport ? $transport : new NullTransport();
74 72
     }
75 73
 
Please login to merge, or discard this patch.