Skip to content

build(deps-dev): update carthage-software/mago requirement from 1.57.0 to 1.59.0 - #328

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 1, 2026 •

Copy link
Copy Markdown

Updates the requirements on carthage-software/mago to permit the latest version.

Release notes

Sourced from carthage-software/mago's releases.

Mago 1.59.0 fixes analyzer narrowing across boolean guards, nullsafe checks, and elseif branches, improves generic and callable inference, and updates the analyzer extension protocol to MANA 2.2.

[!NOTE]

Support Mago

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

Sponsor Mago ❤️

🐛 Bug Fixes

Analyzer

  • Namespace constants: preserves global constant fallback in namespaced declarations. (#2594, 0e6c1d8)
  • Method assertions: keeps getter assertions from the right side of ||. (#2600, #2609, 777429f)
  • CLI argument guards: fixes $argc typing and negated count() bounds. (#2607, #2608, be88d13)
  • Template defaults: applies declared defaults when constructing generic objects. (#2603, #2606, 2066b18)
  • Stored booleans: keeps narrowing implied by boolean variables across && and ||. (#2601, 8d739b3)
  • Nullsafe membership: narrows receivers after strict in_array() checks against non-null values. (#2599, 56e4b49)
  • Collection intersections: honors narrower read types in intersected collection types. (#2612, 79c295f)
  • Callable signatures: preserves parameter and return types through Closure::fromCallable(). (#2611, #2614, 3ea5963)
  • PHPDoc generics: checks missing, excess, and out-of-bounds template arguments in docblocks. (#2616, 2ac5c5d)
  • Boolean branches: preserves true and false types across short-circuit expressions. (#2593, 9890d23)
  • Dynamic instanceof: keeps valid operand types when a dynamic class check fails. (#2592, #2595, 65530ba)
  • Strict equality: narrows both union-typed operands to their shared types. (#2559, 923c061)
  • Elseif branches: preserves all reachable types and branch facts after conditional chains. (#2619, 0a098f4)
  • Nullsafe comparisons: avoids false impossible-null reports when assigning comparison results. (#2591, b7273f4)
  • URL components: allows empty user, password, query, and fragment strings from parse_url(). (#2590, #2610, 16dd70b)

📖 Documentation

Extensions

  • Protocol compatibility: documents MANA 2.2 constant fallback and worker upgrade requirements. (#2594, 0e6c1d8)

🏗️ Internal

CI

  • Pull request limit: limits outside contributors to one open PR at a time, including drafts. (9b6979c)

Tooling

  • Justfile cleanup: removes an unused variable. (3f212f3)

🧩 Extension Protocol

Analyzer

... (truncated)

Commits
  • 95a25d6 release: 1.59.0
  • 16dd70b fix(analyzer): type empty-capable parse_url components as string (#2610)
  • b7273f4 fix(analyzer): skip diagnostics for inferred nullsafe checks
  • 0a098f4 fix(analyzer): preserve reachable types after elseif chains
  • 3f212f3 chore(just): remove unused variable
  • 923c061 fix(analyzer): narrow union types after strict equality (#2559)
  • 65530ba fix(analyzer): keep the operand type when a dynamic instanceof check fails (#...
  • 9890d23 fix(analyzer): preserve boolean types across short-circuit branches
  • 2ac5c5d fix(analyzer): validate generic arguments in PHPDoc types
  • 3ea5963 fix(analyzer): infer Closure::fromCallable signatures (#2614)
  • Additional commits viewable in compare view

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)

Updates the requirements on [carthage-software/mago](https://github.com/carthage-software/mago) to permit the latest version.
- [Release notes](https://github.com/carthage-software/mago/releases)
- [Commits](carthage-software/mago@1.57.0...1.59.0)

---
updated-dependencies:
- dependency-name: carthage-software/mago
  dependency-version: 1.59.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Nov 1, 2026

Copy link
Copy Markdown
Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot
dependabot Bot requested a review from nicolaasuni as a code owner November 1, 2026 13:46
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@dependabot @github

dependabot Bot commented on behalf of github Nov 2, 2026

Copy link
Copy Markdown
Author

Looks like carthage-software/mago is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Nov 2, 2026
@dependabot
dependabot Bot deleted the dependabot/composer/carthage-software/mago-1.59.0 branch November 2, 2026 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant