Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | private function build_mock_actions() { |
||
27 | $builder = new MockBuilder(); |
||
28 | $builder->setNamespace( Connection::class ) |
||
29 | ->setName( 'do_action' ) |
||
30 | ->setFunction( |
||
31 | // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable |
||
32 | function ( $tag ) { |
||
33 | // Left blank intentionally. |
||
34 | } |
||
35 | ); |
||
36 | $this->do_action = $builder->build(); |
||
37 | } |
||
38 | |||
40 |