Commit graph

16 commits

Author SHA1 Message Date
libraryupgrader 7df8411050 build: Updating composer dependencies
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
  The following sniffs now pass and were enabled:
  * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic

* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0

Change-Id: Ifaca144ccfd753ea00d1dbba0d12941b0050e2a4
2021-05-04 08:49:27 +00:00
Umherirrender 5fee8a2c9b Usage of Yoda conditions is not allowed; switch the expression order
Change-Id: I87fe0930cb9bc2f6af75ba8fabd4391ba4a2d7e2
2020-11-19 22:42:50 +01:00
libraryupgrader 8031ec046d 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.Commenting.PropertyDocumentation.MissingDocumentationPublic

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

Change-Id: I5fdd27af9331ccdf5640cc65437549155db85dd0
2020-11-04 07:14:28 +00:00
libraryupgrader 6aad754a26 build: Updating mediawiki/mediawiki-phan-config to 0.10.3
Additional changes:
* Dropped .php5 files from .phpcs.xml (T200956).

Change-Id: If4f6a5013ae790e28654d28079c119f5bda89221
2020-09-25 07:05:33 +00:00
Reedy 3767db25f7 Fix PSR12.Properties.ConstantVisibility.NotFound
Bug: T253169
Change-Id: If4de0fff2886961481faeefe3f8021ae6760e116
2020-05-30 01:27:32 +01:00
James D. Forrester 57d561a797 phpcs: Enable MediaWiki.Commenting.PhpunitAnnotations.ForbiddenExpectedException and make pass
Change-Id: I5a0fc6dc753e3d3a0192647304d4b02e467f23a5
2019-10-12 03:10:31 +00:00
James D. Forrester 2b6468c63f build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: Ibe33db60a29d5b8967e76bee0e8a7a5730dd0525
2019-10-11 11:09:10 -07:00
Max Semenik f53debae7d Namespace this extension
Change-Id: I0c7719f17f74180a4c85f914888262f7e3b13111
2019-04-03 19:20:14 -07:00
Umherirrender 32d112ef64 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: I44d6eadc5b50a1fa7c95302323bb9febee02eae9
2018-12-08 16:39:48 +01:00
Umherirrender 99659b32c2 Add method scope visibility
Change-Id: I116b91653c01ace9fa0d9a49f2fa43375ef2924d
2018-11-01 19:50:46 +01:00
libraryupgrader 88350e49f1 build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment

Change-Id: I84c8b3e4f1a1c9e8a83bf118601a41e31e5bf91f
2018-03-29 04:41:34 +00:00
Kunal Mehta 9f94cebdaa Move classes to includes/
Change-Id: Iefaa21bf911fa7dcf11aedd38648bed945b905f9
2018-02-24 14:06:58 -08:00
Kunal Mehta be4f4b1858 Add @covers tag
Change-Id: Ib12892b36b2d1254cfcc861a3a84d859d5834a3f
2018-02-16 20:57:24 -08:00
libraryupgrader efe3918159 build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.MissingCovers.MissingCovers

Change-Id: I32f44b2d8ce2cca80155ecd66867c0cc7312148b
2018-02-15 13:32:36 +00:00
libraryupgrader 5e145bcf11 build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
The following sniffs are failing and were disabled:
* Generic.Files.OneObjectStructurePerFile.MultipleFound
* Squiz.Scope.MethodScope.Missing

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

Change-Id: I446fe746be0f07b26b9eb4d54584aaba48cfefd7
2017-12-30 02:04:28 +00:00
libraryupgrader c7d3a141da build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

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