Fix MediaWiki.Commenting.PropertyDocumentation.SpacingAfter issues

Fixes some MediaWiki.Commenting.PropertyDocumentation.SpacingAfter PHPCS
errors by converting doc-comments into regular comments.

Change-Id: Iac8fece839e0a54855bb1f431d2ee88a5783ddab
This commit is contained in:
Taavi Väänänen 2024-04-22 13:14:06 +03:00
parent 9cb7cd443c
commit 6151a420d7
No known key found for this signature in database
GPG key ID: EF242F709F912FBE
3 changed files with 5 additions and 8 deletions

View file

@ -9,7 +9,6 @@
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected" />
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic" />
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingVar" />
<exclude name="MediaWiki.Commenting.PropertyDocumentation.SpacingAfter" />
<exclude name="MediaWiki.Commenting.PropertyDocumentation.WrongStyle" />
<exclude name="MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName" />
<exclude name="MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgTitle" />

View file

@ -107,7 +107,7 @@ class SpecialUpload extends SpecialPage {
return true;
}
/** Misc variables */
// Misc variables
/** @var WebRequest|FauxRequest The request this form is supposed to handle */
public $mRequest;
@ -123,21 +123,21 @@ class SpecialUpload extends SpecialPage {
public $mLocalFile;
public $mUploadClicked;
/** User input variables from the "description" section */
// User input variables from the "description" section
/** @var string The requested target file name */
public $mDesiredDestName;
public $mComment;
public $mLicense;
/** User input variables from the root section */
// User input variables from the root section
public $mIgnoreWarning;
public $mWatchthis;
public $mCopyrightStatus;
public $mCopyrightSource;
/** Hidden variables */
// Hidden variables
public $mDestWarningAck;

View file

@ -57,9 +57,7 @@ class UserNameUtils implements UserRigorOptions {
*/
private const IPV4_ADDRESS = '\d{1,3}\.\d{1,3}\.\d{1,3}\.(?:xxx|\d{1,3})';
/**
* RIGOR_* constants are inherited from UserRigorOptions
*/
// RIGOR_* constants are inherited from UserRigorOptions
private ServiceOptions $options;
private Language $contentLang;