NoAuthenticator   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 4
ccs 1
cts 1
cp 1
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A authenticate() 0 2 1
1
<?php
2
3
namespace Kodus\Mail\SMTP\Authenticator;
4
5
use Kodus\Mail\SMTP\SMTPAuthenticator;
6
use Kodus\Mail\SMTP\SMTPClient;
7
8
/**
9
 * You can use this `Authenticator` with SMTP servers that do not require authentication.
10
 */
11
class NoAuthenticator implements SMTPAuthenticator
12
{
13 1
    public function authenticate(SMTPClient $client): void
14
    {
15
        // yep, this method does nothing :-)
16 1
    }
17
}
18