mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-20 15:50:13 +00:00
🚿
This commit is contained in:
@@ -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