Jhernandez has uploaded a new change for review.
https://gerrit.wikimedia.org/r/195220
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(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Gather
refs/changes/20/195220/1
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: newchange
Gerrit-Change-Id: I6291914728392134283ee900b2dada8e829690d6
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Gather
Gerrit-Branch: master
Gerrit-Owner: Jhernandez <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits