Skip to content

build(deps-dev): bump carthage-software/mago from 1.55.0 to 1.56.2 - #4786

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

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

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps carthage-software/mago from 1.55.0 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.55.0 to 1.56.2.
- [Release notes](https://github.com/carthage-software/mago/releases)
- [Commits](carthage-software/mago@1.55.0...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 added dependencies Pull requests that update a dependency file PHP Pull requests that update Php code labels Oct 19, 2026
@coderabbitai

coderabbitai Bot commented Oct 19, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1f67af1d-fd45-474d-96a9-6889c889615c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@dependabot @github

dependabot Bot commented on behalf of github Oct 20, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #4792.

@dependabot dependabot Bot closed this Oct 20, 2026
@dependabot
dependabot Bot deleted the dependabot/composer/carthage-software/mago-1.56.2 branch October 20, 2026 04:03
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.

0 participants