"continue" statements in a switch are equivalent to "break". In PHP 7.3, will generate a warning.
Bug: T206974
Change-Id: I54bcec013ff52ab81bff09f8f7ef02f3944a5b7d
(cherry picked from commit
f3b012b51f492155cd7acf4d7f641cd43147bfc0)
case 'historyblobcurstub':
if ( strlen( $row->header ) == $headerLength ) {
$this->addError( 'unfixable', "Error: overlong stub header", $oldId );
- continue;
+ break;
}
$stubObj = unserialize( $row->header );
if ( !is_object( $stubObj ) ) {
$this->addError( 'restore text', "Error: unable to unserialize stub object", $oldId );
- continue;
+ break;
}
if ( $className == 'historyblobstub' ) {
$concatBlobs[$stubObj->mOldId][] = $oldId;