This commit is contained in:
smiley
2017-11-25 03:28:43 +01:00
parent 88f800c50b
commit 5334bf4683
19 changed files with 577 additions and 46 deletions
+2 -1
View File
@@ -229,8 +229,9 @@ abstract class QRDataAbstract implements QRDataInterface{
$this->write($data);
// there was an error writing the BitBuffer data, which is... unlikely.
if($this->bitBuffer->length > $MAX_BITS){
throw new QRCodeException('code length overflow. ('.$this->bitBuffer->length.' > '.$MAX_BITS.'bit)');
throw new QRCodeException('code length overflow. ('.$this->bitBuffer->length.' > '.$MAX_BITS.'bit)'); // @codeCoverageIgnore
}
// end code.