Commit graph

18 commits

Author SHA1 Message Date
Umherirrender 116ead6d4f Add missing documentation to class properties
Change-Id: Icdcaa4c34d512c2058fa0d0e349a2cca2ca2e543
2024-08-20 23:46:51 +02:00
libraryupgrader 134cfc72ca build: Updating mediawiki/mediawiki-codesniffer to 41.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Usage.ExtendClassUsage.FunctionVarUsage

Change-Id: Ic9a9253e8a249e76b9017d7c3214bce219db7682
2023-03-12 09:15:50 +00:00
Fomafix 82cc22a9f2 Inject Config and replace global variables
Change-Id: I824ed32728ab4ce8e532734890ac51a4a4527d8a
2023-01-18 19:39:23 +00:00
Mark A. Hershberger b15a7352d3
Provide phan with stubs for AL* classes
Bug: T279202
Change-Id: Ia1e667935c2553a1bff999516e3ad349d4923e21
2021-04-07 22:14:44 -04:00
Umherirrender 61c3c9daee Swap condition to avoid "yoda condition"
Change-Id: I749570a60dd047e5dbe9a71fbbdbfa52e83584d8
2021-01-06 23:42:51 +01:00
Umherirrender 2fb5c57fba Remove unneeded break after throw
Change-Id: Ief0dd9ecbf62ab84a3e504634eff4a236c115691
2021-01-06 00:21:50 +01:00
libraryupgrader 8f054de250 build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
The following sniffs are failing and were disabled:
* Generic.ControlStructures.DisallowYodaConditions.Found
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate
* MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage
* MediaWiki.Usage.ExtendClassUsage.FunctionVarUsage

Additional changes:
* Dropped .inc files from .phpcs.xml (T200956).
* Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222).
* Added the `wikimedia/jquery` profile in .eslintrc.json (T262222).
* Removed global `$`, included in the `wikimedia/jquery` profile (T262222).
* Removed global `mw`, included via `wikimedia/mediawiki` profile (T262222).
* Dropped the emtpy global definition in .eslintrc.json.

Change-Id: I4ace90c3162ca94e401d80d9d68f278c6a2e9960
2020-11-04 16:53:49 +00:00
libraryupgrader 59cc9c8a30 build: Updating mediawiki/mediawiki-phan-config to 0.10.3
Additional changes:
* Consolidated .phpcs.xml encoding to "UTF-8" (T200956).
* Dropped .php5 files from .phpcs.xml (T200956).

Change-Id: Ic982aee80d05ea90fd327b1db871376dc9bdd703
2020-09-25 08:19:21 +00:00
libraryupgrader 27ffe1f801 build: Updating mediawiki/mediawiki-codesniffer to 31.0.0
The following sniffs now pass and were enabled:
* PSR12.Files.ImportStatement.LeadingSlash

Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".

Change-Id: I6bcf27f48c26d9e130dbd1ee77bd3badb31805d5
2020-05-30 05:49:00 +00:00
libraryupgrader d3479f8ca2 build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate

Change-Id: I48607226707fcc6c30a194e741d367ddd0c2f27b
2020-01-14 19:37:04 +00:00
libraryupgrader 6332b4497d build: Updating dependencies
composer:
* mediawiki/minus-x: 0.3.1 → 0.3.2
* mediawiki/mediawiki-codesniffer: 26.0.0 → 28.0.0
  The following sniffs are failing and were disabled:
  * PSR12.Files.ImportStatement.LeadingSlash

  The following sniffs now pass and were enabled:
  * MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgContLang

npm:
* grunt-banana-checker: 0.6.0 → 0.8.1

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Ibdd18a68f35644e2a6abea849e47d6a1b284fbd4
2019-12-18 04:29:56 +00:00
libraryupgrader bf538064a8 build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgContLang

Change-Id: I56fb225b2f158ed69fed80fe9a1a2066f407064f
2019-02-07 03:44:53 +00:00
libraryupgrader 6adf0a0712 build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
The following sniffs are failing and were disabled:
* Squiz.PHP.NonExecutableCode.Unreachable

Change-Id: Ifa593af5d3fb2aa38dea9f73e903a2fb27d1d6e6
2018-09-03 14:30:30 +00:00
Cindy Cicalese 3c36f7452a Update CI files, dir structure, remove inline JS.
Bug:T191546
Bug:T191919
Change-Id: Ia7ed03a98972262d164fd131bcb84994ad279c7f
2018-04-11 17:21:08 +00:00
libraryupgrader 301b74fcd4 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: Id1c06f59d040ed42e06ae1cfddb40dff6159475f
2018-03-29 05:30:54 +00:00
Umherirrender 82f3350f57 Improve some parameter docs
Change-Id: Iedadec2058cd979c659708876f131328a7614649
2018-01-08 18:46:48 +01:00
libraryupgrader 988274fe4a build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
The following sniffs are failing and were disabled:
* Squiz.Scope.MemberVarScope.Missing
* Squiz.Scope.MethodScope.Missing

Change-Id: I800d2343b5e7627f7d1442a5e95c3e30a4b9bfb1
2017-12-30 02:27:47 +00:00
libraryupgrader 5b62eb17b5 build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: I25b5c9ad4e30f47e7682c0cce2c1cb850a9746e2
2017-10-21 04:29:33 +00:00
Renamed from phpcs.xml (Browse further)