Conditions | 3 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | public function createEngine(FilterInterface $filter = null, bool $ignoreUnknownAnnotations = false): Engine |
||
27 | { |
||
28 | return new Engine( |
||
29 | new Parser, |
||
30 | new ExampleFactory( |
||
31 | new ExpectationFactory, |
||
32 | $filter ?: new NullFilter, |
||
33 | $ignoreUnknownAnnotations |
||
34 | ), |
||
35 | new ExampleTester( |
||
36 | $this->runner ?: new EvalRunner, |
||
37 | new ExpectationEvaluator |
||
38 | ) |
||
42 |