jenkins-bot has submitted this change and it was merged.

Change subject: Remove additional brackets from require_once
......................................................................


Remove additional brackets from require_once

Change-Id: Iae68431167d5471e4e6a7743b884ea2ae6953558
---
M maintenance/BatchExport.php
M maintenance/BatchImport.php
M maintenance/CalculateDistances.php
M maintenance/CleanMathTable.php
M maintenance/CreateBaseXMathTable.php
M maintenance/CreateDB2MathTable.php
M maintenance/CreateMWSHarvest.php
M maintenance/ExportCache.php
M maintenance/ExtractFeatures.php
M maintenance/GenerateFeatureTable.php
M maintenance/GenerateWorkload.php
M maintenance/ImportDefinitions.php
M maintenance/IndexBase.php
M maintenance/MathPerformance.php
M maintenance/QueryEval.php
M maintenance/UpdateMath.php
M maintenance/WMCAssessSeeds.php
M maintenance/WmcRefIdentifier.php
18 files changed, 35 insertions(+), 35 deletions(-)

Approvals:
  Physikerwelt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/maintenance/BatchExport.php b/maintenance/BatchExport.php
index 9807c77..01c6fc5 100644
--- a/maintenance/BatchExport.php
+++ b/maintenance/BatchExport.php
@@ -19,7 +19,7 @@
  * @ingroup Maintenance
  */
 
-require_once ( __DIR__ . '/../../../maintenance/Maintenance.php' );
+require_once __DIR__ . '/../../../maintenance/Maintenance.php';
 
 /**
  * Class BatchExport
@@ -68,4 +68,4 @@
 
 $maintClass = 'BatchExport';
 /** @noinspection PhpIncludeInspection */
-require_once ( RUN_MAINTENANCE_IF_MAIN );
+require_once RUN_MAINTENANCE_IF_MAIN;
diff --git a/maintenance/BatchImport.php b/maintenance/BatchImport.php
index 195d544..d0bcd61 100644
--- a/maintenance/BatchImport.php
+++ b/maintenance/BatchImport.php
@@ -19,7 +19,7 @@
  * @ingroup Maintenance
  */
 
-require_once ( __DIR__ . '/../../../maintenance/Maintenance.php' );
+require_once __DIR__ . '/../../../maintenance/Maintenance.php';
 
 /**
  * Class BatchImport
@@ -85,4 +85,4 @@
 
 $maintClass = 'BatchImport';
 /** @noinspection PhpIncludeInspection */
-require_once ( RUN_MAINTENANCE_IF_MAIN );
+require_once RUN_MAINTENANCE_IF_MAIN;
diff --git a/maintenance/CalculateDistances.php 
b/maintenance/CalculateDistances.php
index fef27db..d12ea2e 100644
--- a/maintenance/CalculateDistances.php
+++ b/maintenance/CalculateDistances.php
@@ -19,7 +19,7 @@
  * @ingroup Maintenance
  */
 
-require_once ( __DIR__ . '/../../../maintenance/Maintenance.php' );
+require_once __DIR__ . '/../../../maintenance/Maintenance.php';
 
 /**
  * Class CalculateDistances
@@ -119,4 +119,4 @@
 
 $maintClass = 'CalculateDistances';
 /** @noinspection PhpIncludeInspection */
-require_once ( RUN_MAINTENANCE_IF_MAIN );
+require_once RUN_MAINTENANCE_IF_MAIN;
diff --git a/maintenance/CleanMathTable.php b/maintenance/CleanMathTable.php
index 2b0af83..33a97e3 100644
--- a/maintenance/CleanMathTable.php
+++ b/maintenance/CleanMathTable.php
@@ -19,7 +19,7 @@
  * @ingroup Maintenance
  */
 
-require_once ( __DIR__ . '/../../../maintenance/Maintenance.php' );
+require_once __DIR__ . '/../../../maintenance/Maintenance.php';
 
 /**
  * Class CleanMathTable
@@ -64,4 +64,4 @@
 
 $maintClass = 'CleanMathTable';
 /** @noinspection PhpIncludeInspection */
-require_once ( RUN_MAINTENANCE_IF_MAIN );
+require_once RUN_MAINTENANCE_IF_MAIN;
diff --git a/maintenance/CreateBaseXMathTable.php 
b/maintenance/CreateBaseXMathTable.php
index 0b839f4..a18155b 100644
--- a/maintenance/CreateBaseXMathTable.php
+++ b/maintenance/CreateBaseXMathTable.php
@@ -21,7 +21,7 @@
  * @ingroup Maintenance
  */
 
-require_once ( __DIR__ . '/IndexBase.php' );
+require_once __DIR__ . '/IndexBase.php';
 
 /**
  * @author Moritz Schubotz
@@ -120,4 +120,4 @@
 
 $maintClass = 'CreateBaseXMathTable';
 /** @noinspection PhpIncludeInspection */
-require_once ( RUN_MAINTENANCE_IF_MAIN );
+require_once RUN_MAINTENANCE_IF_MAIN;
diff --git a/maintenance/CreateDB2MathTable.php 
b/maintenance/CreateDB2MathTable.php
index 0479e43..f64c387 100644
--- a/maintenance/CreateDB2MathTable.php
+++ b/maintenance/CreateDB2MathTable.php
@@ -19,7 +19,7 @@
  * @ingroup Maintenance
  */
 
-require_once ( __DIR__. '/IndexBase.php' );
+require_once __DIR__. '/IndexBase.php';
 
 /**
  * @author Moritz Schubotz
@@ -108,4 +108,4 @@
 
 $maintClass = 'CreateDB2MathTable';
 /** @noinspection PhpIncludeInspection */
-require_once ( RUN_MAINTENANCE_IF_MAIN );
+require_once RUN_MAINTENANCE_IF_MAIN;
diff --git a/maintenance/CreateMWSHarvest.php b/maintenance/CreateMWSHarvest.php
index 457ec13..34047bb 100644
--- a/maintenance/CreateMWSHarvest.php
+++ b/maintenance/CreateMWSHarvest.php
@@ -21,7 +21,7 @@
  * @ingroup Maintenance
  */
 
-require_once ( __DIR__ . '/IndexBase.php' );
+require_once __DIR__ . '/IndexBase.php';
 
 /**
  * @author Moritz Schubotz
@@ -75,4 +75,4 @@
 
 $maintClass = 'CreateMWSHarvest';
 /** @noinspection PhpIncludeInspection */
-require_once ( RUN_MAINTENANCE_IF_MAIN );
+require_once RUN_MAINTENANCE_IF_MAIN;
diff --git a/maintenance/ExportCache.php b/maintenance/ExportCache.php
index b9e4cd7..81e58b5 100644
--- a/maintenance/ExportCache.php
+++ b/maintenance/ExportCache.php
@@ -19,7 +19,7 @@
  * @ingroup Maintenance
  */
 
-require_once ( __DIR__ . '/../../../maintenance/Maintenance.php' );
+require_once __DIR__ . '/../../../maintenance/Maintenance.php';
 
 class ExportMathCache extends Maintenance {
        const DEFAULT_TABLE = 'mathoid';
@@ -104,4 +104,4 @@
 }
 
 $maintClass = "ExportMathCache";
-require_once ( RUN_MAINTENANCE_IF_MAIN );
+require_once RUN_MAINTENANCE_IF_MAIN;
diff --git a/maintenance/ExtractFeatures.php b/maintenance/ExtractFeatures.php
index 5f417c5..2c73344 100644
--- a/maintenance/ExtractFeatures.php
+++ b/maintenance/ExtractFeatures.php
@@ -19,7 +19,7 @@
  * @ingroup Maintenance
  */
 
-require_once ( __DIR__ . '/../../../maintenance/Maintenance.php' );
+require_once __DIR__ . '/../../../maintenance/Maintenance.php';
 
 /**
  * Class ExtractFeatures
@@ -165,4 +165,4 @@
 
 $maintClass = 'ExtractFeatures';
 /** @noinspection PhpIncludeInspection */
-require_once ( RUN_MAINTENANCE_IF_MAIN );
+require_once RUN_MAINTENANCE_IF_MAIN;
diff --git a/maintenance/GenerateFeatureTable.php 
b/maintenance/GenerateFeatureTable.php
index 3839187..ccf815b 100644
--- a/maintenance/GenerateFeatureTable.php
+++ b/maintenance/GenerateFeatureTable.php
@@ -19,7 +19,7 @@
  * @ingroup Maintenance
  */
 
-require_once ( __DIR__ . '/../../../maintenance/Maintenance.php' );
+require_once __DIR__ . '/../../../maintenance/Maintenance.php';
 
 class GenerateFeatureTable extends Maintenance {
        const RTI_CHUNK_SIZE = 100000;
@@ -128,4 +128,4 @@
 
 $maintClass = "GenerateFeatureTable";
 /** @noinspection PhpIncludeInspection */
-require_once ( RUN_MAINTENANCE_IF_MAIN );
+require_once RUN_MAINTENANCE_IF_MAIN;
diff --git a/maintenance/GenerateWorkload.php b/maintenance/GenerateWorkload.php
index 1520ef3..953581d 100644
--- a/maintenance/GenerateWorkload.php
+++ b/maintenance/GenerateWorkload.php
@@ -21,7 +21,7 @@
  * @ingroup Maintenance
  */
 
-require_once ( __DIR__ . '/IndexBase.php' );
+require_once __DIR__ . '/IndexBase.php';
 
 /**
  * @author Moritz Schubotz
@@ -97,4 +97,4 @@
 
 $maintClass = 'GenerateWorkload';
 /** @noinspection PhpIncludeInspection */
-require_once ( RUN_MAINTENANCE_IF_MAIN );
+require_once RUN_MAINTENANCE_IF_MAIN;
diff --git a/maintenance/ImportDefinitions.php 
b/maintenance/ImportDefinitions.php
index 98567d3..2b10cb2 100644
--- a/maintenance/ImportDefinitions.php
+++ b/maintenance/ImportDefinitions.php
@@ -19,7 +19,7 @@
  * @ingroup Maintenance
  */
 
-require_once ( __DIR__ . '/../../../maintenance/Maintenance.php' );
+require_once __DIR__ . '/../../../maintenance/Maintenance.php';
 
 /**
  * Class ImportDefinitions
@@ -88,4 +88,4 @@
 
 $maintClass = 'ImportDefinitions';
 /** @noinspection PhpIncludeInspection */
-require_once ( RUN_MAINTENANCE_IF_MAIN );
+require_once RUN_MAINTENANCE_IF_MAIN;
diff --git a/maintenance/IndexBase.php b/maintenance/IndexBase.php
index ac9edf8..b382463 100644
--- a/maintenance/IndexBase.php
+++ b/maintenance/IndexBase.php
@@ -21,7 +21,7 @@
  * @ingroup Maintenance
  */
 
-require_once ( __DIR__ . '/../../../maintenance/Maintenance.php' );
+require_once __DIR__ . '/../../../maintenance/Maintenance.php';
 
 /**
  * @author Moritz Schubotz
diff --git a/maintenance/MathPerformance.php b/maintenance/MathPerformance.php
index 698ef3b..40fae8b 100644
--- a/maintenance/MathPerformance.php
+++ b/maintenance/MathPerformance.php
@@ -19,7 +19,7 @@
  * @ingroup Maintenance
  */
 
-require_once ( __DIR__ . '/../../../maintenance/Maintenance.php' );
+require_once __DIR__ . '/../../../maintenance/Maintenance.php';
 
 class MathPerformance extends Maintenance {
        const RTI_CHUNK_SIZE = 10000;
@@ -196,4 +196,4 @@
 
 $maintClass = "MathPerformance";
 /** @noinspection PhpIncludeInspection */
-require_once ( RUN_MAINTENANCE_IF_MAIN );
+require_once RUN_MAINTENANCE_IF_MAIN;
diff --git a/maintenance/QueryEval.php b/maintenance/QueryEval.php
index f30d1ca..bd3f70b 100644
--- a/maintenance/QueryEval.php
+++ b/maintenance/QueryEval.php
@@ -19,7 +19,7 @@
  * @ingroup Maintenance
  */
 
-require_once ( __DIR__ . '/../../../maintenance/Maintenance.php' );
+require_once __DIR__ . '/../../../maintenance/Maintenance.php';
 
 /**
  * TODO: Get rid of the workaround
@@ -176,4 +176,4 @@
 
 $maintClass = 'QueryEval';
 /** @noinspection PhpIncludeInspection */
-require_once ( RUN_MAINTENANCE_IF_MAIN );
+require_once RUN_MAINTENANCE_IF_MAIN;
diff --git a/maintenance/UpdateMath.php b/maintenance/UpdateMath.php
index 350fe42..6184877 100644
--- a/maintenance/UpdateMath.php
+++ b/maintenance/UpdateMath.php
@@ -19,7 +19,7 @@
  * @ingroup Maintenance
  */
 
-require_once ( __DIR__ . '/../../../maintenance/Maintenance.php' );
+require_once __DIR__ . '/../../../maintenance/Maintenance.php';
 
 /**
  * Class UpdateMath
@@ -231,4 +231,4 @@
 
 $maintClass = "UpdateMath";
 /** @noinspection PhpIncludeInspection */
-require_once ( RUN_MAINTENANCE_IF_MAIN );
+require_once RUN_MAINTENANCE_IF_MAIN;
diff --git a/maintenance/WMCAssessSeeds.php b/maintenance/WMCAssessSeeds.php
index f2e3b1b..eebf68b 100644
--- a/maintenance/WMCAssessSeeds.php
+++ b/maintenance/WMCAssessSeeds.php
@@ -19,7 +19,7 @@
  * @ingroup Maintenance
  */
 
-require_once ( __DIR__ . '/../../../maintenance/Maintenance.php' );
+require_once __DIR__ . '/../../../maintenance/Maintenance.php';
 
 /**
  * Class BatchExport
@@ -62,4 +62,4 @@
 
 $maintClass = 'WMCAssessSeeds';
 /** @noinspection PhpIncludeInspection */
-require_once ( RUN_MAINTENANCE_IF_MAIN );
+require_once RUN_MAINTENANCE_IF_MAIN;
diff --git a/maintenance/WmcRefIdentifier.php b/maintenance/WmcRefIdentifier.php
index cbe2f6c..712af19 100644
--- a/maintenance/WmcRefIdentifier.php
+++ b/maintenance/WmcRefIdentifier.php
@@ -19,7 +19,7 @@
  * @ingroup Maintenance
  */
 
-require_once ( __DIR__ . '/../../../maintenance/Maintenance.php' );
+require_once __DIR__ . '/../../../maintenance/Maintenance.php';
 
 class WmcRefIdentifier extends Maintenance {
 
@@ -43,4 +43,4 @@
 
 $maintClass = 'WmcRefIdentifier';
 /** @noinspection PhpIncludeInspection */
-require_once ( RUN_MAINTENANCE_IF_MAIN );
+require_once RUN_MAINTENANCE_IF_MAIN;

-- 
To view, visit https://gerrit.wikimedia.org/r/261632
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iae68431167d5471e4e6a7743b884ea2ae6953558
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/MathSearch
Gerrit-Branch: master
Gerrit-Owner: Physikerwelt <[email protected]>
Gerrit-Reviewer: Dyiop <[email protected]>
Gerrit-Reviewer: Hcohl <[email protected]>
Gerrit-Reviewer: Physikerwelt <[email protected]>
Gerrit-Reviewer: Whyameri <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to