Commit graph

20 commits

Author SHA1 Message Date
libraryupgrader 92ed427efc build: Updating mediawiki/mediawiki-codesniffer to 41.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected

Change-Id: I923d0bf887e8ce90b9d2d3a11cd0c92050f644c2
2023-03-12 12:31:07 +00:00
Reedy 70754ecf37 Fix and enable 1 PHPCS exclusion
Change-Id: I15c2af8205f58f774b77bff52cad38e0cf541014
2022-04-08 13:42:43 +00:00
libraryupgrader 8e5b453af5 build: Updating eslint-config-wikimedia to 0.18.2
Additional changes:
* Dropped .php5 and .inc files from .phpcs.xml (T200956).

Change-Id: I0c6b4b5e79c05a77b7bfb9429bf90b26cfb4eae7
2021-03-08 04:19:47 +00:00
Umherirrender 0f3699c40f Avoid wfMessage in special page
Use self::msg instead to avoid global state

Change-Id: I5677e9ceb6b11c69d50a74b0bd1330896ddfef55
2020-12-19 12:21:36 +01:00
libraryupgrader 1d8c9761de build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic
* MediaWiki.Usage.ExtendClassUsage.FunctionVarUsage

Additional changes:
* Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222).
* Removed globals `mw`, `OO`, included via `wikimedia/mediawiki` profile (T262222).
* Dropped the emtpy global definition in .eslintrc.json.

Change-Id: Ie49c3d140ea6d26545a640c74aecebafba982566
2020-11-04 14:47:26 +00:00
Reedy 300118615f Fix PSR12.Properties.ConstantVisibility.NotFound
Bug: T253169
Change-Id: I7f3189a5e5546edd7969935d2f7d12ebbaeaad6f
2020-05-20 01:03:00 +01:00
Timo Tijhof 9bf6f9480c Remove use of internal $messageMemc variable
The $messageMemc legacy global, is a BagOStuff intended for
MessageCache service, configured by wgMessageCacheType.

Use that directly as a short-term measure so that we can remove
$messageMemc initialization from Setup.php.

Bug: T189966
Bug: T243175
Change-Id: I04a0e578d76269fa02ee85cffee070dc3e1f4512
2020-03-18 17:14:49 +00:00
Umherirrender 66f6418eaf Improve param docs
Change-Id: I6f6d781d1b9399520192df156664d39a88752860
2020-02-29 22:10:59 +01:00
libraryupgrader 09d70a1f18 build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingReturn

Additional changes:
* Also sorted "composer fix" command to run phpcbf last.

Change-Id: I668c40626bbb60ff8c1ddc130ffdf95c6eefbd2e
2020-01-15 09:20:50 +00:00
James D. Forrester 412cea8fef build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: I5fe2474773a665b398ed462859bb9d94efea9026
2019-10-11 12:19:14 -07:00
Umherirrender d676a5fddc build: Update sniff list in .phpcs.xml
Exclude Scribunto class from Squiz.Classes.ValidClassName.NotCamelCaps
The name concept is taken from another extension

Change-Id: Ica307a6773bd80c25d0de6c757ce2ad2ea21cd0d
2018-12-08 16:40:01 +01:00
Umherirrender 8f64795adf Add method scope visibility
Change-Id: Ic56c953e74fc42410d3037417978c46cff910def
2018-11-01 20:27:32 +01:00
Kunal Mehta 5b0f26aae0 Use SPDX identifiers for @license tags
Change-Id: If60678dd5f9fa90b77d71b3e3a70f4329ede873b
2018-04-06 18:23:42 -07:00
libraryupgrader d067887402 build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.LicenseComment.InvalidLicenseTag

The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment

Change-Id: I57fd54ad06c5c7ad479a5ac2d1c16c22da4c118f
2018-03-29 06:25:24 +00:00
Kunal Mehta 1bd1b64298 Add @covers tags
Change-Id: Ie8958e3a2d12f22b290ecc27bf078bb053f4c82f
2018-02-16 00:01:34 -08:00
Kunal Mehta 843434f64d Move classes into includes/
Change-Id: I24d0b37d49337efd35d12adf6adbfc403e81fa50
2018-02-15 14:35:32 -08:00
libraryupgrader 0ad0c6a1f1 build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.MissingCovers.MissingCovers

Change-Id: Ifccd5083cfab2597af27d1331d2356b559e12b7d
2018-02-15 15:27:25 +00:00
libraryupgrader 56f94c4d71 build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
The following sniffs are failing and were disabled:
* Squiz.Scope.MethodScope.Missing

Change-Id: I9305d3d59dc7f380d92eef2bdc476a3f54f55c65
2017-12-30 03:01:59 +00:00
Umherirrender 54294b8fa5 Move TitleBlacklistEntry to own file
Makes MediaWiki.Files.OneClassPerFile.MultipleFound pass

Change-Id: I75e2a3a959b7d7bbad2dca68c9c62ea10e948fb4
2017-12-21 22:24:59 +01:00
libraryupgrader 02453ce417 build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: I38333cd5f4700b3f570d6d3a0e101b2d3b7b6fed
2017-10-21 04:31:28 +00:00
Renamed from phpcs.xml (Browse further)