Skip to content
This repository has been archived by the owner on Jun 30, 2024. It is now read-only.

Update mediawiki/mediawiki-codesniffer requirement from 40.0.1 to 41.0.0 #416

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 Mar 1, 2023

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

Changelog

Sourced from mediawiki/mediawiki-codesniffer's changelog.

41.0.0 / 2023-02-25

Changed sniffs

  • AssertionOrderSniff: Also run for assertNotEquals/assertNotSame (Umherirrender)
  • AssertionOrderSniff: Handle more wrong actual values (DannyS712)
  • ForbiddenFunctionsSniff: Forbid eval() and make ForbiddenFunctions sniff more flexible (Thiemo Kreuz)
  • FunctionCommentSniff: Allow fully-typed functions to omit documentation (Lucas Werkmeister)
  • FunctionCommentSniff: Allow fully typed __constructor without @param tags (thiemowmde)
  • FunctionCommentSniff: Allow prose-only documentation for statically typed functions (Lucas Werkmeister)
  • FunctionCommentSniff: Tiny performance optimization (thiemowmde)
  • PropertyDocumentationSniff: Allow prose-only documentation for statically typed properties (Lucas Werkmeister)
  • PropertyDocumentationSniff: Allow typed properties to omit documentation (Lucas Werkmeister)
  • SpaceyParenthesisSniff: Minor performance optimization (thiemowmde)

Documentation, dependencies and build changes

  • README: Remove todo about check-vars.php (Umherirrender)
  • build: Add Doxygen (James D. Forrester)
  • build: Pin PHPUnit to 9.5.28 (James D. Forrester)
  • build: Update squizlabs/PHP_CodeSniffer to 3.7.2 (Taavi Väänänen)
  • code: Disable OneObjectStructurePerFile during FunctionComment tests (thiemowmde)

40.0.1 / 2022-11-01

Documentation, dependencies and build changes

  • build: Loosen symfony/polyfill-php80 requirement (Alexander Vorwerk)

40.0.0 / 2022-11-01

New sniffs

  • Create SameLineCatch sniff to warn when a catch statement is not in the same line as the preceding closing bracket. (Taavi Väänänen)
  • Create EmptyLinesBetweenUse sniff to complain about blank lines between use statements. (DannyS712)
  • Create TrailingComma sniff to complain about missing trailing commas in multiline arrays. (Lucas Werkmeister)

Changed sniffs

  • AnnotationsSniff: Suggest expectExceptionMessageMatches() (Umherirrender)
  • ForbiddenFunctionsSniff: Make forbidden argument count reporting more generic (Thiemo Kreuz)
  • ExtendClassUsage: Remove dot from error message (Umherirrender)

Documentation, dependencies and build changes

  • Require php7.4 and type hint class properties (Umherirrender)
  • build: Upgrade PHPUnit from 8.5+ to 9.5+ (Umherirrender)
  • build: Update mediawiki/mediawiki-phan-config to 0.12.0 (Daimona Eaytoy)
  • Require php7.3 and use new functions (Umherirrender)
  • build: Update squizlabs/php_codesniffer to 3.7.1 (Alexander Vorwerk)
  • build: Update squizlabs/php_codesniffer to 3.7.0 (Umherirrender)
  • Allow to use php8 functions with polyfill (Umherirrender)

39.0.0 / 2022-05-04

New sniffs

  • Create PHPUnitAssertEmpty sniff to warn against using assertEmpty (DannyS712)

... (truncated)

Commits
  • 0ccdbc1 Release v41.0.0
  • cd24834 build: Update squizlabs/PHP_CodeSniffer to 3.7.2
  • c940b90 build: Add Doxygen
  • 2fb2df6 build: Pin PHPUnit to 9.5.28
  • 57d2533 README: Remove todo about check-vars.php
  • 8b36090 AssertionOrderSniff: Also run for assertNotEquals/assertNotSame
  • eae6c82 Tiny performance optimization in FunctionCommentSniff
  • 1810984 Disable OneObjectStructurePerFile during FunctionComment tests
  • 608394c Allow fully typed __constructor without @​param tags
  • a4cff72 AssertionOrderSniff: handle more wrong actual values
  • 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 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.
- [Release notes](https://github.com/wikimedia/mediawiki-tools-codesniffer/releases)
- [Changelog](https://github.com/wikimedia/mediawiki-tools-codesniffer/blob/master/HISTORY.md)
- [Commits](wikimedia/mediawiki-tools-codesniffer@v40.0.1...v41.0.0)

---
updated-dependencies:
- dependency-name: mediawiki/mediawiki-codesniffer
  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 Mar 1, 2023
@dependabot dependabot bot requested a review from a team March 1, 2023 19:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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