@@ -86,21 +86,21 @@ |
||
86 | 86 | |
87 | 87 | public function getTypeNumberDataProvider(){ |
88 | 88 | return [ |
89 | - [true, QRCode::TYPE_05, 'foobar'], |
|
89 | + [true, QRCode::TYPE_05, 'foobar'], |
|
90 | 90 | [false, QRCode::TYPE_05, 'foobar'], |
91 | - [true, QRCode::TYPE_10, 'foobar'], |
|
91 | + [true, QRCode::TYPE_10, 'foobar'], |
|
92 | 92 | [false, QRCode::TYPE_10, 'foobar'], |
93 | - [true, QRCode::TYPE_05, '1234567890'], |
|
93 | + [true, QRCode::TYPE_05, '1234567890'], |
|
94 | 94 | [false, QRCode::TYPE_05, '1234567890'], |
95 | - [true, QRCode::TYPE_10, '1234567890'], |
|
95 | + [true, QRCode::TYPE_10, '1234567890'], |
|
96 | 96 | [false, QRCode::TYPE_10, '1234567890'], |
97 | - [true, QRCode::TYPE_05, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890 $%*+-./:'], |
|
97 | + [true, QRCode::TYPE_05, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890 $%*+-./:'], |
|
98 | 98 | [false, QRCode::TYPE_05, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890 $%*+-./:'], |
99 | - [true, QRCode::TYPE_10, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890 $%*+-./:'], |
|
99 | + [true, QRCode::TYPE_10, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890 $%*+-./:'], |
|
100 | 100 | [false, QRCode::TYPE_10, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890 $%*+-./:'], |
101 | - [true, QRCode::TYPE_05, '茗荷'], |
|
101 | + [true, QRCode::TYPE_05, '茗荷'], |
|
102 | 102 | [false, QRCode::TYPE_05, '茗荷'], |
103 | - [true, QRCode::TYPE_10, '茗荷'], |
|
103 | + [true, QRCode::TYPE_10, '茗荷'], |
|
104 | 104 | [false, QRCode::TYPE_10, '茗荷'], |
105 | 105 | ]; |
106 | 106 | } |
@@ -27,7 +27,7 @@ |
||
27 | 27 | |
28 | 28 | // http://stackoverflow.com/a/24755772 |
29 | 29 | public function testIsKanji(){ |
30 | - $this->assertEquals(true, Util::isKanji('茗荷')); |
|
30 | + $this->assertEquals(true, Util::isKanji('茗荷')); |
|
31 | 31 | $this->assertEquals(false, Util::isKanji('')); |
32 | 32 | $this->assertEquals(false, Util::isKanji('ÃÃÃ')); // non-kanji |
33 | 33 | $this->assertEquals(false, Util::isKanji('荷')); // kanji forced into byte mode due to length |
@@ -33,7 +33,7 @@ |
||
33 | 33 | /** |
34 | 34 | * @param \chillerlan\QRCode\BitBuffer $buffer |
35 | 35 | */ |
36 | - public function write(BitBuffer &$buffer){ |
|
36 | + public function write(BitBuffer&$buffer){ |
|
37 | 37 | $i = 0; |
38 | 38 | |
39 | 39 | while($i + 2 < $this->dataLength){ |
@@ -33,7 +33,7 @@ |
||
33 | 33 | /** |
34 | 34 | * @param \chillerlan\QRCode\BitBuffer $buffer |
35 | 35 | */ |
36 | - public function write(BitBuffer &$buffer){ |
|
36 | + public function write(BitBuffer&$buffer){ |
|
37 | 37 | $i = 0; |
38 | 38 | |
39 | 39 | while($i + 2 < $this->dataLength){ |
@@ -33,7 +33,7 @@ |
||
33 | 33 | /** |
34 | 34 | * @param \chillerlan\QRCode\BitBuffer $buffer |
35 | 35 | */ |
36 | - public function write(BitBuffer &$buffer){ |
|
36 | + public function write(BitBuffer&$buffer){ |
|
37 | 37 | $i = 0; |
38 | 38 | |
39 | 39 | while($i + 2 < $this->dataLength){ |