Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 11, 2026

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

Changelog

Sourced from mediawiki/mediawiki-codesniffer's changelog.

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)
  • Add NamespaceNameSniff to check naming conventions (Umherirrender)
  • Add PropertyAnnotationsSniff to validate property annotations (Umherirrender)

Changed sniffs

  • ClassAnnotationsSniff: Add @abstract, @example, @experimental, @extends, @final, @implements, @inherits, @private, and @phan-forbid-undeclared-magic-properties annotations (Umherirrender)
  • EmptyTagSniff: Improve error message for union-typed properties (Umherirrender)
  • FunctionAnnotationsSniff, PropertyAnnotationsSniff: Allow @no-named-arguments on functions and classes (Umherirrender)
  • FunctionAnnotationsSniff, PropertyAnnotationsSniff: Allow the @template annotation (Daimona Eaytoy)
  • FunctionAnnotationsSniff, PropertyAnnotationsSniff: Introduce CommentAnnotationsTrait to deduplicate some code for doc tags (Daimona Eaytoy)
  • FunctionAnnotationsSniff: allow more phan suppressions (Daimona Eaytoy)
  • FunctionCommentSniff, PropertyDocumentationSniff: Check doc comment formatting for functions and properties (Daimona Eaytoy)
  • FunctionCommentSniff: Remove PHP71NullableDocOptionalArg error (Umherirrender)
  • FunctionCommentSniff: Require documentation for parameterless function with return value (Umherirrender)
  • PHPUnitTypeHintsSniff: Skip anon classes (Umherirrender)
  • PHPunitAnnotationsSniff: Allow empty lines after comment (Daimona Eaytoy)
  • PhpunitAnnotationsSniff: Allow @maximumDuration annotation (Umherirrender)

... (truncated)

Commits
  • 8f8ba00 Release v50.0.0
  • 956a332 Use parameter type regex from phan
  • 6015090 build: Upgrade mediawiki/minus-x from 2.0.0 to 2.0.1
  • cf13be3 build: Upgrade PHPUnit from 10.5.58 to 10.5.63 to unblock CI
  • 8d1b655 ForbiddenFunctionsSniff: Add more deprecated php internal functions
  • cbed3a7 build: Upgrade mediawiki/minus-x from 1.1.3 to 2.0.0
  • 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@v49.0.0...v50.0.0)

---
updated-dependencies:
- dependency-name: mediawiki/mediawiki-codesniffer
  dependency-version: 50.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 Feb 11, 2026
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