Skip to content

chore(deps-dev): bump carthage-software/mago from 1.51.2 to 1.56.2 in /tools/mago - #2686

Open
dependabot[bot] wants to merge 1 commit into
1.xfrom
dependabot/composer/tools/mago/carthage-software/mago-1.56.2
Open

dependabot[bot] wants to merge 1 commit into
1.xfrom
dependabot/composer/tools/mago/carthage-software/mago-1.56.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 15, 2026

Copy link
Copy Markdown
Contributor

Bumps carthage-software/mago from 1.51.2 to 1.56.2.

Release notes

Sourced from carthage-software/mago's releases.

Mago 1.56.2 speeds up formatting and lowers its memory use, adds generic parent bindings in type patches, and fixes template resolution, closure defaults, array access, and Drupal formatting.

[!NOTE]

Support Mago

Does your company use Mago? Please consider sponsoring its development so we can keep fixing bugs and shipping releases.

Sponsor Mago ❤️

✨ Features

Analyzer

  • Generic patches: lets type patches replace bindings on existing parents and interfaces. (#2469, bcbd1bd)

🐛 Bug Fixes

Analyzer

  • ArrayAccess writes: checks array syntax against the effective offsetSet() value type. (#2473, 25af17d)
  • Object casts: infers array<array-key, mixed> for object-to-array casts. (#2472, cc7e8e4)
  • Parent calls: resolves template bindings through the calling class. (#2467, 868a0c1)
  • Closure defaults: avoids false redundant-coalesce warnings for nullable ??= closure assignments. (#2466, c3ead42)
  • Null defaults: infers nullable parameter types from null defaults. (#2470, #2471, 53cecd0)
  • Template bounds: resolves forwarded defaults and bounds when type arguments are omitted. (#2459, #2460, e1e8189)

Formatter

  • Binary continuations: keeps indentation stable across formatting passes. (#2464, 0879cdd)
  • Comments and indentation: stabilizes chains, echo, nested classes, and switch comments. (#2465, c923807)
  • Drupal preset: keeps lone value arguments inline and preserves logical parentheses. (#2216, 3774a31)

Prelude

  • Class-name types: uses class-string for class-name helpers and keeps false for parent lookups. (#2468, 70bef87)

📖 Documentation

Configuration

  • Type patches: explains generic parent bindings in English, French, and Chinese. (#2469, bcbd1bd)

🏗️ Internal

Formatter

  • Formatting work: cuts source copies and allocations in layout checks and printing. (b9be9bc)

🧩 Extension Protocol

... (truncated)

Commits
  • 3ee7210 release: 1.56.2
  • 211a6d9 test(formatter): update Drupal logical parentheses snapshot
  • 3774a31 fix(formatter): match Drupal's style for single value arguments and logical p...
  • e1e8189 fix(codex): resolve forwarded template bounds without type arguments (#2460)
  • 70bef87 fix(prelude): return class-string from class name helpers
  • c3ead42 fix(analyzer): preserve types in closure coalesce assignments
  • 868a0c1 fix(analyzer): resolve parent-call templates through the receiver
  • cc7e8e4 fix(analyzer): allow integer keys in object-to-array casts
  • 0879cdd fix(formatter): keep binary continuation indentation idempotent (#2464)
  • c923807 fix(formatter): stabilize commented chains and nested statement indentation (...
  • 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.51.2 to 1.56.2.
- [Release notes](https://github.com/carthage-software/mago/releases)
- [Commits](carthage-software/mago@1.51.2...1.56.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from norberttech as a code owner October 15, 2026 04:33
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Oct 15, 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 size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants