mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-09 05:15:49 +00:00
:octocat: remove unnecessary Mode::getLengthBitsForMode()
This commit is contained in:
@@ -54,11 +54,4 @@ final class ModeTest extends TestCase{
|
||||
Mode::getLengthBitsForVersion(Mode::BYTE, 69);
|
||||
}
|
||||
|
||||
public function testGetLengthBitsForModeInvalidModeException():void{
|
||||
$this->expectException(QRCodeException::class);
|
||||
$this->expectExceptionMessage('invalid mode given');
|
||||
/** @phan-suppress-next-line PhanNoopNew */
|
||||
Mode::getLengthBitsForMode(42);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user