Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mediawiki/mediawiki-codesniffer requirement from 44.0.0 to 45.0.0 #52

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 29, 2024

Updates the requirements on mediawiki/mediawiki-codesniffer to permit the latest version.

Changelog

Sourced from mediawiki/mediawiki-codesniffer's changelog.

v45.0.0 / 2024-10-29

New sniffs

  • Add MediaWiki.Usage.NullableType.ExplicitNullableTypes to check for implicitly nullable types in PHP 8.4 (Umherirrender)

Changed sniffs

  • NullableTypeSniff: Also check closure and arrow functions (Umherirrender)

Documentation, dependencies and build changes

  • Update squizlabs/php_codesniffer to 3.10.3 (Umherirrender)
  • build: Support composer/semver 3.4.3 (C. Scott Ananian)
  • build: Drop support for older composer/semver versions (Alexander Vorwerk)
  • build: Add ext-dom to require-dev, used in a test (Reedy)

v44.0.0 / 2024-08-10

New sniffs

  • Add Generic.CodeAnalysis.RequireExplicitBooleanOperatorPrecedence (Daimona Eaytoy)
  • Add Universal.CodeAnalysis.NoDoubleNegative to replace DoubleNotOperatorSniff (Daimona Eaytoy)
  • Add Universal.PHP.LowercasePHPTag (Daimona Eaytoy)

Changed sniffs

  • ExtendClassUsageSniff: Add $wgInitialSessionId to non-config variables (Func)
  • PhpunitAnnotationsSniff: Update also absolute class names in @covers (Umherirrender)
  • SpaceBeforeClassBrace.BraceNotOnOwnLine: Handle multi-line anon class (Umherirrender)
  • UnusedUseStatementSniff: Don't report unused classes in@phpstan… and @psalm-import-type (thiemowmde)
  • UnusedUseStatementSniff: Replace hard-coded@…-import-type with more flexible config (thiemowmde)

Removed sniffs

  • DoubleNotOperatorSniff, replaced by Universal.CodeAnalysis.NoDoubleNegative (Daimona Eaytoy)

Documentation, dependencies and build changes

  • Support composer/semver 3.4.2 (Kunal Mehta)
  • build: Update codesniffer to 3.9.0, phpcsextra to 1.2.1 (Daimona Eaytoy)
  • build: Update minus-x to 1.1.3 (Alexander Vorwerk)
  • build: Upgrade mediawiki/mediawiki-phan-config to 0.14.0 (James D. Forrester)
  • build: Upgrade php-parallel-lint/php-parallel-lint to 1.4.0 (Umherirrender)
  • build: Upgrade phpunit to 9.6.16 (James D. Forrester)

43.0.0 / 2024-01-29

New sniffs

  • Added the following sniffs from the PHPCSExtra standards: (Daimona Eaytoy)
    • Universal.Constants.LowercaseClassResolutionKeyword: Enforce lowercase ::class
    • Universal.Constants.UppercaseMagicConstants: Enforce uppercase magic constants
    • Universal.ControlStructures.DisallowAlternativeSyntax: Disallow alternative PHP syntax
    • Universal.Lists.DisallowLongListSyntax: Disallow the long list()syntax
    • Universal.Operators.TypeSeparatorSpacing: Forbid spaces in union and intersection types
    • Universal.UseStatements.KeywordSpacing: Enforce a single space around keywords in use statements
    • Universal.UseStatements.LowercaseFunctionConst: Enforce lowercase function and const in use statements
    • Universal.UseStatements.NoUselessAliases: Forbids aliases in use statements where the alias is the same as the original name

... (truncated)

Commits
  • 3ebb209 HISTORY: Tag as v45.0.0
  • 21db407 NullableTypeSniff: Also check closure and arrow functions
  • 477ac00 Use NullableTypeSniff to check for implicitly nullable types in php8.4
  • 6d16a0f composer.json: Add ext-dom to require-dev
  • 1c48998 Drop support for older composer/semver versions
  • a520952 build: Update squizlabs/php_codesniffer to 3.10.3
  • f1c4655 Support composer/semver 3.4.3
  • See full diff in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Updates the requirements on [mediawiki/mediawiki-codesniffer](https://github.com/wikimedia/mediawiki-tools-codesniffer) to permit the latest version.
- [Changelog](https://github.com/wikimedia/mediawiki-tools-codesniffer/blob/master/HISTORY.md)
- [Commits](wikimedia/mediawiki-tools-codesniffer@v44.0.0...v45.0.0)

---
updated-dependencies:
- dependency-name: mediawiki/mediawiki-codesniffer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 29, 2024
@oetterer oetterer merged commit 1a8b4c6 into master Nov 8, 2024
6 of 7 checks passed
@dependabot dependabot bot deleted the dependabot/composer/mediawiki/mediawiki-codesniffer-45.0.0 branch November 8, 2024 06:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant