This is not really anything new. Most code already followed these
sniffs. This patch just fixes the remaining exceptions. Also:
* Remove PHPDoc blocks that don't add anything but just repeat the
strict types.
* Remove @file comments in favor of class-level comments.
* Add strict types where possible, most notably some `void`.
Change-Id: Iff6872dff68170b0fc4e82ac2ba3cad385e8773e
The following sniffs now pass and were enabled:
* PSR12.Properties.ConstantVisibility.NotFound
Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".
Change-Id: I4dfbfd034a15cec9a107d20df9289ea47ab4a377
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: I8846de470461b4887dbc1e33653c8cdec8839366
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.MissingCovers.MissingCovers
Change-Id: I1a1589f98159dff69d73ce42ffd7f8dd68ecd806
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment
Change-Id: I0968e177443895f38bb8caf1d2cb39acccf83f83
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.MissingCovers.MissingCovers
Change-Id: Ie2a21620cafc287d42b4c7a8b9800fb3850cc3e5
This avoids the exclusion of the rule
MediaWiki.Files.ClassMatchesFilename.NotMatch in .phpcs.xml.
Change-Id: Ifd7f5f59097c6dedc19f031baaef538023a33336