mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-09-23 10:21:11 +00:00
Re-enable MediaWiki.Commenting.FunctionComment.MissingReturn sniff
Bug: T168384 Change-Id: I8d7b750503ca9c951267a948862c3685ea036100
This commit is contained in:
parent
5b62bc625b
commit
75ef7c4f93
|
@ -149,7 +149,7 @@ class PopupsContext {
|
|||
/**
|
||||
* Are Page previews visible on User Preferences Page
|
||||
*
|
||||
* return @bool
|
||||
* @return bool
|
||||
*/
|
||||
public function showPreviewsOptInOnPreferencesPage() {
|
||||
return !$this->isBetaFeatureEnabled()
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue