1
0
mirror of https://github.com/danog/amp.git synced 2024-11-30 04:29:08 +01:00

Add appropriate coverage ignores to Driver.php

This commit is contained in:
Niklas Keller 2017-03-14 11:01:11 +01:00
parent d7353d4d8f
commit 35ac983c53

View File

@ -582,7 +582,9 @@ abstract class Driver {
* @return array
*/
public function __debugInfo() {
// @codeCoverageIgnoreStart
return $this->getInfo();
// @codeCoverageIgnoreEnd
}
/**
@ -639,7 +641,9 @@ abstract class Driver {
break;
default:
// @codeCoverageIgnoreStart
throw new \DomainException("Unknown watcher type");
// @codeCoverageIgnoreEnd
}
if ($watcher->enabled) {