summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/Translate/scripts/mwcore-export.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/extensions/Translate/scripts/mwcore-export.php')
-rw-r--r--www/wiki/extensions/Translate/scripts/mwcore-export.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/wiki/extensions/Translate/scripts/mwcore-export.php b/www/wiki/extensions/Translate/scripts/mwcore-export.php
index c8792131..8e352339 100644
--- a/www/wiki/extensions/Translate/scripts/mwcore-export.php
+++ b/www/wiki/extensions/Translate/scripts/mwcore-export.php
@@ -5,7 +5,7 @@
* @author Niklas Laxström
* @author Siebrand Mazeland
* @copyright Copyright © 2009-2013, Niklas Laxström, Siebrand Mazeland
- * @license GPL-2.0+
+ * @license GPL-2.0-or-later
* @file
*/
@@ -73,7 +73,7 @@ class MwCoreExport extends Maintenance {
continue;
}
- $matches = array();
+ $matches = [];
preg_match( '~^(\$[a-zA-Z]+)\s*=~m', $export, $matches );
if ( !isset( $matches[1] ) ) {
@@ -129,5 +129,5 @@ class MwCoreExport extends Maintenance {
}
}
-$maintClass = 'MwCoreExport';
+$maintClass = MwCoreExport::class;
require_once RUN_MAINTENANCE_IF_MAIN;