Przeglądaj źródła

ignoring a few statements for coverage

smiley 10 lat temu
rodzic
commit
d58704d93f
1 zmienionych plików z 2 dodań i 2 usunięć
  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;