mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-22 02:53:28 +00:00
🚿
This commit is contained in:
@@ -36,6 +36,7 @@ final class ByteTest extends DataInterfaceTestAbstract{
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function testInvalidDataException():void{
|
||||
/** @noinspection PhpUnitTestFailedLineInspection */
|
||||
$this::markTestSkipped('N/A (binary mode)');
|
||||
}
|
||||
|
||||
|
||||
@@ -128,7 +128,8 @@ abstract class DataInterfaceTestAbstract extends TestCase{
|
||||
$this->expectException(QRCodeDataException::class);
|
||||
$this->expectExceptionMessage('invalid data');
|
||||
|
||||
$this->QRData->setData([new $this->FQN('##')]);
|
||||
/** @phan-suppress-next-line PhanNoopNew */
|
||||
new $this->FQN('##');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -138,7 +139,8 @@ abstract class DataInterfaceTestAbstract extends TestCase{
|
||||
$this->expectException(QRCodeDataException::class);
|
||||
$this->expectExceptionMessage('invalid data');
|
||||
|
||||
$this->QRData->setData([new $this->FQN('')]);
|
||||
/** @phan-suppress-next-line PhanNoopNew */
|
||||
new $this->FQN('');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user