jenkins-bot has submitted this change and it was merged.
Change subject: Hygiene: Fix use of __FILE__
......................................................................
Hygiene: Fix use of __FILE__
Use __DIR__ instead of dirname( __FILE__ )
Change-Id: I6291914728392134283ee900b2dada8e829690d6
---
M includes/Gather.hooks.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Jdlrobson: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/Gather.hooks.php b/includes/Gather.hooks.php
index 64b97cd..5e2b9c6 100644
--- a/includes/Gather.hooks.php
+++ b/includes/Gather.hooks.php
@@ -88,7 +88,7 @@
*/
public static function onResourceLoaderTestModules( &$modules, &$rl ) {
$boilerplate = array(
- 'localBasePath' => dirname( __FILE__ ) .
'/../tests/qunit/',
+ 'localBasePath' => __DIR__ . '/../tests/qunit/',
'remoteExtPath' => 'Gather/tests/qunit',
'targets' => array( 'desktop', 'mobile' ),
);
--
To view, visit https://gerrit.wikimedia.org/r/195220
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I6291914728392134283ee900b2dada8e829690d6
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Gather
Gerrit-Branch: master
Gerrit-Owner: Jhernandez <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: Jhernandez <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits