| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | public function find_invocation_warnings( $invocation, $warnings ) { |
||
| 34 | if ( $invocation->depends_on( $this->declaration ) ) { |
||
| 35 | $warnings->add( |
||
| 36 | new Warning( $this->type(), $invocation->path, $invocation->line, 'Function ' . $this->declaration->display_name() . ' is missing', $this->declaration ) |
||
| 37 | ); |
||
| 38 | } |
||
| 39 | } |
||
| 40 | } |
||
| 41 |