Skip to content

Update mediawiki/mediawiki-codesniffer requirement from 50.0.0 to 51.0.0#188

Merged
Universal-Omega merged 1 commit intomainfrom
dependabot/composer/mediawiki/mediawiki-codesniffer-51.0.0
May 5, 2026
Merged

Update mediawiki/mediawiki-codesniffer requirement from 50.0.0 to 51.0.0#188
Universal-Omega merged 1 commit intomainfrom
dependabot/composer/mediawiki/mediawiki-codesniffer-51.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 5, 2026

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

Changelog

Sourced from mediawiki/mediawiki-codesniffer's changelog.

v51.0.0 / 2026-05-03

Changed sniffs

  • ForbiddenFunctionsSniff: Add utf8_encode and utf8_decode (Umherirrender)
  • NullableTypeSniff: Fix for union types (MGChecker)

Documentation, dependencies and build changes

  • Upgrade phpcsstandards/phpcsextra (1.4.0 => 1.5.0) (Alexander Vorwerk)

  • build: Allow composer/spdx-licenses 1.6.0 (Alexander Vorwerk)

  • build: Don't list json as a required extension (Umherirrender)

  • build: Upgrade mediawiki/mediawiki-phan-config to 0.20.0 (Umherirrender)

  • build: Upgrade mediawiki-phan-config for PHP 8.5 support (James D. Forrester)

  • chore: Declare strict types on all php files (Umherirrender)

  • chore: Handle possible false/null in PHPUnitTestTrait (Umherirrender)

v50.0.0 / 2026-02-10

Changed sniffs

  • ForbiddenFunctionsSniff: Add more deprecated php internal functions (Umherirrender)
  • FunctionCommentSniff: Use parameter type regex from phan (Daimona Eaytoy)

Documentation, dependencies and build changes

  • build: Upgrade PHPUnit from 10.5.58 to 10.5.63 to unblock CI (James D. Forrester)
  • build: Upgrade mediawiki/minus-x from 1.1.3 to 2.0.1 (Alexander Vorwerk)

v49.0.0 / 2026-01-11

Changed sniffs

  • UnusedUseStatementSniff: Ignore const when searching class names (Umherirrender)
  • UnusedUseStatementSniff: add support for more annotations (Daimona Eaytoy)
  • NonNormalizedAnnotation: Forbid @phan-template and @psalm-template in favour of @template (Daimona Eaytoy)
  • FunctionCommentSniff: Parse callable parameter syntax (Daimona Eaytoy)
  • AssignmentInReturnSniff: Ignore arrow functions (SomeRandomDeveloper)
  • ValidGlobalNameSniff: Treat deprecated or removed globals as invalid (Umherirrender)
  • ForbiddenFunctionsSniff: Add some deprecated php internal functions (Umherirrender)

Documentation, dependencies and build changes

  • build: Update phpunit/phpunit to 10.5.58 (Umherirrender)
  • Upgrade squizlabs/php_codesniffer from 3.13.2 to 3.13.5 (James D. Forrester)
  • build: Updating mediawiki/mediawiki-phan-config to 0.18.0 (Alexander Vorwerk)
  • Drop support for PHP 8.1 (Alexander Vorwerk)

v48.0.0 / 2025-09-04

New sniffs

  • Add ClassAnnotationsSniff to check for disallowed class annotations (Daimona Eaytoy)
  • Add ClassDocumentationSniff to check doc comments for classes (Daimona Eaytoy)
  • Add CommentBeforeClassSniff to check comments before classes (Daimona Eaytoy)

... (truncated)

Commits
  • d9f3595 Release v51.0.0
  • c763599 Upgrading phpcsstandards/phpcsextra (1.4.0 => 1.5.0)
  • ec8fa24 Allow composer/spdx-licenses 1.6.0
  • 3f4ae40 chore: Declare strict types on all php files
  • afb7014 chore: Handle possible false/null in PHPUnitTestTrait
  • 16d8b3b ForbiddenFunctionsSniff: Add utf8_encode and utf8_decode
  • 8ff6fc7 Fix NullableTypeSniff for union types
  • ded2a13 build: Don't list json as a required extension
  • bc675aa build: Updating mediawiki/mediawiki-phan-config to 0.20.0
  • 433ad3f build: Upgrade mediawiki-phan-config for PHP 8.5 support
  • 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 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@v50.0.0...v51.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels May 5, 2026
@Universal-Omega Universal-Omega merged commit 1300875 into main May 5, 2026
15 checks passed
@Universal-Omega Universal-Omega deleted the dependabot/composer/mediawiki/mediawiki-codesniffer-51.0.0 branch May 5, 2026 01:59
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.

1 participant