diff options
author | Timo Tijhof <krinklemail@gmail.com> | 2013-05-17 02:16:59 +0200 |
---|---|---|
committer | Timo Tijhof <krinklemail@gmail.com> | 2013-05-21 23:26:28 +0200 |
commit | beb1c4a0eced04ce2098433c383f1fbe469569c9 (patch) | |
tree | 93a4a0ef5ff6294e5da3ef9a7759cfc1eae3fad5 /maintenance/patchSql.php | |
parent | 42333412833ab7f7515e193b83a909921c34887d (diff) | |
download | mediawikicore-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/patchSql.php')
-rw-r--r-- | maintenance/patchSql.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/maintenance/patchSql.php b/maintenance/patchSql.php index 6a3ca37d3d11..31ce15662225 100644 --- a/maintenance/patchSql.php +++ b/maintenance/patchSql.php @@ -22,7 +22,7 @@ * @ingroup Maintenance */ -require_once( __DIR__ . '/Maintenance.php' ); +require_once __DIR__ . '/Maintenance.php'; /** * Maintenance script that manually runs an SQL patch outside of the general updaters. |