mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 21:53:35 +00:00
Remove unused phan suppressions
Change-Id: Ib42f9b00948506ae2c053f51cb7dfddb0f7eb480
This commit is contained in:
parent
bc5ff46176
commit
0bd53dfeb1
|
@ -43,12 +43,8 @@ class ConfirmEditHandler implements EditFilterMergedContentHook {
|
|||
// will run in a narrower scope (not invoking ConfirmEdit's onConfirmEditTriggersCaptcha hook,
|
||||
// for example), and will just make sure that the status is modified to present a CAPTCHA to
|
||||
// the user.
|
||||
// FIXME: Remove phan suppression after I3484d66298bc9f49dfbe003a0605e2ac1a092e10 is merged
|
||||
// @phan-suppress-next-line PhanUndeclaredMethod
|
||||
if ( $simpleCaptcha->shouldForceShowCaptcha() &&
|
||||
// @phan-suppress-next-line PhanUndeclaredMethod
|
||||
!$simpleCaptcha->isCaptchaSolved() &&
|
||||
// @phan-suppress-next-line PhanUndeclaredMethod
|
||||
$simpleCaptcha->editFilterMergedContentHandlerAlreadyInvoked() ) {
|
||||
return $simpleCaptcha->confirmEditMerged(
|
||||
$context,
|
||||
|
|
Loading…
Reference in a new issue