File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 44
55class BarCode
66{
7- public function __construct (protected string $ code , protected string $ type ) {}
7+ public function __construct (protected string $ code , protected string $ type )
8+ {
9+ }
810
911 /**
1012 * Returns the bar code.
Original file line number Diff line number Diff line change 22
33namespace TarfinLabs \ZbarPhp \Tests ;
44
5- use PHPUnit \Framework \TestCase ;
65use PHPUnit \Framework \Attributes \Test ;
6+ use PHPUnit \Framework \TestCase ;
77use TarfinLabs \ZbarPhp \Exceptions \InvalidFormat ;
88use TarfinLabs \ZbarPhp \Exceptions \UnableToOpen ;
99use TarfinLabs \ZbarPhp \Exceptions \ZbarError ;
1010use TarfinLabs \ZbarPhp \Zbar ;
1111
12-
1312class ZbarTest extends TestCase
1413{
1514 protected string $ qrcode ;
@@ -28,12 +27,12 @@ protected function setUp(): void
2827 {
2928 parent ::setUp ();
3029
31- $ this ->qrcode = __DIR__ . '/files/qrcode.png ' ;
32- $ this ->barcode = __DIR__ . '/files/barcode.gif ' ;
33- $ this ->invalidFile = __DIR__ . '/files/qrcode.txt ' ;
34- $ this ->emptyImage = __DIR__ . '/files/empty.png ' ;
35- $ this ->ean13 = __DIR__ . '/files/ean-13.jpg ' ;
36- $ this ->code128 = __DIR__ . '/files/code-128.png ' ;
30+ $ this ->qrcode = __DIR__ . '/files/qrcode.png ' ;
31+ $ this ->barcode = __DIR__ . '/files/barcode.gif ' ;
32+ $ this ->invalidFile = __DIR__ . '/files/qrcode.txt ' ;
33+ $ this ->emptyImage = __DIR__ . '/files/empty.png ' ;
34+ $ this ->ean13 = __DIR__ . '/files/ean-13.jpg ' ;
35+ $ this ->code128 = __DIR__ . '/files/code-128.png ' ;
3736 }
3837
3938 #[Test]
You can’t perform that action at this time.
0 commit comments