Commit graph

8 commits

Author SHA1 Message Date
zoranzoki21 9ed81f5199 Fix all PHPCS excludes
Change-Id: If454a4ef9145ba74dd950b249ee8a0bd6ffb621a
2021-03-31 14:10:38 +00:00
Umherirrender 885db8b85b Inject services into SpecialCiteThisPage
MW1.36 needed for SpecialPage::getContentLanguage

Bug: T259960
Change-Id: Ie0c8711c50fb732b16846fe0015d8fd571a02e3e
2021-03-12 21:25:22 +01:00
libraryupgrader e40014764a build: Updating mediawiki/mediawiki-codesniffer to 32.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage

The following sniffs now pass and were enabled:
* MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName

Additional changes:
* Dropped .inc files from .phpcs.xml (T200956).
* Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222).
* Removed globals `mw`, `OO`, `require`, included via `wikimedia/mediawiki` profile (T262222).

Change-Id: I299ad0beaf55d31f8929ddfad1730ecef3b6aa92
2020-10-29 07:19:55 +00:00
libraryupgrader eecdc42773 build: Updating mediawiki/mediawiki-phan-config to 0.10.3
Additional changes:
* Dropped .php5 files from .phpcs.xml (T200956).

Change-Id: I2f7fa667cb54da7e7e292280081569ef2691b0ed
2020-09-24 22:08:06 +00:00
libraryupgrader 22ad3338c8 build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate

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

Change-Id: Ie22ee4c24b8a7116c59d4fae4b941c3f826b7e27
2020-01-14 04:06:37 +00:00
libraryupgrader f6cfbfb5af build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment

Change-Id: I2e98453ce773a363753e399c9807e3fd25f6e77d
2018-03-29 00:36:04 +00:00
Kunal Mehta 14c37dd760 Move classes into includes/
Change-Id: I1aa22e05f5968d7e099bdc738ce54ec0d12c31d1
2018-02-09 18:37:58 +00:00
libraryupgrader 350e289356 build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: Ifef0eb0e072100fe5a5532fc5bdb906ffe25749b
2017-10-21 04:18:45 +00:00
Renamed from phpcs.xml (Browse further)