| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 15 |
| CRAP Score | 1 |
| Changes | 6 | ||
| Bugs | 0 | Features | 4 |
| 1 | <?php |
||
| 25 | 1 | private function buildNodeSimplifier(array $additionalSimplifiers) { |
|
| 26 | 1 | return new DispatchingSimplifier( |
|
| 27 | 1 | array_merge( |
|
| 28 | array( |
||
| 29 | 1 | new SetOperatorNodeSimplifier() |
|
| 30 | 1 | ), |
|
| 31 | 1 | $additionalSimplifiers, |
|
| 32 | array( |
||
| 33 | 1 | new FirstNodeSimplifier($this), |
|
| 34 | 1 | new LastNodeSimplifier($this), |
|
| 35 | 1 | new RecursiveOperatorNodeSimplifier($this), |
|
| 36 | 1 | new SetOperatorNodeSimplifier(), |
|
| 37 | 1 | new RecursiveSortNodeSimplifier($this), |
|
| 38 | 1 | new RecursiveTripleNodeSimplifier($this) |
|
| 39 | 1 | ) |
|
| 40 | 1 | ) |
|
| 41 | 1 | ); |
|
| 42 | } |
||
| 43 | |||
| 51 |