Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps the mediawiki group with 1 update: mediawiki/mediawiki-codesniffer.

Updates mediawiki/mediawiki-codesniffer from 47.0.0 to 48.0.0

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)
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 compatibility score

You can trigger a rebase of this PR 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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Sep 8, 2025
@neoncitylights
Copy link
Member

@dependabot rebase

Bumps the mediawiki group with 1 update: [mediawiki/mediawiki-codesniffer](https://github.com/wikimedia/mediawiki-tools-codesniffer).


Updates `mediawiki/mediawiki-codesniffer` from 47.0.0 to 48.0.0
- [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
  update-type: version-update:semver-major
  dependency-group: mediawiki
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/composer/mediawiki-2b65ec30fb branch from 6c70111 to 677de36 Compare October 11, 2025 16:48
@neoncitylights neoncitylights merged commit 7118739 into main Oct 11, 2025
2 checks passed
@neoncitylights neoncitylights deleted the dependabot/composer/mediawiki-2b65ec30fb branch October 11, 2025 16:58
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