aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/importImages.php
diff options
context:
space:
mode:
authorTimo Tijhof <krinklemail@gmail.com>2013-05-17 02:16:59 +0200
committerTimo Tijhof <krinklemail@gmail.com>2013-05-21 23:26:28 +0200
commitbeb1c4a0eced04ce2098433c383f1fbe469569c9 (patch)
tree93a4a0ef5ff6294e5da3ef9a7759cfc1eae3fad5 /maintenance/importImages.php
parent42333412833ab7f7515e193b83a909921c34887d (diff)
downloadmediawikicore-beb1c4a0eced04ce2098433c383f1fbe469569c9.tar.gz
mediawikicore-beb1c4a0eced04ce2098433c383f1fbe469569c9.zip
phpcs: More require/include is not a function
Follows-up I1343872de7, Ia533aedf63 and I2df2f80b81. Also updated usage in text in documentation and the installer LocalSettingsGenerator. Most of them were handled by this regex: - find: (require|include|require_once|include_once)\s*\(\s*(.+?)\s*\)\s*;$ - replace: $1 $2; Change-Id: I6b38aad9a5149c9c43ce18bd8edbab14b8ce43fa
Diffstat (limited to 'maintenance/importImages.php')
-rw-r--r--maintenance/importImages.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/maintenance/importImages.php b/maintenance/importImages.php
index 9b0a2906765c..cbbcf0f9e602 100644
--- a/maintenance/importImages.php
+++ b/maintenance/importImages.php
@@ -35,8 +35,8 @@ $optionsWithArgs = array(
'extensions', 'comment', 'comment-file', 'comment-ext', 'summary', 'user',
'license', 'sleep', 'limit', 'from', 'source-wiki-url', 'timestamp',
);
-require_once( __DIR__ . '/commandLine.inc' );
-require_once( __DIR__ . '/importImages.inc' );
+require_once __DIR__ . '/commandLine.inc';
+require_once __DIR__ . '/importImages.inc';
$processed = $added = $ignored = $skipped = $overwritten = $failed = 0;
echo "Import Images\n\n";