Skip to content

[Conductor] Update dev - #79

Merged
pscheit merged 1 commit into
mainfrom
conductor-multiple-vendors-all-80280
Jul 9, 2026
Merged

[Conductor] Update dev#79
pscheit merged 1 commit into
mainfrom
conductor-multiple-vendors-all-80280

Conversation

@private-packagist

Copy link
Copy Markdown
Contributor

This PR was automatically generated by Conductor.

The PR contains the changes generated by running the following command:

composer update nikic/php-parser:v5.8.0 phpstan/phpstan:2.2.5 phpunit/phpunit:12.5.31 --with-all-dependencies --minimal-changes

Changelog

nikic/php-parser (Source: GitHub Releases))

v5.8.0

Fixed

  • Treat _ as label character in formatting-preserving pretty printer.
  • Handle comment after object operator in keyword emulator.

Changed

  • Drop support for pipe operator in constant expression evaluator. It is not supported in constant expressions and may pose security risks, as it allows calls to arbitrary functions.
  • void parameter types now generate a (recoverable) error during parsing.
  • Restored reverse emulation support for fn keywords when targeting PHP before 7.4.
phpstan/phpstan (Source: GitHub Releases)

2.2.5

Improvements 🔧

Bugfixes 🐛

  • Allow null values in native preg_replace_callback callback array type for PREG_UNMATCHED_AS_NULL (#​5987), #​14904, thanks @​staabm!

Performance 🏎️

  • Restore process-wide statics from the main container after stub validation (#​5984)
  • Drop the container reference in LazyClassReflectionExtensionRegistryProvider after building the registry (#​5985)
  • Replace PhpClassReflectionExtension::evictPrivateSymbols() with a shared LRU over the member caches (#​5986)
  • Make the member cache LRU limit configurable as cache.memberCacheKeysMax (#​5986)
  • LRU-cap resolved local type aliases in UsefulTypeAliasResolver (#​5989)
  • Make the cap configurable via cache.resolvedLocalTypeAliasesCountMax (#​5989)
  • Raise CachedParser source-byte cap to 4 MB, add eviction floor, make it configurable (phpstan/phpstan-src@​354e926)
  • Give CachedParser $cachedSourceBytesMax a default value (phpstan/phpstan-src@​fa1003a)
  • Flatten deep BooleanOr chains in resolveType() to avoid O(n^2) scope narrowing (#​5992), #​14477, thanks @​SanderMuller!
  • Cache per-guard isSuperTypeOf() results in createConditionalExpressions() instead of recomputing them per target (#​6001), #​14920
  • Skip constant-array guards when creating conditional expressions for subtype-absorbed targets (#​6002), #​14921
  • Compute ConstantArrayType sealed-shape isSuperTypeOf() reasons lazily via IsSuperTypeOfResult closures (#​6003), #​14918
  • Memoize the ExprHandler lookup by Expr class in specifyTypesInCondition() and processExprNode() (#​5999), #​14919

Function signature fixes 🤖

Internals 🔍

2.2.4

PHPStan addresses the RAMpocalypse! It now consumes a lot less memory. See for yourself by running analyse -v.

E.g. running PHPStan on itself went from 2.8 GB to 2.1 GB total consumed memory across worker processes.

Bugfixes 🐛

Performance 🏎️

  • PackageDependencyResolver: memoize resolvePackage per file (#​5961), thanks @​SanderMuller!
  • Evict parser and PHPDoc name-scope caches by LRU instead of FIFO (#​5965)
  • Remove custom isSuperTypeOf reasons from ObjectType (#​5968), #​14896
  • Restore value sharing in name scope maps hydrated from the file cache (#​5969)
  • Cap CachedParser by total cached source size (#​5969)
  • Keep a single memoization layer for located reflections (#​5974)
  • Stream the result cache to disk instead of building it in memory (phpstan/phpstan-src@​ee9fe9e)

Internals 🔍

phpunit/phpunit (Source: GitHub Releases))

12.5.31

Changed

  • #​6797: Adapt code generated for test double of interface with constructor for PHP 8.6

Learn how to install or update PHPUnit 12.5 in the documentation.

Keep up to date with PHPUnit:

Task options

If you close the PR, the task will be skipped and Conductor will schedule the next task. Clicking the "Skip" button in the UI has the same effect. Conductor won't attempt to update the dependency to this exact version again but it will schedule updates to newer versions.


Powered by Private Packagist

Conductor executed the following commands:
composer update nikic/php-parser:v5.8.0 phpstan/phpstan:2.2.5 phpunit/phpunit:12.5.31 --with-all-dependencies --minimal-changes
@private-packagist

Copy link
Copy Markdown
Contributor Author

composer.lock

Dev Package changes

Package Operation From To About
nikic/php-parser upgrade v5.7.0 v5.8.0 diff
phpstan/phpstan upgrade 2.2.3 2.2.5 diff
phpunit/phpunit upgrade 12.5.30 12.5.31 diff

Settings · Docs · Powered by Private Packagist

@pscheit
pscheit merged commit ecaa35d into main Jul 9, 2026
1 check passed
@private-packagist
private-packagist Bot deleted the conductor-multiple-vendors-all-80280 branch July 9, 2026 09:53
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