}
}
- protected function doApiRequest( array $params, array $unused = null, $appendModule = false, User $user = null ) {
+ protected function doApiRequest( array $params, array $unused = null,
+ $appendModule = false, User $user = null
+ ) {
$sessionId = session_id();
session_write_close();
$page->doDeleteArticle( '' );
}
- $this->assertFalse( (bool)$talk->getArticleID( Title::GAID_FOR_UPDATE ), 'User talk does not exist' );
+ $this->assertFalse(
+ (bool)$talk->getArticleID( Title::GAID_FOR_UPDATE ),
+ 'User talk does not exist'
+ );
$this->doApiRequest( array(
'action' => 'upload',
) );
} catch ( UsageException $e ) {
$exception = true;
- $this->assertEquals( 'Using leavemessage without ignorewarnings is not supported', $e->getMessage() );
+ $this->assertEquals(
+ 'Using leavemessage without ignorewarnings is not supported',
+ $e->getMessage()
+ );
}
$this->assertTrue( $exception );