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.24.0 | | packagist | php-standard-library/phpstan-extension | 2.0.4 | 2.1.0 | | packagist | phpstan/phpstan | 2.1.50 | 2.1.51 |
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.24.0^2.0.4→^2.1.0^2.1.50→^2.1.51Release Notes
carthage-software/mago (carthage-software/mago)
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.51Compare Source
Configuration
📅 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