Remove auto-generated and empty lines in comments
… and add the missing newline after the initial <?php. Change-Id: I83bbbb1504e4b2bd97eec63c7626d34c655c3197
This commit is contained in:
parent
894ae3a3fc
commit
7a4df9b019
28 changed files with 5 additions and 31 deletions
|
|
@ -46,7 +46,6 @@ class ContentSecurityPolicy {
|
|||
private $extraStyleSrc = [];
|
||||
|
||||
/**
|
||||
*
|
||||
* @note As a general rule, you would not construct this class directly
|
||||
* but use the instance from OutputPage::getCSP()
|
||||
* @internal
|
||||
|
|
|
|||
|
|
@ -8063,7 +8063,6 @@ $wgExemptFromUserRobotsControl = null;
|
|||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* WARNING: SECURITY THREAT - debug use only
|
||||
*
|
||||
* Disables many security checks in the API for debugging purposes.
|
||||
|
|
|
|||
|
|
@ -42,7 +42,6 @@ class PageHTMLHandler extends LatestPageContentHandler {
|
|||
private $htmlResponse;
|
||||
|
||||
/**
|
||||
* PageHTMLHandler constructor.
|
||||
* @param Config $config
|
||||
* @param PermissionManager $permissionManager
|
||||
* @param RevisionLookup $revisionLookup
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
<?php
|
||||
/**
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
|
|
|
|||
|
|
@ -614,7 +614,6 @@ class ApiQueryImageInfo extends ApiQueryBase {
|
|||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param array $metadata
|
||||
* @param ApiResult $result
|
||||
* @return array
|
||||
|
|
|
|||
|
|
@ -103,7 +103,6 @@ abstract class ChangesListFilter {
|
|||
protected $priority;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $defaultHighlightColor;
|
||||
|
|
|
|||
|
|
@ -57,7 +57,6 @@ final class ContentHandlerFactory implements IContentHandlerFactory {
|
|||
private $objectFactory;
|
||||
|
||||
/**
|
||||
* ContentHandlerFactory constructor.
|
||||
* @since 1.35
|
||||
* @internal Use @see MediaWikiServices::getContentHandlerFactory
|
||||
*
|
||||
|
|
|
|||
|
|
@ -36,8 +36,6 @@ class UnsupportedSlotDiffRenderer extends SlotDiffRenderer {
|
|||
private $localizer;
|
||||
|
||||
/**
|
||||
* UnsupportedSlotDiffRenderer constructor.
|
||||
*
|
||||
* @param MessageLocalizer $localizer
|
||||
*/
|
||||
public function __construct( MessageLocalizer $localizer ) {
|
||||
|
|
|
|||
|
|
@ -77,8 +77,6 @@ class XmlDumpWriter {
|
|||
private $contentMode;
|
||||
|
||||
/**
|
||||
* XmlDumpWriter constructor.
|
||||
*
|
||||
* @param int $contentMode WRITE_CONTENT or WRITE_STUB.
|
||||
* @param string $schemaVersion which schema version the generated XML should comply to.
|
||||
* One of the values from self::$supportedSchemas, using the XML_DUMP_SCHEMA_VERSION_XX
|
||||
|
|
|
|||
|
|
@ -271,7 +271,6 @@ abstract class DatabaseUpdater {
|
|||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @since 1.19
|
||||
*
|
||||
* @param string $tableName
|
||||
|
|
@ -283,7 +282,6 @@ abstract class DatabaseUpdater {
|
|||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @since 1.20
|
||||
*
|
||||
* @param string $tableName
|
||||
|
|
@ -308,7 +306,6 @@ abstract class DatabaseUpdater {
|
|||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @since 1.20
|
||||
*
|
||||
* @param string $tableName
|
||||
|
|
@ -366,7 +363,6 @@ abstract class DatabaseUpdater {
|
|||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @since 1.20
|
||||
*
|
||||
* @param string $tableName
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ class InstallException extends \MWException {
|
|||
private $status;
|
||||
|
||||
/**
|
||||
* InstallException constructor.
|
||||
* @param \Status $status State when an exception occurs
|
||||
* @param string $message The Exception message to throw
|
||||
* @param int $code The Exception code
|
||||
|
|
|
|||
|
|
@ -55,7 +55,6 @@ class SqliteInstaller extends DatabaseInstaller {
|
|||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return Status
|
||||
*/
|
||||
public function checkPrerequisites() {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
|
||||
namespace Wikimedia\Rdbms;
|
||||
|
||||
use Doctrine\DBAL\Platforms\AbstractPlatform;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
|
||||
namespace Wikimedia\Rdbms;
|
||||
|
||||
use Doctrine\DBAL\Platforms\MySqlPlatform;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
|
||||
namespace Wikimedia\Rdbms;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@ class SearchSuggestionSet {
|
|||
private $suggestions = [];
|
||||
|
||||
/**
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
private $pageMap = [];
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ class SqlSearchResult extends RevisionSearchResult {
|
|||
private $terms;
|
||||
|
||||
/**
|
||||
* SqlSearchResult constructor.
|
||||
* @param Title $title
|
||||
* @param string[] $terms list of parsed terms
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ class SpecialChangeContentModel extends FormSpecialPage {
|
|||
private $contentHandlerFactory;
|
||||
|
||||
/**
|
||||
* SpecialChangeContentModel constructor.
|
||||
* @param IContentHandlerFactory|null $contentHandlerFactory
|
||||
* @internal use @see SpecialPageFactory::getPage
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -69,7 +69,6 @@ class SpecialFileDuplicateSearch extends QueryPage {
|
|||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param array $dupes Array of File objects
|
||||
*/
|
||||
function showList( $dupes ) {
|
||||
|
|
@ -202,7 +201,6 @@ class SpecialFileDuplicateSearch extends QueryPage {
|
|||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param Skin $skin
|
||||
* @param File $result
|
||||
* @return string HTML
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @ingroup SpecialPage
|
||||
*/
|
||||
class SpecialLongPages extends SpecialShortPages {
|
||||
|
|
|
|||
|
|
@ -132,7 +132,6 @@ class SpecialPageLanguage extends FormSpecialPage {
|
|||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param array $data
|
||||
* @return Status
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
<?php
|
||||
/**
|
||||
*
|
||||
* To improve a translation please visit https://translatewiki.net
|
||||
*
|
||||
* @ingroup Language
|
||||
|
|
|
|||
|
|
@ -109,7 +109,6 @@
|
|||
},
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {string} locale
|
||||
* @param {string} messageKey
|
||||
* @return {boolean}
|
||||
|
|
|
|||
|
|
@ -61,7 +61,6 @@ class ExifRotationTest extends MediaWikiMediaTestCase {
|
|||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @dataProvider provideFiles
|
||||
*/
|
||||
public function testRotationRendering( $name, $type, $info, $thumbs ) {
|
||||
|
|
@ -167,7 +166,6 @@ class ExifRotationTest extends MediaWikiMediaTestCase {
|
|||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @dataProvider provideFilesNoAutoRotate
|
||||
*/
|
||||
public function testRotationRenderingNoAutoRotate( $name, $type, $info, $thumbs ) {
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ class JpegPixelFormatTest extends MediaWikiMediaTestCase {
|
|||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @dataProvider providePixelFormats
|
||||
* @covers BitmapHandler::imageMagickSubsampling
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -25,8 +25,6 @@ class DumpAsserter {
|
|||
protected $schemaVersion;
|
||||
|
||||
/**
|
||||
* DumpAsserts constructor.
|
||||
*
|
||||
* @param string $schemaVersion see XML_DUMP_SCHEMA_VERSION_XX
|
||||
*/
|
||||
public function __construct( $schemaVersion ) {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
|
||||
declare( strict_types = 1 );
|
||||
|
||||
use MediaWiki\FileBackend\FSFile\TempFSFileFactory;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
|
||||
use MediaWiki\BadFileLookup;
|
||||
use MediaWiki\Config\ServiceOptions;
|
||||
use MediaWiki\Languages\LanguageConverterFactory;
|
||||
|
|
|
|||
Loading…
Reference in a new issue