mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-09 13:25:55 +00:00
🛀 test cleanup
This commit is contained in:
@@ -10,13 +10,16 @@
|
||||
|
||||
namespace chillerlan\QRCodeTest;
|
||||
|
||||
use chillerlan\QRCode\Common\GDLuminanceSource;
|
||||
use chillerlan\QRCode\QROptions;
|
||||
use chillerlan\QRCode\Common\{GDLuminanceSource, LuminanceSourceInterface};
|
||||
|
||||
/**
|
||||
* Tests the GD based reader
|
||||
*/
|
||||
final class QRCodeReaderGDTest extends QRCodeReaderTestAbstract{
|
||||
|
||||
protected string $FQN = GDLuminanceSource::class;
|
||||
protected function getLuminanceSourceFromFile(string $file, QROptions $options):LuminanceSourceInterface{
|
||||
return GDLuminanceSource::fromFile($file, $options);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user