Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mediawiki/mediawiki-codesniffer requirement from 41.0.0 to 42.0.0 #24

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 22, 2023

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

Changelog

Sourced from mediawiki/mediawiki-codesniffer's changelog.

42.0.0 / 2023-09-21

New sniffs

  • Create MockBoilerplateSniff for PHPUnit tests (DannyS712)
  • Create OneSpaceInlineArraySniff (Amir Sarabadani)
  • Create ShortListSyntaxSniff to replace list() by short array syntax (Umherirrender)
  • Enable Generic.WhiteSpace.ScopeIndent (Daimona Eaytoy)
  • Enable Squiz.ControlStructures.ControlSignature (Daimona Eaytoy)
  • Replace AssignmentInControlStructuresSniff with Generic.CodeAnalysis.AssignmentInCondition (Daimona Eaytoy)
  • Replace DisallowEmptyLineFunctionsSniff with Squiz.WhiteSpace.FunctionOpeningBraceSpace (Daimona Eaytoy)

Changed sniffs

  • AssertCountSniff: Prefer assertSameSize when both parts are count() (Func)
  • DeprecatedGlobalVariablesSniff: Add $wgHooks (Umherirrender)
  • ForbiddenFunctionsSniff: Fix not counting arguments correctly (Daimona Eaytoy)
  • SpaceAfterClosureSniff: Expand to enforce space after arrow functions (Umherirrender)
  • UnusedUseStatement: Ignore function name when detect unused use (Umherirrender)
  • ValidGlobalNameSniff & UnusedGlobalVariablesSniff: Make sniffs skip dynamic names (Daimona Eaytoy)

Documentation, dependencies and build changes

  • ParenthesesAroundKeyword: Use fixer->beginChangeset/endChangeset (Umherirrender)
  • Make some sniffs work for more OOP structures (Daimona Eaytoy)
  • build: Switch phan to special library mode (James D. Forrester)
  • build: Clean up of phan config (Umherirrender)

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

... (truncated)

Commits
  • 7299d2d Release v42.0.0
  • e28d453 Expand closue sniff to enforce space after arrow functions
  • 10969fc MockBoilerplateSniff: fix and re-enable equalTo() handling
  • 14ec349 UnusedUseStatement: Ignore function name when detect unused use
  • 423d5c8 Temporarily disable MediaWiki.PHPUnit.MockBoilerplate.ConstaintEqualTo by def...
  • 330a59b Introduce OneSpaceInlineArraySniff
  • 59f6a9b Fix ForbiddenFunctionsSniff not counting arguments correctly
  • 482d9e5 Make sniffs for global variables skip dynamic names
  • e8ccb98 Make some sniffs work for more OOP structures
  • d31ad78 Add new MockBoilerplateSniff for PHPUnit tests
  • 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@v41.0.0...v42.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 22, 2023
@Universal-Omega Universal-Omega merged commit 30ac0fe into master Feb 27, 2024
5 checks passed
@Universal-Omega Universal-Omega deleted the dependabot/composer/mediawiki/mediawiki-codesniffer-42.0.0 branch February 27, 2024 23:09
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
1 participant