Procházet zdrojové kódy

ignoring a few statements for coverage

smiley před 10 roky
rodič
revize
d58704d93f
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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;