// Bail on old versions of PHP, or if composer has not been run yet to install
// dependencies. Using dirname( __FILE__ ) here because __DIR__ is PHP5.3+.
+// @codingStandardsIgnoreStart MediaWiki.Usage.DirUsage.FunctionFound
require_once dirname( __FILE__ ) . '/../includes/PHPVersionCheck.php';
+// @codingStandardsIgnoreEnd
wfEntryPointCheck( 'cli' );
/**
}
# Save additional script dependant options to display
- # them separately in help
+ # them separately in help
$this->mDependantParameters = array_diff_key( $this->mParams, $this->mGenericParameters );
}
*/
private function lockSearchindex( $db ) {
$write = array( 'searchindex' );
- $read = array( 'page', 'revision', 'text', 'interwiki', 'l10n_cache', 'user', 'page_restrictions' );
+ $read = array(
+ 'page',
+ 'revision',
+ 'text',
+ 'interwiki',
+ 'l10n_cache',
+ 'user',
+ 'page_restrictions'
+ );
$db->lockTables( $read, $write, __CLASS__ . '::' . __METHOD__ );
}