Repository navigation
chore(deps): update dependency carthage-software/mago to v1.64.0 - #125
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #125 +/- ##
===========================================
Coverage 100.00% 100.00%
Complexity 117 117
===========================================
Files 10 10
Lines 406 406
===========================================
Hits 406 406
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
text-html-renovate
Bot
force-pushed
the
renovate/carthage-software-mago-1.x-lockfile
branch
from
December 5, 2026 10:10
886720b to
e1675d7
Compare
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.63.2→1.64.0Release Notes
carthage-software/mago (carthage-software/mago)
v1.64.0: Mago 1.64.0Compare Source
Mago 1.64.0 lets a class declare what a
yieldof its instances returns, and fixes 21 bugs, most of them in the analyzer and the PHP stubs.✨ Features
Analyzer
@mago-yield Ton a class makesyield $loadreturnT, such asUserfor aLoad<User>. (#2944,cbd34e0)A class inherits the tag from its parents and interfaces. When any part of the yielded value lacks the tag,
yieldkeeps the generator's send type.🐛 Bug Fixes
Analyzer
Arrays
isset()andif: keeps an array key thatisset()proved to exist after anifthat does not change it. (#2953,fd82833)$row[self::KEY]and$row['key']as the same key when the constant holds'key'. (fd5cf55)empty()on array keys: no longer addsnullto an array key that holds a non-null value after anempty()check on it. (d3a653d)$data['a'][$key] = 1with a string$keymakes$data['a']a keyed array, not a list. (016e74e)isset()on a key a closed array shape lacks no longer types the key like the shape's other values. (2b0a5d8)Narrowing
=== []: narrows a value compared with[]to the empty array, not toCountable. (#2880, #2936,f3039d3)ifbranch assigns. (#2881, #2939,7f8d79d)$thisin traits: narrows$thisin a trait after aninstanceofcheck, such asassert($this instanceof Base). (#2935,6bea50f)$a->b->cread again after anisset()orempty()check. (#2940,eabab17)Classes and Closures
non-existent-propertyfor classes marked#[AllowDynamicProperties]. (#2911,2b4c6e4)A&BwhenBextends a class Mago cannot find. (4d82dae)BoxgetsBox<Product>from the expected callable. (#2952,34042ec)Codex
=T) and equality assertions a class inherits from a generic parent. (95d0d6e)Prelude
Pdo\Sqlite, the values PHP uses. (#2926, #2927,183b9a3)RegexIterator: adds seven missing methods, such asgetMode()andsetFlags(). (#2928, #2929,da94240)S_ALLandPDO::__sleep(). (#2930, #2931,c0d5980)__debugInfo(): adds the method toArrayObject,ArrayIterator,SimpleXMLElementandGenerator. (#2950, #2951,751fab9)CURLOPT_SEEKFUNCTION. (#2946, #2947,0f12b1e)SensitiveParameterandopcache_jit_blacklist(). (#2948, #2949,1a1ca9d)Semantics
finalproperty hooks: reports afinalproperty hook that is also abstract or private. (#2932, #2933,78f35b7)private(set)orprotected(set)and only one hook. (#2942, #2943,779c120)🧩 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.63.2...1.64.0
Configuration
📅 Schedule: (UTC)
🚦 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.
This PR has been generated by Mend Renovate CLI.