瀏覽代碼

ignoring a few statements for coverage

smiley 10 年之前
父節點
當前提交
d58704d93f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/QRCode.php

+ 2 - 2
src/QRCode.php

@@ -167,7 +167,7 @@ class QRCode{
 			}
 		}
 
-		throw new QRCodeException('Unable to determine type number.');
+		throw new QRCodeException('Unable to determine type number.'); // @codeCoverageIgnore
 	}
 
 	/**
@@ -595,7 +595,7 @@ class QRCode{
 		for($i = 8; $i < $this->pixelCount - 8; $i++){
 
 			if($this->matrix[$i][6] !== null){
-				continue;
+				continue; // @codeCoverageIgnore
 			}
 
 			$this->matrix[$i][6] = $this->matrix[6][$i] = $i % 2 === 0;