Skip to content

Commit 428122a

Browse files
committed
fix code style
1 parent e59fb22 commit 428122a

20 files changed

+0
-21
lines changed

src/Contract/Message.php

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
interface Message extends Serializable
88
{
9-
10-
119
/**
1210
* @param string $email Sender email.
1311
* @param string|null $name Sender name.

src/Contract/Spool.php

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
interface Spool
66
{
7-
87
/**
98
* @param Message $message
109
* @param int $attempt

src/Contract/Transport.php

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
interface Transport
88
{
9-
109
/**
1110
* @param Message $message
1211
* @return bool

src/Exception/HeaderNotModifiedException.php

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
final class HeaderNotModifiedException extends InvalidArgumentException
88
{
9-
109
public function __construct($header, $method = null)
1110
{
1211
$message = 'header "' . $header . '" is not modified.';

src/Exception/InvalidAttachmentNameException.php

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
final class InvalidAttachmentNameException extends InvalidArgumentException
88
{
9-
109
public function __construct($name)
1110
{
1211
parent::__construct('invalid attachment ' . $name, 1);

src/Exception/InvalidEmailException.php

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
final class InvalidEmailException extends InvalidArgumentException
88
{
9-
109
public function __construct($email)
1110
{
1211
parent::__construct('email ' . $email . ' is invalid', 1);

src/Exception/RecipientsListEmptyException.php

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
final class RecipientsListEmptyException extends Exception
88
{
9-
109
public function __construct()
1110
{
1211
parent::__construct('recipients list is empty', 1);

src/Exception/TransportException.php

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
final class TransportException extends RuntimeException
88
{
9-
109
public function __construct($message, $code)
1110
{
1211
parent::__construct($message, $code);

src/Mailer.php

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
final class Mailer
1111
{
12-
1312
const MAILER_VERSION = "5.0.2";
1413

1514
/**

src/Message.php

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
final class Message implements MessageContract
1212
{
13-
1413
const RECIPIENT_TO = 'to';
1514
const RECIPIENT_CC = 'cc';
1615
const RECIPIENT_BCC = 'bcc';

src/Spool/FileSpool.php

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
final class FileSpool implements Spool
99
{
10-
1110
/**
1211
* @var string
1312
*/

src/Spool/MemorySpool.php

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
final class MemorySpool implements Spool
99
{
10-
1110
/**
1211
* @var Message[][]
1312
*/

src/Transport/FakeTransport.php

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
final class FakeTransport implements Transport
99
{
10-
1110
/**
1211
* @inheritDoc
1312
*/

src/Transport/FileTransport.php

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
final class FileTransport implements Transport
99
{
10-
1110
/**
1211
* @var string
1312
*/

src/Transport/SendmailTransport.php

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
final class SendmailTransport implements Transport
99
{
10-
1110
/**
1211
* @var string
1312
*/

src/Transport/SmtpTransport.php

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
final class SmtpTransport implements Transport
1111
{
12-
1312
const ENCRYPTION_TLS = 'tls';
1413

1514
const ENCRYPTION_SSL = 'ssl';

src/Transport/SpoolTransport.php

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
final class SpoolTransport implements Transport
1111
{
12-
1312
/**
1413
* @var Transport
1514
*/

src/TransportFactory.php

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
final class TransportFactory
1313
{
14-
1514
/**
1615
* @param string $transportUrl
1716
* @return Transport

stuff/Factory/MessageFactory.php

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
final class MessageFactory
88
{
9-
109
private $from;
1110

1211
public function __construct()

tests/MailerTest.php

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
class MailerTest extends TestCase
1313
{
14-
1514
/**
1615
* @var Mailer
1716
*/

0 commit comments

Comments
 (0)