aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/sqlite.php
diff options
context:
space:
mode:
authorKunal Mehta <legoktm@member.fsf.org>2016-02-17 01:09:32 -0800
committerKunal Mehta <legoktm@member.fsf.org>2016-02-17 01:33:00 -0800
commit6e9b4f0e9ce4ccd6089c18b205065ef7fa077484 (patch)
tree58645fbce5c12d01b0d0fa87e338d4745e08920d /maintenance/sqlite.php
parent2fd379fa95f223c6b3f3c8eff6de068eca9e1a1a (diff)
downloadmediawikicore-6e9b4f0e9ce4ccd6089c18b205065ef7fa077484.tar.gz
mediawikicore-6e9b4f0e9ce4ccd6089c18b205065ef7fa077484.zip
Convert all array() syntax to []
Per wikitech-l consensus: https://lists.wikimedia.org/pipermail/wikitech-l/2016-February/084821.html Notes: * Disabled CallTimePassByReference due to false positives (T127163) Change-Id: I2c8ce713ce6600a0bb7bf67537c87044c7a45c4b
Diffstat (limited to 'maintenance/sqlite.php')
-rw-r--r--maintenance/sqlite.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/maintenance/sqlite.php b/maintenance/sqlite.php
index 5cc35edc559a..2d4e82abd6e7 100644
--- a/maintenance/sqlite.php
+++ b/maintenance/sqlite.php
@@ -131,7 +131,7 @@ class SqliteMaintenance extends Maintenance {
if ( !Sqlite::IsPresent() ) {
$this->error( "Error: SQLite support not found\n" );
}
- $files = array( $this->getOption( 'check-syntax' ) );
+ $files = [ $this->getOption( 'check-syntax' ) ];
$files += $this->mArgs;
$result = Sqlite::checkSqlSyntax( $files );
if ( $result === true ) {