Skip to content

Commit 5738449

Browse files
[Mailer] fix tests
1 parent 3f26a95 commit 5738449

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Transport/NativeTransportFactory.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function create(Dsn $dsn): TransportInterface
2929
throw new UnsupportedSchemeException($dsn, 'native', $this->getSupportedSchemes());
3030
}
3131

32-
if ($sendMailPath = \ini_get('sendmail_path')) {
32+
if ($sendMailPath = ini_get('sendmail_path')) {
3333
return new SendmailTransport($sendMailPath, $this->dispatcher, $this->logger);
3434
}
3535

@@ -39,8 +39,8 @@ public function create(Dsn $dsn): TransportInterface
3939

4040
// Only for windows hosts; at this point non-windows
4141
// host have already thrown an exception or returned a transport
42-
$host = \ini_get('SMTP');
43-
$port = (int) \ini_get('smtp_port');
42+
$host = ini_get('SMTP');
43+
$port = (int) ini_get('smtp_port');
4444

4545
if (!$host || !$port) {
4646
throw new TransportException('smtp or smtp_port is not configured in php.ini.');

0 commit comments

Comments
 (0)