jenkins-bot has submitted this change and it was merged.
Change subject: MWException -> Exception
......................................................................
MWException -> Exception
Change-Id: I7d45ea678db7fcd86cac2c8ad56e03b8b35e65cd
---
M includes/ApiBounceHandler.php
M includes/BounceHandlerActions.php
M includes/BounceHandlerJob.php
M includes/ProcessBounceWithPlancake.php
M includes/ProcessUnRecognizedBounces.php
M includes/VerpAddressGenerator.php
M tests/ApiBounceHandlerTest.php
M tests/ProcessBounceWithRegexTest.php
M tests/UnSubscribeUserTest.php
M tests/VERPEncodeDecodeTest.php
10 files changed, 10 insertions(+), 10 deletions(-)
Approvals:
Hoo man: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/ApiBounceHandler.php b/includes/ApiBounceHandler.php
index b3bcbe6..525dbea 100644
--- a/includes/ApiBounceHandler.php
+++ b/includes/ApiBounceHandler.php
@@ -91,4 +91,4 @@
return
"https://www.mediawiki.org/wiki/Extension:BounceHandler#API";
}
-}
\ No newline at end of file
+}
diff --git a/includes/BounceHandlerActions.php
b/includes/BounceHandlerActions.php
index 375ab48..df1671c 100644
--- a/includes/BounceHandlerActions.php
+++ b/includes/BounceHandlerActions.php
@@ -33,7 +33,7 @@
public function __construct( $wikiId, $bounceRecordPeriod,
$bounceRecordLimit, $bounceHandlerUnconfirmUsers ) {
if ( $wikiId !== wfWikiID() ) {
// We want to use the User class methods, which make no
sense on the wrong wiki
- throw new MWException( "BounceHandlerActions
constructed for a foreign wiki." );
+ throw new Exception( "BounceHandlerActions constructed
for a foreign wiki." );
}
$this->wikiId = $wikiId;
diff --git a/includes/BounceHandlerJob.php b/includes/BounceHandlerJob.php
index 0097958..aace56a 100644
--- a/includes/BounceHandlerJob.php
+++ b/includes/BounceHandlerJob.php
@@ -22,4 +22,4 @@
return true;
}
-}
\ No newline at end of file
+}
diff --git a/includes/ProcessBounceWithPlancake.php
b/includes/ProcessBounceWithPlancake.php
index a45d20f..07347fe 100644
--- a/includes/ProcessBounceWithPlancake.php
+++ b/includes/ProcessBounceWithPlancake.php
@@ -38,4 +38,4 @@
return $emailHeaders;
}
-}
\ No newline at end of file
+}
diff --git a/includes/ProcessUnRecognizedBounces.php
b/includes/ProcessUnRecognizedBounces.php
index 34f0889..0936e62 100644
--- a/includes/ProcessUnRecognizedBounces.php
+++ b/includes/ProcessUnRecognizedBounces.php
@@ -37,4 +37,4 @@
wfDebugLog( 'BounceHandler', "Cannot send notification
to administrators" );
}
}
-}
\ No newline at end of file
+}
diff --git a/includes/VerpAddressGenerator.php
b/includes/VerpAddressGenerator.php
index 22aef1c..907e82c 100644
--- a/includes/VerpAddressGenerator.php
+++ b/includes/VerpAddressGenerator.php
@@ -89,4 +89,4 @@
$returnPath = $email_prefix. '-' .$verp_hash. '@'
.$email_domain;
return $returnPath;
}
-}
\ No newline at end of file
+}
diff --git a/tests/ApiBounceHandlerTest.php b/tests/ApiBounceHandlerTest.php
index 94da074..62d59d6 100644
--- a/tests/ApiBounceHandlerTest.php
+++ b/tests/ApiBounceHandlerTest.php
@@ -114,4 +114,4 @@
) );
}
-}
\ No newline at end of file
+}
diff --git a/tests/ProcessBounceWithRegexTest.php
b/tests/ProcessBounceWithRegexTest.php
index 032ac09..4e239ac 100644
--- a/tests/ProcessBounceWithRegexTest.php
+++ b/tests/ProcessBounceWithRegexTest.php
@@ -27,4 +27,4 @@
$this->assertArrayEquals( $regexResult, $plancakeResult );
}
-}
\ No newline at end of file
+}
diff --git a/tests/UnSubscribeUserTest.php b/tests/UnSubscribeUserTest.php
index 143ecbe..dba567b 100644
--- a/tests/UnSubscribeUserTest.php
+++ b/tests/UnSubscribeUserTest.php
@@ -58,4 +58,4 @@
}
-}
\ No newline at end of file
+}
diff --git a/tests/VERPEncodeDecodeTest.php b/tests/VERPEncodeDecodeTest.php
index 7b07a15..844c31c 100644
--- a/tests/VERPEncodeDecodeTest.php
+++ b/tests/VERPEncodeDecodeTest.php
@@ -60,4 +60,4 @@
}
}
-}
\ No newline at end of file
+}
--
To view, visit https://gerrit.wikimedia.org/r/184033
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I7d45ea678db7fcd86cac2c8ad56e03b8b35e65cd
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BounceHandler
Gerrit-Branch: master
Gerrit-Owner: Ori.livneh <[email protected]>
Gerrit-Reviewer: 01tonythomas <[email protected]>
Gerrit-Reviewer: Hoo man <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits