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