mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 09:09:25 +00:00
Make makeStaticLoader.php pass phpcs
Change-Id: Ibdf95ca3c3047d497b05cbe195f8b839f111f12e
This commit is contained in:
parent
391057bcec
commit
7d9247040c
|
@ -73,11 +73,11 @@ class MakeStaticLoader extends Maintenance {
|
|||
|
||||
// Path to /modules/
|
||||
$vePath = $this->getOption( 've-path',
|
||||
$target === 'demo'
|
||||
$target === 'demo' ?
|
||||
// From /demos/ve/index.php
|
||||
? '../../modules'
|
||||
'../../modules' :
|
||||
// From /modules/ve/test/index.html
|
||||
: '../..'
|
||||
'../..'
|
||||
);
|
||||
|
||||
$wgResourceModules['Dependencies'] = array(
|
||||
|
@ -141,7 +141,7 @@ class MakeStaticLoader extends Maintenance {
|
|||
've/init/sa/ve.init.sa.Target.js',
|
||||
) );
|
||||
|
||||
$self = isset( $_SERVER['PHP_SELF'] ) ? $_SERVER['PHP_SELF'] : ( lcfirst( __CLASS__ ) . '.php' );
|
||||
$self = isset( $_SERVER['PHP_SELF'] ) ? $_SERVER['PHP_SELF'] : ( lcfirst( __CLASS__ ) . '.php' );
|
||||
|
||||
$head = $body = '';
|
||||
|
||||
|
|
Loading…
Reference in a new issue