Commit graph

11 commits

Author SHA1 Message Date
Umherirrender fd816a2a7c tests: Replace assert(Not)Empty with assert(Not)Same
assertSame avoids use of loose comparisons and
allows to check the expected type

Change-Id: Ia6f0cc449f42ef078eb69667d0ce1706022de19b
2022-11-25 10:29:22 +00:00
libraryupgrader 5b754dc615 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 40.0.1
  The following sniffs are failing and were disabled:
  * MediaWiki.PHPUnit.AssertEmpty.AssertEmptyUsed

npm:
* grunt-stylelint: 0.16.0 → 0.18.0
* stylelint-config-wikimedia: 0.11.1 → 0.13.1

Change-Id: I79f223a3bcded9652083d1c1c6034f7829fa3c4c
2022-11-16 04:38:44 +00:00
libraryupgrader d01963f06e build: Updating mediawiki/mediawiki-codesniffer to 32.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate

Additional changes:
* Dropped .php5 and .inc files from .phpcs.xml (T200956).
* Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222).

Change-Id: Ibaf2ade250d030974492a05c839ad2adf9765572
2020-10-29 09:50:58 +00:00
Umherirrender 1412b7c5ba Fix type on @param doc
Change-Id: I9caf576cd3c18b2af8313581d85608becfdacdf7
2020-07-12 01:39:52 +02:00
libraryupgrader 097ddf35ce build: Updating mediawiki/mediawiki-codesniffer to 31.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.NoParamType

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

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

Change-Id: Ia29758a25f3aee903130481495071fcdf6e5033d
2020-05-29 11:57:16 +00:00
libraryupgrader a25bb81f73 build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingParamName
* MediaWiki.Commenting.FunctionComment.MissingParamTag

Change-Id: I2bf1056772f560b6f4ead4d1794c6f7c50eec59d
2020-01-14 04:37:44 +00:00
Fomafix eb27449d70 Fix phpcs exclude rules
Change-Id: Ia39e6189d666af7d6fe1ccd14e8e7cae277a4428
2018-03-30 22:59:10 +02:00
libraryupgrader ae3d70b5a9 build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment

Change-Id: I1d87621329f7721ad8c9dbff4b84a10fcbef92a2
2018-03-29 01:27:40 +00:00
Umherirrender 547c1562c1 Improve some parameter docs
Change-Id: I8ee2396e6a804ab69965383a9ee6b30787c1f9af
2018-01-11 21:09:29 +01:00
libraryupgrader ea6fb46f13 build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
The following sniffs are failing and were disabled:
* Generic.Files.OneObjectStructurePerFile.MultipleFound

The following sniffs now pass and were enabled:
* MediaWiki.Files.OneClassPerFile.MultipleFound

Change-Id: I117b86a89a7d5a85f0d20bc7daa261ca438ca6e9
2017-12-29 23:44:14 +00:00
libraryupgrader cc041d4bc1 build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: I3fc2670685a31955360c5b49da191fad209e68a5
2017-10-21 04:20:16 +00:00
Renamed from phpcs.xml (Browse further)