| Conditions | 3 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare( strict_types=1 ); |
||
| 17 | public function runInternal(): int { |
||
| 18 | $orderedList = [ |
||
| 19 | 'create-pages', |
||
| 20 | 'open-updates', |
||
| 21 | 'user-notice' |
||
| 22 | ]; |
||
| 23 | |||
| 24 | $res = new TaskResult( TaskResult::STATUS_NOTHING ); |
||
| 25 | do { |
||
| 26 | $res->merge( $this->runSubtask( current( $orderedList ) ) ); |
||
| 27 | } while ( $res->isOK() && next( $orderedList ) ); |
||
| 28 | |||
| 29 | return $res->getStatus(); |
||
| 30 | } |
||
| 43 |