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:
parent
d7353d4d8f
commit
35ac983c53
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user