Skip to content

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

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

build(deps-dev): bump carthage-software/mago from 1.46.0 to 1.47.4#4601
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/carthage-software/mago-1.47.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 27, 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 dependabot Bot added dependencies Pull requests that update a dependency file PHP Pull requests that update Php code labels Aug 27, 2026
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.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title build(deps-dev): bump carthage-software/mago from 1.46.0 to 1.47.2 build(deps-dev): bump carthage-software/mago from 1.46.0 to 1.47.4 Sep 1, 2026
@dependabot
dependabot Bot force-pushed the dependabot/composer/carthage-software/mago-1.47.2 branch from 8ff3055 to 076fcc2 Compare September 1, 2026 04:54
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