diff --git a/src/Transport/Factory.php b/src/Transport/Factory.php index 88301aa4..e5b1e6e4 100644 --- a/src/Transport/Factory.php +++ b/src/Transport/Factory.php @@ -20,7 +20,6 @@ abstract class Factory 'file' => File::class, 'inmemory' => InMemory::class, 'memory' => InMemory::class, - 'null' => InMemory::class, 'sendmail' => Sendmail::class, 'smtp' => Smtp::class, ]; diff --git a/src/Transport/Null.php b/src/Transport/Null.php deleted file mode 100644 index 4f4ff3c5..00000000 --- a/src/Transport/Null.php +++ /dev/null @@ -1,34 +0,0 @@ - 'null' + 'type' => 'inMemory' ]); $transport = Factory::create($spec); diff --git a/test/Transport/NullTest.php b/test/Transport/NullTest.php deleted file mode 100644 index bbf7fc1e..00000000 --- a/test/Transport/NullTest.php +++ /dev/null @@ -1,31 +0,0 @@ -=')) { - $this->markTestSkipped('Cannot test Null transport under PHP 7; reserved keyword'); - } - } - - public function testRaisesNoticeOnInstantiation() - { - $this->expectException('PHPUnit_Framework_Error_Deprecated'); - new NullTransport(); - } -}