Fix phpcs errors in tests dir
Change-Id: I79fa3b8f92e958f4a0dc4fe892703f37d711ca95
This commit is contained in:
parent
a6c1c22b53
commit
dcaa81c743
4 changed files with 11 additions and 6 deletions
|
|
@ -9,7 +9,7 @@
|
|||
*/
|
||||
class ApiRevisionDeleteTest extends ApiTestCase {
|
||||
|
||||
static $page = 'Help:ApiRevDel_test';
|
||||
public static $page = 'Help:ApiRevDel_test';
|
||||
public $revs = array();
|
||||
|
||||
protected function setUp() {
|
||||
|
|
|
|||
|
|
@ -7,7 +7,12 @@ class ResourceLoaderModuleTest extends ResourceLoaderTestCase {
|
|||
|
||||
// The return value of the closure shouldn't matter since this test should
|
||||
// never call it
|
||||
SkinFactory::getDefaultInstance()->register( 'fakeskin', 'FakeSkin', function(){});
|
||||
SkinFactory::getDefaultInstance()->register(
|
||||
'fakeskin',
|
||||
'FakeSkin',
|
||||
function(){
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ require __DIR__ . '/../../../maintenance/Maintenance.php';
|
|||
|
||||
class GenerateJqueryMsgData extends Maintenance {
|
||||
|
||||
static $keyToTestArgs = array(
|
||||
public static $keyToTestArgs = array(
|
||||
'undelete_short' => array(
|
||||
array( 0 ),
|
||||
array( 1 ),
|
||||
|
|
|
|||
|
|
@ -51,8 +51,8 @@ interface ITestRecorder {
|
|||
}
|
||||
|
||||
class TestRecorder implements ITestRecorder {
|
||||
var $parent;
|
||||
var $term;
|
||||
public $parent;
|
||||
public $term;
|
||||
|
||||
function __construct( $parent ) {
|
||||
$this->parent = $parent;
|
||||
|
|
@ -295,7 +295,7 @@ class DbTestPreviewer extends TestRecorder {
|
|||
}
|
||||
|
||||
class DbTestRecorder extends DbTestPreviewer {
|
||||
var $version;
|
||||
public $version;
|
||||
|
||||
/**
|
||||
* Set up result recording; insert a record for the run with the date
|
||||
|
|
|
|||
Loading…
Reference in a new issue