Skip to content

Commit

Permalink
qa: use ::class notation with Null transport, via an alias
Browse files Browse the repository at this point in the history
Keeps internal consistency.

Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
  • Loading branch information
weierophinney committed Jun 30, 2020
1 parent 629ab9f commit 03651b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/Transport/FactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -77,7 +78,7 @@ public function typeProvider()
];

if (version_compare(PHP_VERSION, '7.0', '<')) {
$types[] = ['Laminas\Mail\Transport\Null'];
$types[] = [NullTransport::class];
}

return $types;
Expand Down

0 comments on commit 03651b5

Please sign in to comment.