Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 8, 2025

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

Changelog

Sourced from mediawiki/mediawiki-codesniffer's changelog.

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)
  • PhpunitAnnotationsSniff: Forbid new @exclude*FromBackup annotations (Umherirrender)
  • PropertyAnnotationsSniff: Detect union-typed properties (Umherirrender)
  • PropertyDocumentationSniff: Check for readonly, final and anon classes (Umherirrender)
  • PropertyDocumentationSniff: Detect union-typed properties (Umherirrender)
  • RedundantVarNameSniff: Check for readonly and final (Umherirrender)
  • RedundantVarNameSniff: Detect union-typed properties (Umherirrender)
  • UnusedUseStatementSniff: Also report duplicate/conflicting uses (Bartosz Dziewoński)

Removed sniffs

  • FinalPrivateSniff (Umherirrender)
  • Generic.Functions.CallTimePassByReference (Daimona Eaytoy)
  • NestedFunctionsSniff, replaced by upstream InnerFunctionsSniff (Daimona Eaytoy)

Documentation, dependencies and build changes

  • PHPUnit sniffs: Avoid error on live coding about missing scope opener (Umherirrender)
  • Upgrade phpcsstandards/phpcsextra to 1.4.0 (Daimona Eaytoy; Umherirrender)
  • Upgrade squizlabs/php_codesniffer from 3.12.2 to 3.13.2 (James D. Forrester; Umherirrender)
  • Require PHP 8.1 (Umherirrender)
  • build: Update mediawiki-phan-config to 0.17.0 (Daimona Eaytoy; libraryupgrader)
  • build: Use autoload-dev for tests in composer.json (Umherirrender)
  • build: Relax constraint for composer/semver (Reedy)

v47.0.0 / 2025-05-04

Changed sniffs

  • EmptyLinesBetweenUseSniff: Allow to work with bracketed namespaces (Umherirrender)
  • EmptyLinesBetweenUseSniff: Fix edge case with closures (Daimona Eaytoy)

... (truncated)

Commits
  • 6d46ca2 HISTORY: Tag as v48.0.0
  • efe3188 EmptyTagSniff: Improve error message for union-typed properties
  • 00586ac RedundantVarNameSniff: Detect union-typed properties
  • 30d4a39 FunctionCommentSniff: Remove PHP71NullableDocOptionalArg error
  • a50ad0c Upgrade squizlabs/php_codesniffer from 3.13.0 to 3.13.2
  • 21c4faa Add new NamespaceNameSniff to check naming conventions
  • 9fca6b1 PropertyAnnotationsSniff: Detect union-typed properties
  • 6d8e849 PropertyDocumentationSniff: Detect union-typed properties
  • 6d1f3d9 tests: Add generic pass for constructor property promotion
  • 6d61dcc composer.json: Relax constraint for composer/semver
  • 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@v47.0.0...v48.0.0)

---
updated-dependencies:
- dependency-name: mediawiki/mediawiki-codesniffer
  dependency-version: 48.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 labels Sep 8, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants