mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ReplaceText
synced 2024-11-23 22:33:48 +00:00
Remove unneeded break after throw
Change-Id: Ief0dd9ecbf62ab84a3e504634eff4a236c115691
This commit is contained in:
parent
281a00cf20
commit
2fb5c57fba
|
@ -6,11 +6,9 @@
|
|||
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate" />
|
||||
<exclude name="MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage" />
|
||||
<exclude name="MediaWiki.Usage.ExtendClassUsage.FunctionVarUsage" />
|
||||
<exclude name="Squiz.PHP.NonExecutableCode.Unreachable" />
|
||||
<exclude name="Squiz.Scope.MethodScope.Missing" />
|
||||
</rule>
|
||||
<file>.</file>
|
||||
<arg name="extensions" value="php" />
|
||||
<arg name="encoding" value="UTF-8" />
|
||||
<exclude-pattern>vendor</exclude-pattern>
|
||||
</ruleset>
|
||||
|
|
|
@ -144,7 +144,6 @@ class ReplaceAll extends Maintenance {
|
|||
$handle = fopen( $file, "r" );
|
||||
if ( $handle === false ) {
|
||||
throw new MWException( "Trouble opening file: $file\n" );
|
||||
return false;
|
||||
}
|
||||
|
||||
$this->defaultContinue = true;
|
||||
|
|
Loading…
Reference in a new issue