From 03651b592238731fe243b80a7153d0a2c99f37c8 Mon Sep 17 00:00:00 2001 From: Matthew Weier O'Phinney Date: Tue, 30 Jun 2020 15:05:49 -0500 Subject: [PATCH] qa: use `::class` notation with `Null` transport, via an alias Keeps internal consistency. Signed-off-by: Matthew Weier O'Phinney --- test/Transport/FactoryTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/Transport/FactoryTest.php b/test/Transport/FactoryTest.php index c6155295..94e0aa8e 100644 --- a/test/Transport/FactoryTest.php +++ b/test/Transport/FactoryTest.php @@ -10,6 +10,7 @@ use Laminas\Mail\Transport\Factory; use Laminas\Mail\Transport\InMemory; +use Laminas\Mail\Transport\Null as NullTransport; use Laminas\Mail\Transport\Sendmail; use Laminas\Stdlib\ArrayObject; use PHPUnit\Framework\TestCase; @@ -77,7 +78,7 @@ public function typeProvider() ]; if (version_compare(PHP_VERSION, '7.0', '<')) { - $types[] = ['Laminas\Mail\Transport\Null']; + $types[] = [NullTransport::class]; } return $types;