Skip to content

chore(deps): update dependency carthage-software/mago to v1.42.0#104

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/composer-dev
Jun 27, 2026
Merged

chore(deps): update dependency carthage-software/mago to v1.42.0#104
renovate[bot] merged 1 commit into
mainfrom
renovate/composer-dev

Conversation

@renovate

@renovate renovate Bot commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
carthage-software/mago 1.40.21.42.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

carthage-software/mago (carthage-software/mago)

v1.42.0: Mago 1.42.0

Compare Source

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

v1.41.0: Mago 1.41.0

Compare Source

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, a9b3775)
Type System
  • Call-site generic variance: covariant/contravariant/* type-argument modifiers parse and drive assignability. (#​2025, c7ff981)

🐛 Bug Fixes

Analyzer
  • @return narrowing: a docblock @return int over native ?int narrows the return instead of re-adding null. (#​2020, dd8a54f)
  • do-while conditions: the loop body is narrowed by its condition on re-entry, like while. (#​2029, 496cd0a)
  • Enum match exhaustiveness: a self-typed enum is treated as enumerable, fixing a false non-exhaustive report. (#​2019, 6c72db0)
Codex
  • Implicit Stringable: a class declaring or inheriting __toString() now implicitly implements Stringable. (#​2026, 7a81571)
PHPDoc Syntax
  • Inline code spans: an inline `code` span may cross continuation lines without an "unclosed code" error. (#​2024, af95abc)

🏗️ Internal

  • Dependencies: refreshed third-party dependencies. (14ac380)
  • Toolchain: pinned nightly bumped to nightly-2026-06-27. (#​2010, 9680310)

🙏 Thank You

Issue Reporters

Thank you to everyone who reported issues that shaped this release:

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


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot merged commit 0d82acd into main Jun 27, 2026
8 checks passed
@renovate renovate Bot deleted the renovate/composer-dev branch June 27, 2026 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants