Conditions | 3 |
Paths | 3 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 2 |
1 | <?php |
||
42 | public function respond(Match $match, TemplateInterface $template, $message = "") |
||
43 | { |
||
44 | if ($match->isMatch()) { |
||
45 | return; |
||
46 | } |
||
47 | |||
48 | $this->formatter->setMatch($match); |
||
49 | $message = ($message) ? $message : $this->formatter->getMessage($template); |
||
50 | throw new AssertionException($message); |
||
51 | } |
||
52 | } |
||
53 |