Skip to content

build(deps-dev): update mediawiki/mediawiki-codesniffer requirement from 46.0.0 to 47.0.0 #17

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 5, 2025

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

Changelog

Sourced from mediawiki/mediawiki-codesniffer's changelog.

v47.0.0 / 2025-05-04

Changed sniffs

  • EmptyLinesBetweenUseSniff: Allow to work with bracketed namespaces (Umherirrender)
  • EmptyLinesBetweenUseSniff: Fix edge case with closures (Daimona Eaytoy)
  • FunctionCommentSniff: Relax WrongStyle warning for property and function documentations (Umherirrender)
  • PhpunitAnnotationsSniff: Enforce naming convention for @dataProvider (Umherirrender)
  • SpaceyParenthesisSniff: Account for multiple spaces before parens (Daimona Eaytoy)
  • SpaceyParenthesisSniff: Avoid wrong guesses of function calls (Daimona Eaytoy)
  • SpaceyParenthesisSniff: Detect unnecessary whitespace in more cases (Daimona Eaytoy)

Documentation, dependencies and build changes

  • Upgrade PHP CodeSniffer from 3.11.3 to 3.12.2 (James D. Forrester)
  • build: Add basic output to bootstrap-ci.php (Ollie)
  • tests: Add tests for closure declarations (Daimona Eaytoy)
  • tests: Add tests for miscellaneous style inconsistencies seen in the wild (Daimona Eaytoy)
  • tests: Consolidate tests for space before parenthesis (Daimona Eaytoy)
  • tests: Readd newline at end of all .expect files (Umherirrender)
  • utils: Include renamed files when using bootstrap-ci.php (Umherirrender)

v46.0.0 / 2025-01-27

Changed sniffs

  • AlphabeticArraySortSniff: Support sorting by symbol name, e.g. const keys (Muhammad Yasser Jazirahly)
  • FunctionAnnotationsSniff: Allow use of @preCondition and @postCondition PHPUnit annotations (Umherirrender)
  • NullableTypeSniff: Don't try to fix mixed to add null, it is already nullable (Taavi Väänänen)
  • StaticClosureSniff: Work on fn() too (Reedy)

Documentation, dependencies and build changes

  • Raise PHP CodeSniffer from 3.10.3 to 3.11.3 (James D. Forrester, Reedy)
  • build: Updating mediawiki/mediawiki-phan-config to 0.15.1 (libraryupgrader)
  • build: Updating phpunit/phpunit to 9.6.21 (libraryupgrader)
  • tests: Add newline at end of all .expect files (Bartosz Dziewoński)
  • tests: Re-enable ScopeIndent sniff on test that was previously failing (Daimona Eaytoy)

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)

... (truncated)

Commits
  • 056bb33 HISTORY: Tag as v47.0.0
  • cb08456 Upgrade squizlabs/php_codesniffer from 3.11.3 to 3.12.2
  • 7ff49a3 PhpunitAnnotationsSniff: Enforce naming convention for @​dataProvider
  • e1d17a7 SpaceyParenthesisSniff: detect unnecessary whitespace in more cases
  • 7ae053e SpaceyParenthesisSniff: account for multiple spaces before parens
  • 756d2e8 SpaceyParenthesisSniff: avoid wrong guesses of function calls
  • 9d9868f Consolidate tests for space before parenthesis
  • 315bb4a Allow EmptyLinesBetweenUseSniff to work with bracketed namespaces
  • 747840d Relax WrongStyle warning for property and function documentations
  • 37f8a35 utils: Include renamed files when using bootstrap-ci.php
  • Additional commits viewable 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@v46.0.0...v47.0.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels May 5, 2025
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 php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants