Commit graph

8 commits

Author SHA1 Message Date
zoranzoki21 63e3150ab6 Fix bunch of PHPCS errors
Change-Id: I58b4f8b951d3bb7ce73ce2f14faf6a0f76963345
2021-04-17 13:42:01 +02:00
libraryupgrader 3748153a1c build: Updating mediawiki/mediawiki-codesniffer to 32.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate
* MediaWiki.Commenting.PropertyDocumentation.WrongStyle
* MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage

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

Change-Id: Ic5fe53a400a8b39820b470b98a2016143404435b
2020-10-28 17:20:51 +00:00
libraryupgrader d5ee56a8b3 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: I89e5ca88e879fb6be54c747431eeb4079b43ac9a
2020-09-22 22:11:05 +00:00
Reedy c647f7c80e Fix PSR12.Properties.ConstantVisibility.NotFound
Bug: T253169
Change-Id: I9bd5f82ed62bb01b80b13507832935ac7a673804
2020-09-19 17:07:37 +00:00
libraryupgrader 210cada8e6 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: Icdd0d0e60dd543921a5757162548ae149c3316ea
2020-01-10 10:06:28 +00:00
James D. Forrester 0cbd696ad1 build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: I317550321c4372140565a16afc29069635874b22
2019-10-11 10:34:45 -07:00
libraryupgrader becc28983e build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment

Change-Id: I50cf82c74d55ac07e89c07546a70bf3b90b4652d
2018-03-28 18:27:27 +00:00
libraryupgrader 27cf5913e0 build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: I0fdf3d1233fbdb2de25e542920160db38ecaec81
2017-10-21 03:00:16 +00:00
Renamed from phpcs.xml (Browse further)