$xi = $yi = 1;
$block = false;
- $context = array();
+ $context = [];
$nlead = $this->leadingContextLines;
$ntrail = $this->trailingContextLines;
$context = array_slice( $context, count( $context ) - $nlead );
$x0 = $xi - count( $context );
$y0 = $yi - count( $context );
- $block = array();
+ $block = [];
if ( $context ) {
$block[] = new DiffOpCopy( $context );
}