Skip to content

build(deps-dev): bump carthage-software/mago from 1.46.0 to 1.47.4 in /tools/mago - #2609

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

build(deps-dev): bump carthage-software/mago from 1.46.0 to 1.47.4 in /tools/mago#2609
dependabot[bot] wants to merge 1 commit into
1.xfrom
dependabot/composer/tools/mago/carthage-software/mago-1.47.4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 28, 2026

Copy link
Copy Markdown
Contributor

Bumps carthage-software/mago from 1.46.0 to 1.47.4.

Release notes

Sourced from carthage-software/mago's releases.

Mago 1.47.4

Mago 1.47.4 improves numeric-string analysis, instanceof narrowing, formatter stability, and array-inference performance.

🐛 Bug Fixes

Analyzer

  • Instanceof with coalesce: narrows values guarded by ($value ?? null) instanceof T. (#2249, 889e259)
  • Nullsafe instanceof: narrows nullable receivers after nullsafe property checks. (#2250, b17a46f)
  • Loose numeric comparisons: models PHP integer-string coercion. (#2254, 0b424e8)
  • Readonly diagnostics: names readonly violations instead of visibility errors. (#2241, 7b103aa)
  • Integer-string keys: normalizes canonical strings to integer array keys. (#2259, 39b9577)

Codex

  • Array inference: prevents inferred array types from exploding in size. (#2256, 89a45de)

Linter

  • Subtraction from zero: suggests negating the right operand. (#2240, b302702)
  • Anonymous constructors: records variables passed to anonymous class constructors as used. (#2239, 8ff624e)

Formatter

  • Preserved conditions: keeps binary-condition indentation idempotent. (#2255, 3435bf3)
  • Method-chain semicolons: preserves spacing before else and elseif. (#2150, #2237, 03d9726)
  • Tiny print widths: prevents table-style layout underflow. (#2242, 098540e)
  • Numeric concatenation: avoids redundant operand parentheses. (#2246, c581aa7)

Prelude

  • array_sum: returns int|float for numeric-string arrays. (#2258, 4000b2f)

🏗️ Internal

Analyzer

  • Write visibility: centralizes effective write-visibility resolution. (#2238, e67a00e)

🙏 Thank You

Contributors

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

Issue Reporters

... (truncated)

Commits
  • 398a190 release: 1.47.4
  • 39b9577 fix(analyzer): normalize canonical integer-string array keys
  • 4000b2f fix(prelude): correct array_sum return type for numeric strings
  • 3435bf3 fix(formatter): make preserved binary conditions idempotent
  • 03d9726 fix(formatter): keep node stack balanced when method-chain-semicolon-on-next-...
  • c581aa7 fix(formatter): avoid redundant parentheses around numeric concat operands (#...
  • 89a45de fix(codex): prevent inferred array type explosion
  • 0b424e8 fix(analyzer): model loose integer-string comparisons
  • b17a46f fix(analyzer): narrow nullsafe instanceof receivers
  • 098540e fix(formatter): guard against usize underflow when print-width is smaller tha...
  • 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.46.0 to 1.47.4.
- [Release notes](https://github.com/carthage-software/mago/releases)
- [Commits](carthage-software/mago@1.46.0...1.47.4)

---
updated-dependencies:
- dependency-name: carthage-software/mago
  dependency-version: 1.47.4
  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 Aug 28, 2026
@dependabot
dependabot Bot requested a review from norberttech as a code owner August 28, 2026 04:34
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Aug 28, 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: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants