mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-24 20:47:57 +00:00
🔥 v6.0 third pass: test clean-up (again)
This commit is contained in:
@@ -10,13 +10,20 @@
|
||||
|
||||
namespace chillerlan\QRCodeTest;
|
||||
|
||||
use chillerlan\QRCode\Common\GDLuminanceSource;
|
||||
use chillerlan\QRCode\Common\{GDLuminanceSource, LuminanceSourceInterface};
|
||||
use chillerlan\QRCode\QROptions;
|
||||
use chillerlan\Settings\SettingsContainerInterface;
|
||||
|
||||
/**
|
||||
* Tests the GD based reader
|
||||
*/
|
||||
final class QRCodeReaderGDTest extends QRCodeReaderTestAbstract{
|
||||
|
||||
protected string $FQN = GDLuminanceSource::class;
|
||||
protected function getLuminanceSourceFromFile(
|
||||
string $file,
|
||||
SettingsContainerInterface|QROptions $options
|
||||
):LuminanceSourceInterface{
|
||||
return GDLuminanceSource::fromFile($file, $options);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user