Skip to content

Bump carthage-software/mago from 1.12.0 to 1.13.3 in /packages/default/send-email#28

Merged
egorsmkv merged 1 commit intomainfrom
dependabot/composer/packages/default/send-email/carthage-software/mago-1.13.3
Mar 4, 2026
Merged

Bump carthage-software/mago from 1.12.0 to 1.13.3 in /packages/default/send-email#28
egorsmkv merged 1 commit intomainfrom
dependabot/composer/packages/default/send-email/carthage-software/mago-1.13.3

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 4, 2026

Bumps carthage-software/mago from 1.12.0 to 1.13.3.

Release notes

Sourced from carthage-software/mago's releases.

Mago 1.13.3

This is a patch release packed with bug fixes across the analyzer, codex, and formatter. The analyzer fixes address several false positives involving generics, union types, type inference, and unreachable code detection. The codex fixes resolve issues with type combination and @inheritDoc inheritance. The formatter fixes resolve issues with concatenation chain formatting and preserve-break propagation.

🐛 Bug Fixes

Analyzer

  • Deduplicated signature compatibility checks in diamond inheritance: Fixed duplicate diagnostics (e.g., incompatible-parameter-name reported multiple times) when a class implements multiple interfaces sharing a common ancestor (#1245)
  • Fixed potentially undefined array element in union types: Fixed incorrect inference when accessing array elements that may be undefined within union types (#1263)
  • Fixed empty array inference for bare generic parameter templates: Fixed a bug where generic type information was lost when passing an empty array to a function with a bare generic parameter template (#1264)
  • Fixed static type resolution in method parameters for final classes: Fixed a false positive less-specific-argument when using generics that reference static in method parameters. static is now resolved using the method context and treated as exact for final classes (#1265)
  • Fixed false positive unreachable code for declarations: Fixed a false positive where class, function, and other declarations following an unconditional return or throw were incorrectly reported as unreachable. Declarations are now excluded from unreachable code diagnostics and dead-code filtering (#1259)

Codex

  • Fixed literal floats dropped from union types during type combination: Fixed a bug where the type combiner's fast path incorrectly dropped literal float types from unions. For example, a T|null parameter where T was inferred as a float would collapse to just null (#1262)
  • Fixed @inheritDoc overwriting narrower child return types: Fixed a bug where @inheritDoc on a child method would replace the child's more specific native return type with the parent's broader docblock type. The inherited type is now narrowed against the child's native return type when the child is more specific (#1266)

Formatter

  • Fixed preserve breaks affecting parent groups: Fixed an idempotency issue where preserve_breaking_* settings caused structural break propagation to parent groups, leading to different output on subsequent formatting passes. Preserve-sourced breaks are now isolated from structural breaks (#1260)
  • Fixed concatenation chains staying hugged in argument lists: Fixed a bug where long string concatenation chains (3+ operands) inside constructor or function arguments were incorrectly "hugged" within the parentheses, causing the concatenation operators to break at the statement's indentation level instead of properly expanding the argument list (#1255)

🏗️ Internal

  • Applied fixes from nightly Clippy (#1274)

🙏 Thank You

Contributors

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

Issue Reporters

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


Full Changelog: carthage-software/mago@1.13.2...1.13.3

Mago 1.13.2

This is a patch release with several bug fixes across the analyzer, formatter, and prelude, along with a batch of performance improvements.

... (truncated)

Commits
  • 565646d release: 1.13.3 (#1276)
  • b674bf1 fix(formatter): don't hug concatenation chains as they can be long (#1275)
  • 0211cf7 chore(internal): apply fixes from nightly clippy (#1274)
  • bb49bd7 fix(analyzer): skip unreachable code diagnostics and dead-code filtering for ...
  • e3700e8 fix(codex): preserve child narrowed return type during @​inheritDoc inheritanc...
  • bda47e6 fix(codex): include literal floats in type combination simplicity check (#1270)
  • 38c6fd8 fix(analyzer): resolve static type in method parameters using method context ...
  • 580cf92 fix(analyzer): allow empty array inference for bare generic parameter templat...
  • 6732449 fix(analyzer): fix potentially undefined array element in union types (#1267)
  • 28964f0 fix(formatter): prevent preserve breaks from affecting parent groups (#1260)
  • 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.12.0 to 1.13.3.
- [Release notes](https://github.com/carthage-software/mago/releases)
- [Commits](carthage-software/mago@1.12.0...1.13.3)

---
updated-dependencies:
- dependency-name: carthage-software/mago
  dependency-version: 1.13.3
  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 Mar 4, 2026
@egorsmkv egorsmkv merged commit 2cbb996 into main Mar 4, 2026
1 check passed
@dependabot dependabot bot deleted the dependabot/composer/packages/default/send-email/carthage-software/mago-1.13.3 branch March 4, 2026 14:57
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