phpcs: More require/include is not a function
[lhc/web/wiklou.git] / maintenance / language / validate.php
index 4f00496..63d9b84 100644 (file)
@@ -36,8 +36,8 @@ define( 'NOT_REALLY_MEDIAWIKI', 1 );
 
 $IP = __DIR__ . '/../..';
 
-require_once( "$IP/includes/Defines.php" );
-require_once( "$IP/languages/Language.php" );
+require_once "$IP/includes/Defines.php";
+require_once "$IP/languages/Language.php";
 
 $files = array();
 foreach ( $argv as $arg ) {
@@ -57,7 +57,7 @@ foreach ( $files as $filename ) {
 }
 
 function getVars( $filename ) {
-       require( $filename );
+       require $filename;
        $vars = get_defined_vars();
        unset( $vars['filename'] );
        return $vars;