Update all non-major dependencies#143
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Conversation
Contributor
Author
|
automergeComment |
c4883b8 to
702f079
Compare
07dc643 to
19adc6e
Compare
f0930dd to
79cda5a
Compare
5fce0b8 to
4ebd3bd
Compare
4ebd3bd to
2c4252f
Compare
0d1f9b5 to
3a1748c
Compare
30d51ad to
8442d6f
Compare
8442d6f to
6282980
Compare
6282980 to
759633b
Compare
759633b to
f1f5ec9
Compare
e543c70 to
c23f26f
Compare
26cae27 to
8e93294
Compare
a55fc12 to
e18fe51
Compare
| datasource | package | from | to | | ---------- | -------------------------------------- | ------ | ------ | | packagist | carthage-software/mago | 1.23.1 | 1.25.2 | | packagist | php-standard-library/phpstan-extension | 2.0.4 | 2.1.0 | | packagist | phpstan/phpstan | 2.1.50 | 2.1.54 | | packagist | phpstan/phpstan-strict-rules | 2.0.10 | 2.0.11 |
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.23.1→^1.25.2^2.0.4→^2.1.0^2.1.50→^2.1.54^2.0.10→^2.0.11Release Notes
carthage-software/mago (carthage-software/mago)
v1.25.2: Mago 1.25.2Compare Source
Mago 1.25.1
This release is a bug-fix pass focused on the linter and analyzer, plus a full rewrite of the documentation site. Several false positives reported against
1.25.1are fixed (no-redundant-variable, no-dead-store, array_map conditional returns, bitwise ops,@psalm-paramoverrides).✨ Features
Documentation
3aa5e8c)Names
use-item names inResolvedNames: records imported FQNs so the LSP can resolve hover/go-to-definition on use items. (2cc57ee)🐛 Bug Fixes
Analyzer
array_mapconditional returns: resolves the callback's conditional return per element instead of collapsing it. (#1748,fcb81b7)bool true/floats: matches PHP semantics (string XOR/AND/OR, true→1, float→int). (#1755,a8cf8bb)Codex
@psalm-parampriority: applies@psalm-param/@phpstan-paramafter@paramso the more specific docblock wins. (#1756,51c255e)Linter
no-dead-storeonforeachtargets: exempts conditional overwrites of the loop-variable binding. (#1749,259f871)no-redundant-variableby-ref closure captures: drops the synthetic write that masked legitimate uses. (#1751,f713125)no-redundant-variableloop bodies: re-walks the condition after the body so writes inside the loop are observed. (#1752,6d519a3)no-redundant-useonuseitems: excludes use-item spans from the used-FQN set so the import isn't counted. (2d476c3)Language Server
$,->,::: triggers properly, plus hover/goto resolves throughuseitems. (c839254)🏗️ Internal
CI
597c7a3,edf6a5e)🙏 Thank You
Issue Reporters
Thank you to everyone who reported issues that shaped this release:
Full Changelog: carthage-software/mago@1.25.1...1.25.2
v1.25.1: Mago 1.25.1Compare Source
Mago 1.25.1
Patch release. Three correctness fixes surfaced while upgrading real codebases on 1.25.0 (an invariant-generic redundant-docblock false positive, a stale narrowing leaking from
tryintofinally, and ano-redundant-variablefalse positive on loop wraparound writes), plus three previously-orphaned doc pages wired back into the sidebar.🐛 Bug Fixes
Codex
Foo<mixed>no longer reads as identical toFoo<T>in redundancy checks. (863b796)Analyzer
finallyinheritstrycall invalidations: narrowings cleared insidetryno longer leak into thefinally. (330a41e)Linter
no-redundant-variablerespects loop wraparound: a write at the bottom of a loop body counts as observed by the top-of-body read. (#1747,40093a6)📖 Documentation
generate-completions,format-ignore, andpre-commit-hooksare now reachable. (f8f4394)🙏 Thank You
Issue Reporters
Thank you to everyone who reported issues that shaped this release:
Full Changelog: carthage-software/mago@1.25.0...1.25.1
v1.25.0: Mago 1.25.0Compare Source
Mago 1.25.0
Mago 1.25.0 is a big release. Seven new linter rules (
no-dead-store,no-redundant-variable,no-redundant-else,no-negated-ternary,no-unused-static,no-unused-global,no-unused-closure-capture), default values on@templateparameters, and a configextendsdirective for sharedmago.tomlinheritance. The analyzer picks up an opt-in pipe-callable hint relaxation, branch-discriminator narrowing, integer-bound widening in loop fixpoints, and a long list of correctness fixes around shapes, by-reference params, nullsafe scope, andfinallystate. Performance got serious attention: CodSpeed CI is wired up, hot allocations are gone from the comparator, populator, algebra, and syntax crates, andtype-syntaxnow arena-allocates its AST.A new feature-gated
mago language-serversubcommand ships as an unstable preview behind--features language-server, and the install script now auto-verifies release attestations throughgh(with--always-verifyand--no-verifyescape hatches) for teams that want supply-chain checks at install time.✨ Features
Analyzer
@templateparameters in docblocks. (#899,9d592d2)allow-implicit-pipe-callable-typesskips type-hint checks on|>callables. (#1634,67d1736)86ebd89)85587dc)PHP_INT_MAXkey: flags$arr[]once the implicit key would overflow. (8a47607)if ($flag) {} else {}patterns. (9828771)AnalysisArtifactsandanalyze_with_artifacts: orchestrator API for embedders that need per-expression types. (79e332a)Linter
no-dead-storeandno-redundant-variable: writes whose values are never read, and obvious aliases. (#938,fce1b6e)no-redundant-else: warns onelseblocks after a return/throw/etc. (#1705,dca1497)no-negated-ternary: rewrites!cond ? a : btocond ? b : a. (#1721,39ca373)no-unused-{static,global,closure-capture}: three rules covering unread captures and unused declarations. (#1739,3547a92)CLI
mago format --stdin-filepath: route stdin through the right configuration and respect excludes. (#1726,c103de0)extendsdirective: shared base configurations across projects via a per-file include chain. (#1173,485ff4a)MAGO_LOG=debug: makes baseline troubleshooting visible. (#1694,1d51d2e)Reporting
d5f8ed4)Prelude
memcachedextension: full stub coverage for the Memcached PECL extension. (#1692,9ac7e88)Install
gh: install script verifies on auto-detect, with--always-verifyand--no-verify. (cd4cf4d)Language server (unstable preview)
mago language-server: feature-gated unstable LSP behind--features language-server. (8c3b589)mago.tomlinto the LSP: linter / analyzer / formatter / source config flow through the language server. (b027fe2)🐛 Bug Fixes
Analyzer
6a144f0)0730075)finally. (#1742,ec4e1db)802fc74)e137325)and/or: typing now follows assignment-style boolean operators. (218a4fa)$obj->prop = nullon declared non-nullable. (1f95315)e98e879)+operator on array shapes per PHP semantics: array union now matches PHP's left-key-wins behaviour. (73a947a)eacaa33)global-declared vars across calls: model state changes a callee can perform. (#1712,d279a7a)d848132)5b4be9f)d746e0f)$x?->ynarrows$xafter the survivor. (#1695,7d9b9ac)$v !== []onmixedas redundant: that comparison is meaningful when$vcould be an array. (#1703,67be0a0)sprintfwith non-empty args: tightens return type when args are statically non-empty. (#1688,c3a422e)a9bf5bf)array_mapnull-callback passthrough and zip: null-callback variant returns zipped pairs. (fba9d06)4c360c0)===from!==. (8bf96d3)Codex
'strlen'cannot match aClosure(...)parameter. (d1050f3)i64::MAX: prevents overflow on absurdly long fixed-shape arrays. (d5fdbbe)is_callablewhen widening callable-string with literals: avoids spurious callable-string contamination. (bfc8ed3)0a1c837)@templateconstraints: aliases defined later in the file resolve correctly. (#1691,fb0b796)a648361)bb41160)Closure(int): voidrequires the callable accepts the int. (#1700,01a128b)Literal%Frommodulo by|dividend|: correct modulo bounds againstint<min, max>divisors. (#1701,c11c9bf)i64::MINin scanner's unary-negation inference:-(-9223372036854775808)no longer overflows. (#1702,c9776e9)@varwidening for invariant generics. (f223d4a)Linter
TRUE/FALSE/NULLin lowercase-keyword under Drupal: Drupal coding standards keep these uppercase. (#1743,5056e78)string-stylewhen concat contains non-interpolable expressions: avoids fixers that change runtime behaviour. (#1738,f07f207)str-starts-withannotation as primary: diagnostic location lands on the actual call site. (86724f8)Formatter
&&/||split. (#1744,f63eba1)715db54)cfe060f)Syntax
d952858)"\0"inside${ }blocks. (44015e4)374575c)type-syntaxlexer no longer accepts1ewithout an exponent. (3fdbb99)type-syntaxlexer/stream helpers: faster builds, no measurable runtime regression. (254b40c)Prelude
bcmathstub improvements: tightened return types and parameter contracts across the extension. (#1733,3271032)DateTimeInterface::getTimezone()never returnsfalse: matches the actual contract. (#1687,e3b21f5)implodeandjoin: return type narrows when args are statically non-empty. (#1690,6864306)array_pad: pad result keepslist<>rather than collapsing toarray<>. (06bebab)array_chunklength andarray_fillcount to non-zero ranges: catchesarray_chunk($arr, 0). (27fdac7)min/max:min([])is a runtime error. (2be0a40)implodereturn type for single-element arrays: returns the original element. (becde73)Reporting
acac500)📖 Documentation
format --dry-runexample. (#1698,709988f)--always-verify. (d02d18d)🏗️ Internal
Performance
7922a3e)bc47811)8c40ac6)disjoin/saturate/group_impossibilities: hot CNF paths get tighter. (#1734,3d2bef2)220cde2)15d9c93)0996bda)type-syntax: faster type-syntax lexer. (57cd833)Refactoring
syntax-coreprimitives: unifySequence,TokenSeparatedSequence,LookaheadBufacross syntax crates. (7b408f0)type-syntaxAST: matches the rest of the parser stack. (8501f0f)Vecinstead ofHashMapfortemplate_variance: smaller and faster for typical sizes. (#1724,d709d84)type_coerced_to_literalflag fromComparisonResult: removes an unused field path. (7ad0b84)definition_type_replacer: simpler indirection. (e901a11)configcrate: configuration parsing handled directly in the CLI. (aeb224e)CI / Benchmarks
d781033)438bfc9)ed6e3e4)type-syntax,twig-syntax, andsyntax: cargo-fuzz harnesses for grammar surfaces. (18893d7)2077d34,55fb478)Misc
serde_ymlforserde_norway: replaces an unmaintained YAML dependency. (7f46ae8)🙏 Thank You
Contributors
A huge thank you to everyone who contributed code to this release:
Issue Reporters
Thank you to everyone who reported issues that shaped this release:
Full Changelog: carthage-software/mago@1.24.0...1.25.0
v1.24.0: Mago 1.24.0Compare Source
Mago 1.24.0
Mago 1.24.0 is mostly an analyzer-correctness release: recursive literal-scalar widening in by-reference out-types, wider
mixed-operanddetection on templated concatenations, and targeted fixes aroundisset/array_key_exists, list destructuring, iterable narrowing, and__callon non-final classes. It also adds aprefer-self-return-typelinter rule with FQCN-to-useautofix, match-arm=>alignment in the formatter, and aservicememory fix that takesmago lint --fix --unsafeon Drupal core from ~11.6 GB RSS down to 748 MB.New:
mago-twig-syntax. A lossless Twig 3 lexer, AST, and parser published to crates.io. Not wired into the Mago binary yet: the plan is Twig support across the linter, formatter, and possibly the analyzer (#303), then Blade (#304). Twig is the testing ground for multi-language support; once that plumbing is confident, adding Blade should be much cheaper.✨ Features
Linter
prefer-self-return-type: new rule suggestingselfinstead of the declaring class name in method return types. (#1442,9081ce8)use-statement synthesis:no-fully-qualified-global-*fixers now insert a matchinguseat the top of the file. (#555, #1645,d16e16c)string-stylehandles single-quoted strings: fixer now converts'foo'to"foo"when the chosen style requires it. (#1674,b33a57b)Formatter
=>across arms in match expressions, matching assignment alignment. (#1642,34e0277)Codex
class_exists-guarded stubs as polyfills: user definitions are preferred over guarded fallbacks on merge. (0748989)Prelude
IteratoronGenerator: stub now reflects thatGeneratorimplementsIterator. (e115682)ArrayAccessonDOMNodeList: stub reflects the interface exposed by the extension. (7efae17)🐛 Bug Fixes
Analyzer
1575f1e)param-out. (#1678,45926da)mixedand union-shaped templates as concat operands:T as mixedand mixed-scalar unions now surfacemixed-operand. (a55b321)\Foo\bar()no longer misfires on global fallback. (#1680,f61f57d)f04aefb)isset/array_key_existsto false on provably missing keys: fixes inconsistent impossible-condition warnings. (#1679,434f11e)no-boolean-literal-comparisonon synthetic match-arm binaries: fixer no longer produces invalid code for match arms. (#1681,67ea13e)__callwhen the class-like is final: non-final classes keep PHPUnit-style magic method calls working. (#1676,6953e8e)undefined-string-array-indexon list destructuring. (#1668,2f248e8)undefined-string-array-indexpositives. (#1669,90f9c5d)f815bcc)Codex
0fed110)58afef6)class_exists-guarded stubs win. (c3d7eb2)iterable<mixed, V>key toarray-keyagainst an array container: fixes over-wide key propagation. (ed712ba)Syntax
&reference prefix outside legal positions: catches previously-accepted syntax errors. (#1683,53800a6)Formatter
[[$x]]got collapsed wrong. (#1672, #1673,de78a1f)CLI
38baca6)Service
apply_fixesbatches: bounds memory during--fix --unsafe; Drupal-core run peak goes from ~11.6 GB RSS to 748 MB. (#1670,8b551dc)🏗️ Internal
Twig
mago-twig-syntaxtests. (ec890a3)a0eb189)Syntax
OptionfromLiteralString::kind: every literal string now carries a concrete kind. (#1675,2fb1377)Linter
constant_fqn_keyin favor ofascii_lowercase_constant_name_atom: removes a dead helper. (067fa34)363e231)🙏 Thank You
Contributors
A huge thank you to everyone who contributed code to this release:
Issue Reporters
Thank you to everyone who reported issues that shaped this release:
Full Changelog: carthage-software/mago@1.23.1...1.24.0
php-standard-library/phpstan-extension (php-standard-library/phpstan-extension)
v2.1.0Compare Source
What's Changed
Full Changelog: php-standard-library/phpstan-extension@2.0.4...2.1.0
phpstan/phpstan-phar-composer-source (phpstan/phpstan)
v2.1.54Compare Source
v2.1.53Compare Source
v2.1.52Compare Source
v2.1.51Compare Source
phpstan/phpstan-strict-rules (phpstan/phpstan-strict-rules)
v2.0.11Compare Source
(void)cast on#[\NoDiscard]callsConfiguration
📅 Schedule: (in timezone UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
Renovate Bot