Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Buffele committed Nov 7, 2021
1 parent 05c54fd commit 38b7779
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion platform/php/MailChecker.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class MailChecker

public static function init(): void
{
self::$blacklist = require __DIR__.'/blacklist.php';
self::$blacklist = require __DIR__ . '/blacklist.php';
}

public static function isValid(string $email): bool
Expand Down
2 changes: 1 addition & 1 deletion test/MailCheckerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ public function testReturnFalseForBlacklistedDomainsAndTheirSubdomains($blacklis
$this->isInvalid('test@' . $blacklistedDomain);
$this->isInvalid('test@subdomain.' . $blacklistedDomain);
// Should not be invalid as a subdomain of a valid domain.
$this->isValid('test@'.$blacklistedDomain . '.gmail.com');
$this->isValid('test@' . $blacklistedDomain . '.gmail.com');
}
}

0 comments on commit 38b7779

Please sign in to comment.