Skip to content

chore(deps): update dependency carthage-software/mago to v1.60.2 - #105

Merged
mathroc merged 1 commit into
mainfrom
renovate/carthage-software-mago-1.x-lockfile
Nov 16, 2026
Merged

mathroc merged 1 commit into
mainfrom
renovate/carthage-software-mago-1.x-lockfile

Conversation

@text-html-renovate

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
carthage-software/mago 1.60.1 → 1.60.2 age confidence

Release Notes

carthage-software/mago (carthage-software/mago)

v1.60.2: Mago 1.60.2

Compare Source

Mago 1.60.2 stops reporting the failure results of PCRE calls with literal patterns, and fixes 22 bugs in the analyzer, type system, stubs, semantics checks, and Twig formatter.

✨ Features

Analyzer
  • PCRE results: stops reporting the null or false failure result of preg_* calls with literal patterns. (#​2723, 0aa1f13)

🐛 Bug Fixes

Analyzer
  • Loose comparisons: keeps loosely equal scalars, such as int and float, when narrowing == and !=. (#​2716, #​2730, 82ce437)
  • is_subclass_of(): narrows a class-string checked against an unrelated interface to an intersection, not never. (#​2724, 38eaee5)
  • is_array() on iterables: keeps class-string keys when narrowing an iterable to an array. (a68b39b)
  • Psl\Iter\contains(): narrows like strict in_array(), so false only rules out values the haystack surely holds. (#​2728, c58dd15)
  • Static properties: forgets narrowed static properties after a static call that can change them. (#​2718, 610a5aa)
  • Foreach keys: writes every key a foreach over a literal list supplies, so later reads are not possibly undefined. (#​2729, 23874a7)
  • Foreach references: stops reporting reference-reused-from-confusing-scope in nested foreach loops by reference. (#​2726, e97e902)
  • Keys after loops: keeps keys optional after an always-entered loop unless the loop added them. (35ac751)
  • Nested array writes: turns null keys into '' in nested writes, as PHP does. (#​2720, 48644ac)
  • Null index messages: adds the missing space before of variable in null array index messages. (0332a90)
  • Runtime classes: treats get_class($object):: and $object::class:: like $object::, so interfaces no longer warn. (#​2725, bce958d)
  • Spread arguments: stops reporting too few arguments when spreading an array of unknown size. (7328ebf)
  • Exception codes: types getCode() from the $code property of the exception and its subclasses. (3cca74e)
  • Number casts: allows (int) and (float) casts of SimpleXMLElement and GMP. (#​2721, c46fc88)
  • Property reads on never: keeps never when reading a property of a never value. (8246d77)
  • Superglobals: types APP_DEBUG in $_ENV and $_SERVER as a string, so proc_open() accepts $_ENV. (#​2715, f9de5b2)
Codex
  • Inherited return docblocks: expands constant references before narrowing an inherited @return, keeping its scalars. (#​2727, 21b4e54)
  • Vendored classes: a class_alias() call no longer makes types from classes in includes unknown. (#​2722, e6350fd)
  • Class-string comparisons: ignores type arguments, so ArrayIterator::class fits class-string<ArrayIterator<K, V>>. (14c3548)
Prelude
  • MongoDB: matches the MongoDB stubs to version 2.5.7 of the driver. (969e149)
  • Core stubs: fixes call_user_func() callbacks, stat() keys, nullable Iterator returns, and WeakReference variance. (969e149)
Semantics
  • Magic method types: reports declared types of magic methods that PHP rejects, such as __toString(): ?string. (#​2713, #​2714, 777d2b4)
Twig Formatter
  • Hugged last arguments: hugs a last hash or array argument that spans several lines instead of breaking the call. (#​2731, a1c2cc3)

🧩 Extension Protocol

No protocol changes in this release.

🙏 Thank You

Contributors

Thank you to everyone who contributed to this release:

Issue Reporters

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

Full Changelog: carthage-software/mago@1.60.1...1.60.2


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

@codecov

codecov Bot commented Nov 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (5d6699f) to head (28369ed).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##                main      #105   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity       117       117           
===========================================
  Files             10        10           
  Lines            406       406           
===========================================
  Hits             406       406           
Flag Coverage Δ
php-8.5 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mathroc
mathroc merged commit bb3c12b into main Nov 16, 2026
8 checks passed
@mathroc
mathroc deleted the renovate/carthage-software-mago-1.x-lockfile branch November 16, 2026 03:12

This branch was previously deployed

1 inactive deployment
github-pages — 28369ed7 Deployed Nov 16, 2026 by text-html-renovate[bot] via deploy #374
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