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 /tests/phpunit/includes/api/generateRandomImages.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 'tests/phpunit/includes/api/generateRandomImages.php')
-rw-r--r-- | tests/phpunit/includes/api/generateRandomImages.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/phpunit/includes/api/generateRandomImages.php b/tests/phpunit/includes/api/generateRandomImages.php index bdd15c48980e..87f5c4c0601c 100644 --- a/tests/phpunit/includes/api/generateRandomImages.php +++ b/tests/phpunit/includes/api/generateRandomImages.php @@ -6,8 +6,8 @@ */ // Start up MediaWiki in command-line mode -require_once( __DIR__ . "/../../../../maintenance/Maintenance.php" ); -require( __DIR__ . "/RandomImageGenerator.php" ); +require_once __DIR__ . "/../../../../maintenance/Maintenance.php"; +require __DIR__ . "/RandomImageGenerator.php"; class GenerateRandomImages extends Maintenance { @@ -43,4 +43,4 @@ class GenerateRandomImages extends Maintenance { } $maintClass = 'GenerateRandomImages'; -require( RUN_MAINTENANCE_IF_MAIN ); +require RUN_MAINTENANCE_IF_MAIN; |