diff --git a/src/MessageIDParser.php b/src/MessageIDParser.php index fe58b9f4..65777ae3 100644 --- a/src/MessageIDParser.php +++ b/src/MessageIDParser.php @@ -89,4 +89,4 @@ private function addLongEmailWarning(string $localPart, string $parsedDomainPart $this->warnings[EmailTooLong::CODE] = new EmailTooLong(); } } -} \ No newline at end of file +} diff --git a/src/Parser/Comment.php b/src/Parser/Comment.php index ffa61281..123dc8f4 100644 --- a/src/Parser/Comment.php +++ b/src/Parser/Comment.php @@ -100,4 +100,4 @@ private function noClosingParenthesis() : bool return true; } } -} \ No newline at end of file +} diff --git a/src/Parser/CommentStrategy/CommentStrategy.php b/src/Parser/CommentStrategy/CommentStrategy.php index c388efd6..410032fe 100644 --- a/src/Parser/CommentStrategy/CommentStrategy.php +++ b/src/Parser/CommentStrategy/CommentStrategy.php @@ -15,4 +15,4 @@ public function exitCondition(EmailLexer $lexer, int $openedParenthesis) : bool; public function endOfLoopValidations(EmailLexer $lexer) : Result; public function getWarnings() : array; -} \ No newline at end of file +} diff --git a/src/Parser/CommentStrategy/DomainComment.php b/src/Parser/CommentStrategy/DomainComment.php index b34ce29a..cbbe3f20 100644 --- a/src/Parser/CommentStrategy/DomainComment.php +++ b/src/Parser/CommentStrategy/DomainComment.php @@ -34,4 +34,4 @@ public function getWarnings(): array { return []; } -} \ No newline at end of file +} diff --git a/src/Parser/CommentStrategy/LocalComment.php b/src/Parser/CommentStrategy/LocalComment.php index 73bc7b2b..e72319a2 100644 --- a/src/Parser/CommentStrategy/LocalComment.php +++ b/src/Parser/CommentStrategy/LocalComment.php @@ -34,4 +34,4 @@ public function getWarnings(): array { return $this->warnings; } -} \ No newline at end of file +} diff --git a/src/Parser/DomainLiteral.php b/src/Parser/DomainLiteral.php index 4e5b8bf7..c668bf2f 100644 --- a/src/Parser/DomainLiteral.php +++ b/src/Parser/DomainLiteral.php @@ -208,4 +208,4 @@ private function addTagWarnings() : void } } -} \ No newline at end of file +} diff --git a/src/Parser/DoubleQuote.php b/src/Parser/DoubleQuote.php index 8b832737..8e484130 100644 --- a/src/Parser/DoubleQuote.php +++ b/src/Parser/DoubleQuote.php @@ -85,4 +85,4 @@ protected function checkDQUOTE() : Result return new ValidEmail(); } -} \ No newline at end of file +} diff --git a/src/Parser/FoldingWhiteSpace.php b/src/Parser/FoldingWhiteSpace.php index da17d434..a332963d 100644 --- a/src/Parser/FoldingWhiteSpace.php +++ b/src/Parser/FoldingWhiteSpace.php @@ -83,4 +83,4 @@ protected function isFWS() : bool return in_array($this->lexer->token['type'], self::FWS_TYPES); } -} \ No newline at end of file +} diff --git a/src/Parser/IDLeftPart.php b/src/Parser/IDLeftPart.php index abb4982b..9428cf14 100644 --- a/src/Parser/IDLeftPart.php +++ b/src/Parser/IDLeftPart.php @@ -13,4 +13,4 @@ protected function parseComments(): Result { return new InvalidEmail(new CommentsInIDRight(), $this->lexer->token['value']); } -} \ No newline at end of file +} diff --git a/src/Parser/IDRightPart.php b/src/Parser/IDRightPart.php index 24325627..1a1268f2 100644 --- a/src/Parser/IDRightPart.php +++ b/src/Parser/IDRightPart.php @@ -26,4 +26,4 @@ protected function validateTokens(bool $hasComments) : Result } return new ValidEmail(); } -} \ No newline at end of file +} diff --git a/src/Parser/LocalPart.php b/src/Parser/LocalPart.php index 90f01a52..5ed395ca 100644 --- a/src/Parser/LocalPart.php +++ b/src/Parser/LocalPart.php @@ -162,4 +162,4 @@ private function validateEscaping() : Result return new ValidEmail(); } -} \ No newline at end of file +} diff --git a/src/Parser/PartParser.php b/src/Parser/PartParser.php index fd65fc56..a75a172a 100644 --- a/src/Parser/PartParser.php +++ b/src/Parser/PartParser.php @@ -60,4 +60,4 @@ protected function escaped() : bool && $this->lexer->token['type'] !== EmailLexer::GENERIC; } -} \ No newline at end of file +} diff --git a/src/Result/InvalidEmail.php b/src/Result/InvalidEmail.php index 3d85e154..858bae46 100644 --- a/src/Result/InvalidEmail.php +++ b/src/Result/InvalidEmail.php @@ -43,4 +43,4 @@ public function reason() : Reason return $this->reason; } -} \ No newline at end of file +} diff --git a/src/Result/Reason/AtextAfterCFWS.php b/src/Result/Reason/AtextAfterCFWS.php index 76015a2d..96e22842 100644 --- a/src/Result/Reason/AtextAfterCFWS.php +++ b/src/Result/Reason/AtextAfterCFWS.php @@ -13,4 +13,4 @@ public function description() : string { return 'ATEXT found after CFWS'; } -} \ No newline at end of file +} diff --git a/src/Result/Reason/CharNotAllowed.php b/src/Result/Reason/CharNotAllowed.php index 45999b36..7840cc76 100644 --- a/src/Result/Reason/CharNotAllowed.php +++ b/src/Result/Reason/CharNotAllowed.php @@ -13,4 +13,4 @@ public function description() : string { return "Character not allowed"; } -} \ No newline at end of file +} diff --git a/src/Result/Reason/CommaInDomain.php b/src/Result/Reason/CommaInDomain.php index 93d3b561..055f1457 100644 --- a/src/Result/Reason/CommaInDomain.php +++ b/src/Result/Reason/CommaInDomain.php @@ -13,4 +13,4 @@ public function description() : string { return "Comma ',' is not allowed in domain part"; } -} \ No newline at end of file +} diff --git a/src/Result/Reason/CommentsInIDRight.php b/src/Result/Reason/CommentsInIDRight.php index 43a7cf7b..6567a110 100644 --- a/src/Result/Reason/CommentsInIDRight.php +++ b/src/Result/Reason/CommentsInIDRight.php @@ -13,4 +13,4 @@ public function description() : string { return 'Comments are not allowed in IDRight for message-id'; } -} \ No newline at end of file +} diff --git a/src/Result/Reason/DetailedReason.php b/src/Result/Reason/DetailedReason.php index 17519873..8541c924 100644 --- a/src/Result/Reason/DetailedReason.php +++ b/src/Result/Reason/DetailedReason.php @@ -10,4 +10,4 @@ public function __construct(string $details) { $this->detailedDescription = $details; } -} \ No newline at end of file +} diff --git a/src/Result/Reason/DomainAcceptsNoMail.php b/src/Result/Reason/DomainAcceptsNoMail.php index 55f44bba..bcaefb68 100644 --- a/src/Result/Reason/DomainAcceptsNoMail.php +++ b/src/Result/Reason/DomainAcceptsNoMail.php @@ -13,4 +13,4 @@ public function description() : string { return 'Domain accepts no mail (Null MX, RFC7505)'; } -} \ No newline at end of file +} diff --git a/src/Result/Reason/ExceptionFound.php b/src/Result/Reason/ExceptionFound.php index 8b1135d0..ffed86c3 100644 --- a/src/Result/Reason/ExceptionFound.php +++ b/src/Result/Reason/ExceptionFound.php @@ -23,4 +23,4 @@ public function description() : string { return $this->exception->getMessage(); } -} \ No newline at end of file +} diff --git a/src/Result/Reason/ExpectingDomainLiteralClose.php b/src/Result/Reason/ExpectingDomainLiteralClose.php index 7deffcaf..525e7aca 100644 --- a/src/Result/Reason/ExpectingDomainLiteralClose.php +++ b/src/Result/Reason/ExpectingDomainLiteralClose.php @@ -13,4 +13,4 @@ public function description() : string { return "Closing bracket ']' for domain literal not found"; } -} \ No newline at end of file +} diff --git a/src/Result/Reason/LocalOrReservedDomain.php b/src/Result/Reason/LocalOrReservedDomain.php index bc7c5d5a..c464767b 100644 --- a/src/Result/Reason/LocalOrReservedDomain.php +++ b/src/Result/Reason/LocalOrReservedDomain.php @@ -13,4 +13,4 @@ public function description() : string { return 'Local, mDNS or reserved domain (RFC2606, RFC6762)'; } -} \ No newline at end of file +} diff --git a/src/Result/Reason/NoDNSRecord.php b/src/Result/Reason/NoDNSRecord.php index e217d02c..2c966c28 100644 --- a/src/Result/Reason/NoDNSRecord.php +++ b/src/Result/Reason/NoDNSRecord.php @@ -13,4 +13,4 @@ public function description() : string { return 'No MX or A DSN record was found for this email'; } -} \ No newline at end of file +} diff --git a/src/Result/Reason/Reason.php b/src/Result/Reason/Reason.php index e6810b93..786eb9b4 100644 --- a/src/Result/Reason/Reason.php +++ b/src/Result/Reason/Reason.php @@ -13,4 +13,4 @@ public function code() : int; * Short description of the result, human readable. */ public function description() : string; -} \ No newline at end of file +} diff --git a/src/Result/Reason/UnOpenedComment.php b/src/Result/Reason/UnOpenedComment.php index c76a5844..b0a43168 100644 --- a/src/Result/Reason/UnOpenedComment.php +++ b/src/Result/Reason/UnOpenedComment.php @@ -13,4 +13,4 @@ public function description(): string { return 'Missing opening comment parentheses - https://tools.ietf.org/html/rfc5322#section-3.2.2'; } -} \ No newline at end of file +} diff --git a/src/Result/Reason/UnusualElements.php b/src/Result/Reason/UnusualElements.php index 03873dc0..861f3bcb 100644 --- a/src/Result/Reason/UnusualElements.php +++ b/src/Result/Reason/UnusualElements.php @@ -23,4 +23,4 @@ public function description() : string { return 'Unusual element found, wourld render invalid in majority of cases. Element found: ' . $this->element; } -} \ No newline at end of file +} diff --git a/src/Result/Result.php b/src/Result/Result.php index 1e16bcca..fd13e6c6 100644 --- a/src/Result/Result.php +++ b/src/Result/Result.php @@ -24,4 +24,4 @@ public function description() : string; * Code for user land to act upon. */ public function code() : int; -} \ No newline at end of file +} diff --git a/src/Result/SpoofEmail.php b/src/Result/SpoofEmail.php index 9f010de1..586b1013 100644 --- a/src/Result/SpoofEmail.php +++ b/src/Result/SpoofEmail.php @@ -11,4 +11,4 @@ public function __construct() $this->reason = new ReasonSpoofEmail(); parent::__construct($this->reason, ''); } -} \ No newline at end of file +} diff --git a/src/Result/ValidEmail.php b/src/Result/ValidEmail.php index 4f3693a9..fdc882fa 100644 --- a/src/Result/ValidEmail.php +++ b/src/Result/ValidEmail.php @@ -24,4 +24,4 @@ public function code(): int return 0; } -} \ No newline at end of file +} diff --git a/src/Validation/DNSCheckValidation.php b/src/Validation/DNSCheckValidation.php index 4e0041b5..010a33de 100644 --- a/src/Validation/DNSCheckValidation.php +++ b/src/Validation/DNSCheckValidation.php @@ -189,4 +189,4 @@ private function validateMxRecord($dnsRecord) : bool return true; } -} \ No newline at end of file +} diff --git a/src/Validation/DNSGetRecordWrapper.php b/src/Validation/DNSGetRecordWrapper.php index ec6fe4b6..f493c574 100644 --- a/src/Validation/DNSGetRecordWrapper.php +++ b/src/Validation/DNSGetRecordWrapper.php @@ -25,4 +25,4 @@ static function (int $errorLevel, string $errorMessage): ?bool { restore_error_handler(); } } -} \ No newline at end of file +} diff --git a/src/Validation/DNSRecords.php b/src/Validation/DNSRecords.php index afda213c..b026a2df 100644 --- a/src/Validation/DNSRecords.php +++ b/src/Validation/DNSRecords.php @@ -32,4 +32,4 @@ public function withError() : bool } -} \ No newline at end of file +}