protected function setUp() {
parent::setUp();
- $this->setMwGlobals( array(
+ $this->setMwGlobals( [
'wgEnableEmail' => true,
'wgEmailAuthentication' => true,
- ) );
+ ] );
}
/**
/** Helper */
protected function prefsFor( $user_key ) {
- $preferences = array();
+ $preferences = [];
Preferences::profilePreferences(
$this->prefUsers[$user_key],
$this->context,