Skip to content

chore(deps): bump carthage-software/mago from 1.26.0 to 1.42.0#110

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/carthage-software/mago-1.42.0
Open

chore(deps): bump carthage-software/mago from 1.26.0 to 1.42.0#110
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/carthage-software/mago-1.42.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 29, 2026

Copy link
Copy Markdown
Contributor

Bumps carthage-software/mago from 1.26.0 to 1.42.0.

Release notes

Sourced from carthage-software/mago's releases.

Mago 1.42.0

A small release adding a prefer-early-return linter rule, fixing Windows self-update, and clearing analyzer and PHPDoc false positives around is_a(), nullable destructuring, and @param on promoted properties.

✨ Features

Linter

  • prefer-early-return: new rule suggesting early returns to reduce nesting in functions. (#2031, e523ab1)

🐛 Bug Fixes

Analyzer

  • is_a() with allow_string: a string subject no longer triggers a false impossible-type-comparison. (db64917)
  • Nullable destructuring: destructuring T|null keeps element types (plus null) instead of widening to mixed. (643a037)

PHPDoc Syntax

  • @param on promoted properties: @param T with no variable is allowed and types the property like @var. (8b9af32)

CLI

  • Windows self-update: extracts the .exe-suffixed binary from the archive, fixing "file not found". (805a1c3)

🙏 Thank You

Contributors

A huge thank you to everyone who contributed code to this release:

Full Changelog: carthage-software/mago@1.41.0...1.42.0

Mago 1.41.0

A feature release adding call-site generic variance and a new no-duplicate-match-arm linter rule, alongside analyzer, codex, and PHPDoc fixes for implicit Stringable, do-while narrowing, @return nullability, and enum match exhaustiveness.

✨ Features

Linter

  • no-duplicate-match-arm: new rule flags a match arm whose result duplicates an earlier arm. (#2027, a9b377528)

Type System

  • Call-site generic variance: covariant/contravariant/* type-argument modifiers parse and drive assignability. (#2025, c7ff981a9)

🐛 Bug Fixes

... (truncated)

Commits
  • 1e843d2 release: 1.42.0
  • 805a1c3 fix(self-update): look for the .exe-suffixed binary inside the archive on Win...
  • a09d998 chore(linter): fmt
  • e523ab1 feat(linter): add prefer-early-return rule (#2031)
  • db64917 fix(analyzer): don't assert object type for is_a(..., allow_string) on a stri...
  • 8b9af32 fix(phpdoc-syntax, codex, hir): allow @​param without a variable; honor it on ...
  • 643a037 fix(analyzer): split destructuring-source null diagnostics into null/possibly...
  • e55b919 release: 1.41.0
  • 2e77c2c chore: apply clippy fixes
  • 5b53b2d chore: sync cargo lock
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

Bumps [carthage-software/mago](https://github.com/carthage-software/mago) from 1.26.0 to 1.42.0.
- [Release notes](https://github.com/carthage-software/mago/releases)
- [Commits](carthage-software/mago@1.26.0...1.42.0)

---
updated-dependencies:
- dependency-name: carthage-software/mago
  dependency-version: 1.42.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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 Jun 29, 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.

1 participant