Re-enable MediaWiki.Commenting.FunctionComment.MissingReturn sniff

Bug: T168384
Change-Id: I8d7b750503ca9c951267a948862c3685ea036100
This commit is contained in:
Piotr Miazga 2017-07-12 22:29:34 +02:00
parent 5b62bc625b
commit 75ef7c4f93
2 changed files with 1 additions and 2 deletions

View file

@ -149,7 +149,7 @@ class PopupsContext {
/**
* Are Page previews visible on User Preferences Page
*
* return @bool
* @return bool
*/
public function showPreviewsOptInOnPreferencesPage() {
return !$this->isBetaFeatureEnabled()

View file

@ -1,7 +1,6 @@
<?xml version="1.0"?>
<ruleset>
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
<exclude name="MediaWiki.Commenting.FunctionComment.MissingReturn" />
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
</rule>