@@ -252,7 +252,7 @@ discard block |
||
252 | 252 | for($row = 0; $row < $this->pixelCount; $row++){ |
253 | 253 | for($col = 0; $col < $this->pixelCount - 6; $col++){ |
254 | 254 | if( |
255 | - $this->matrix[$row][$col ] |
|
255 | + $this->matrix[$row][$col ] |
|
256 | 256 | && !$this->matrix[$row][$col + 1] |
257 | 257 | && $this->matrix[$row][$col + 2] |
258 | 258 | && $this->matrix[$row][$col + 3] |
@@ -268,7 +268,7 @@ discard block |
||
268 | 268 | for($col = 0; $col < $this->pixelCount; $col++){ |
269 | 269 | for($row = 0; $row < $this->pixelCount - 6; $row++){ |
270 | 270 | if( |
271 | - $this->matrix[$row ][$col] |
|
271 | + $this->matrix[$row ][$col] |
|
272 | 272 | && !$this->matrix[$row + 1][$col] |
273 | 273 | && $this->matrix[$row + 2][$col] |
274 | 274 | && $this->matrix[$row + 3][$col] |
@@ -11,11 +11,11 @@ |
||
11 | 11 | namespace chillerlan\QRCodeTest\Data; |
12 | 12 | |
13 | 13 | use chillerlan\QRCode\BitBuffer; |
14 | -use chillerlan\QRCode\QRConst; |
|
15 | 14 | use chillerlan\QRCode\Data\AlphaNum; |
16 | 15 | use chillerlan\QRCode\Data\Byte; |
17 | 16 | use chillerlan\QRCode\Data\Kanji; |
18 | 17 | use chillerlan\QRCode\Data\Number; |
18 | +use chillerlan\QRCode\QRConst; |
|
19 | 19 | |
20 | 20 | class DataTest extends \PHPUnit_Framework_TestCase{ |
21 | 21 |
@@ -11,11 +11,11 @@ |
||
11 | 11 | |
12 | 12 | namespace chillerlan\QRCodeTest; |
13 | 13 | |
14 | +use ReflectionClass; |
|
14 | 15 | use chillerlan\QRCode\Output\QRString; |
15 | 16 | use chillerlan\QRCode\QRCode; |
16 | 17 | use chillerlan\QRCode\QRConst; |
17 | 18 | use chillerlan\QRCode\QROptions; |
18 | -use ReflectionClass; |
|
19 | 19 | |
20 | 20 | class QRCodeTest extends \PHPUnit_Framework_TestCase{ |
21 | 21 |