The following sniffs now pass and were enabled:
* MediaWiki.Usage.ExtendClassUsage.FunctionVarUsage
Change-Id: Ic9a9253e8a249e76b9017d7c3214bce219db7682
The following sniffs are failing and were disabled:
* Generic.ControlStructures.DisallowYodaConditions.Found
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate
* MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage
* MediaWiki.Usage.ExtendClassUsage.FunctionVarUsage
Additional changes:
* Dropped .inc files from .phpcs.xml (T200956).
* Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222).
* Added the `wikimedia/jquery` profile in .eslintrc.json (T262222).
* Removed global `$`, included in the `wikimedia/jquery` profile (T262222).
* Removed global `mw`, included via `wikimedia/mediawiki` profile (T262222).
* Dropped the emtpy global definition in .eslintrc.json.
Change-Id: I4ace90c3162ca94e401d80d9d68f278c6a2e9960
The following sniffs now pass and were enabled:
* PSR12.Files.ImportStatement.LeadingSlash
Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".
Change-Id: I6bcf27f48c26d9e130dbd1ee77bd3badb31805d5
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate
Change-Id: I48607226707fcc6c30a194e741d367ddd0c2f27b
composer:
* mediawiki/minus-x: 0.3.1 → 0.3.2
* mediawiki/mediawiki-codesniffer: 26.0.0 → 28.0.0
The following sniffs are failing and were disabled:
* PSR12.Files.ImportStatement.LeadingSlash
The following sniffs now pass and were enabled:
* MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgContLang
npm:
* grunt-banana-checker: 0.6.0 → 0.8.1
Additional changes:
* Added .eslintcache to .gitignore.
Change-Id: Ibdd18a68f35644e2a6abea849e47d6a1b284fbd4
The following sniffs are failing and were disabled:
* MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgContLang
Change-Id: I56fb225b2f158ed69fed80fe9a1a2066f407064f
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.LicenseComment.InvalidLicenseTag
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment
Change-Id: Id1c06f59d040ed42e06ae1cfddb40dff6159475f
The following sniffs are failing and were disabled:
* Squiz.Scope.MemberVarScope.Missing
* Squiz.Scope.MethodScope.Missing
Change-Id: I800d2343b5e7627f7d1442a5e95c3e30a4b9bfb1