samwilson / mwcli

A command line client for MediaWiki wikis.
13 stars 0 forks source link

Bump mediawiki/mediawiki-codesniffer from 30.0.0 to 32.0.0 #148

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps mediawiki/mediawiki-codesniffer from 30.0.0 to 32.0.0.

Changelog

Sourced from mediawiki/mediawiki-codesniffer's changelog.

32.0.0 / 2020-10-26

New and changed sniffs

  • Enable PSR12.Functions.NullableTypeDeclaration (Umherirrender)
  • Enable PSR2.ControlStructures.SwitchDeclaration (Ed Sanders)
  • Enable Generic.ControlStructures.DisallowYodaConditions (Ed Sanders)
  • Add RedundantVarNameSniff from WikibaseCodeSniffer (Thiemo Kreuz (WMDE))
  • Add AlphabeticArraySortSniff based on presence of @phpcs-require-sorted-array tags (Umherirrender)
  • Add UnaryMinusSpacing to remove spaces after unary minus (DannyS712)
  • RedundantVarNameSniff: Add understanding of legacy "var" keyword (Thiemo Kreuz)
  • NullableTypeSniff: Fix handling of nullable type with default null (Arlo Breault)
  • UnusedGlobalVariablesSniff: add support for closures (Umherirrender)
  • ExtendClassUsageSniff: Expand subclasses of ContextSource and SpecialPage (DannyS712)
  • ForbiddenFunctionsSniff: Disallow is_resource() (Kunal Mehta)
  • ForbiddenFunctionsSniff: Disallow diskfreespace(), ini_alter(), and strchr() (Thiemo Kreuz)
  • FullQualifiedClassNameSniff: Optional sniff that enforces using use statements (Thiemo Kreuz)
  • FunctionCommentSniff: Handle empty type when adding null default (Umherirrender)
  • FunctionCommentSniff: Fix handling of nullable doc with nullable type and default null (Arlo Breault)
  • FunctionCommentSniff: Enforce lowercase primitive types (DannyS712)
  • FunctionCommentSniff: Error on object typehints (DannyS712)
  • Move FunctionCommentSniff annotation checks to FunctionAnnotationSniff (DannyS712)
  • Move FunctionCommentSniff EmptySees check to new EmptyTagSniff (DannyS712)
  • FunctionAnnotationsSniff: Normalize @exception to @throws (Umherirrender)
  • FunctionAnnotationsSniff: Allow @beforeClass and @afterClass (Timo Tijhof)
  • FunctionAnnotationsSniff: Allow @noinspection (DannyS712)
  • IsNullSniff: handle backslash-prefixed is_null usage (Michael Moll)
  • MisleadingGlobalNamesSniff: Add a sniff for $wg* variables that aren't globals (DannyS712)
  • PHPUnitAssertEqualsSniff: Report particularly confusing assertNotEquals( false ) (Thiemo Kreuz)
  • PropertyDocumentationSniff: Add to validate @var on class properties (Umherirrender)
  • UnusedUseStatementSniff: Recognize used classes even if variable/type in a tag are flipped (Thiemo Kreuz)
  • UnusedUseStatementSniff: Detect uses in @see tags (Gergő Tisza)
  • Support PHP 8's T_NULLSAFE_OBJECT_OPERATOR (Umherirrender)

Code cleanup and testing

  • Simplify IfElseStructureSniff (Umherirrender)
  • Fix possible index error in ParenthesesAroundKeywordSniff (Thiemo Kreuz)
  • Fix possible index error in SpaceyParenthesisSniff (Thiemo Kreuz)
  • Fix possible index error in SpaceAfterControlStructureSniff (Thiemo Kreuz)
  • Fix possible index error in ReferenceThisSniff (Thiemo Kreuz)
  • Fix ValidGlobalNameSniff possibly running in an endless loop (Thiemo Kreuz)
  • Fix one more index error in ParenthesesAroundKeywordSniff (Thiemo Kreuz)
  • Significant simplification of UnusedGlobalVariables sniff (Thiemo Kreuz)
  • Full rewrite of the UnsortedUseStatementsSniff (Thiemo Kreuz)
  • Set tab width correctly in test runner (Ed Sanders)
  • Fix handling of comment string for MissingReturnType (Umherirrender)

Documentation, dependencies and build changes

  • Relax composer/semver constraint (Reedy)
  • Replaced jakub-onderka/php-parallel-lint with php-parallel-lint/php-parallel-lint and updated to 1.2.0 (Umherirrender)
  • Replaced jakub-onderka/php-console-highlighter with php-parallel-lint/php-console-highlighter and updated to 0.5.0 (Umherirrender)
Commits
  • 928f07d Release 32.0.0
  • e3e0e89 handle backslash-prefixed is_null usage
  • d67e968 Add missing licenses to recent sniffs
  • f6b7901 Add UnaryMinusSpacing sniff to remove spaces after unary minus
  • cf06990 Move FunctionCommentSniff EmptySees check to new EmptyTagSniff
  • 1ef11a2 Add a sniff for $wg* variables that aren't globals
  • dedcb2e Add (optional) FullQualifiedClassNameSniff from WikibaseCodeSniffer
  • c7256b0 Report particularly confusing assertNotEquals( false )
  • 35f0b71 Add PropertyDocumentationSniff to validate @var on class properties
  • d6e98b3 Expand FunctionCommentSniff to error on object typehints
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 3 years ago

Superseded by #153.