Skip to content

[Conductor] Update dev - #81

Merged
pscheit merged 1 commit into
mainfrom
conductor-multiple-vendors-all-83506
Aug 4, 2026
Merged

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

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 phpstan/phpstan:2.2.7 phpunit/phpunit:12.5.33 --with-all-dependencies --minimal-changes

Changelog

phpstan/phpstan (Source: GitHub Releases)

2.2.7

Bugfixes 🐛

Performance 🏎️

Internals 🔍

  • ExprHandlerRegistry does not need to be AutowiredService (phpstan/phpstan-src@​36392ba)
  • Repeat a shadowed class's interfaces on its stub shell (#​6113)
  • Run the benchmark on PHP 7.4 in addition to PHP 8.5 (#​6121)
  • Check bench/data files with RequiredPhpVersionCommentTest (#​6122), thanks @​staabm!
  • Introduce ExpressionResultFactory (phpstan/phpstan-src@​8f5111f)
  • ExpressionResult - add beforeScope (phpstan/phpstan-src@​a7094b5)
  • ExpressionResult - add Expr (phpstan/phpstan-src@​abcce56)
  • Eliminate the OriginalPropertyTypeExpr virtual node (#​6129)
  • Eliminate the GetOffsetValueTypeExpr virtual node (#​6129)
  • Eliminate the GetIterableKeyTypeExpr virtual node (#​6129)
  • Eliminate the GetIterableValueTypeExpr virtual node (#​6129)
  • Deduplicate constant-condition vs impossible-check reports via collectors instead of asking the type specifier inline (#​6132)
  • Replace SpecifiedTypes::normalize() with symbolic alternative-form entries (#​6133)
  • Resolve early-terminating calls to an explicit never type in the call handlers (#​6134)
  • Read operand types from ExpressionResults in Throw/BooleanAnd/Coalesce handlers (#​6135)
  • Read operand types from ExpressionResults in Ternary/ArrayDimFetch/PropertyFetch handlers (#​6136)
  • Read operand types from ExpressionResults in BinaryOp/BooleanOr/MethodCall/Match handlers (#​6137)
  • Read expression types from ExpressionResults in NodeScopeResolver and handlers (#​6138)
  • Fill the foreach key-loop native types with the native flavour (#​6141)
  • Run engine-feeding node-callback gatherers synchronously at the emission position (#​6142)
  • Track containsNullsafe on ExpressionResult and propagate it through fetch/call chains (#​6143)

2.2.6

This release fixes 33 issues! 🎉

PHPStan Turbo

Major new features 🚀

  • PHPStan Turbo (https://github.com/phpstan/turbo-ext/)
    • Optional native PHP extension (PHP 8.3+) written in C++ that makes running PHPStan 10-30 % faster (depending on project specifics)
    • Users installing PHPStan through Composer with phpstan/phpstan get it automatically. Composer package ships prebuilt binaries for the most common platforms — Linux (glibc and musl, x86_64 and arm64), macOS, and Windows (x86_64)
    • Users running standalone phpstan.phar can install the extension with pie install phpstan/turbo
    • The fact that it's enabled can be verified with vendor/bin/phpstan diagnose or running analyse -vvv
    • There's room to improve performance with this technique in the future, but we're shipping it now because it brings real benefits already.

Bleeding edge 🔪

If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's phpstan.neon:

includes:
	- vendor/phpstan/phpstan/conf/bleedingEdge.neon

Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included. Learn more

Improvements 🔧

Bugfixes 🐛

Performance 🏎️

Function signature fixes 🤖

Internals 🔍

  • Refactor: extract ConfiguredPhpVersionRangeHelper (#​6014), thanks @​staabm!
  • Utilize ConfiguredPhpVersionRangeHelper (#​6017), thanks @​staabm!
  • Add named argument tests for @​pure-unless-callable-is-impure (#​6022), thanks @​zonuexe!
  • Rename Test-classes colliding with builtin classes (#​6032), thanks @​staabm!
  • Upgrade PHPBench to 1.7.0 and use aggregate-preview report (#​6067), thanks @​dantleech!
  • Introduce #[ExtensionInterface] attribute, derive the interface-tag mapping from it (#​6096)
  • Introduce ExtensionsCollection, #[AutowiredExtensions] and Container::getExtensionsCollection(), replace extension providers (#​6098)
  • Add autoTag parameter to #[AutowiredService], migrate services that must not be auto-tagged (#​6096)
  • Introduce #[InstanceofDeprecated] attribute, derive ApiInstanceofTypeRule map from it (#​6096)
  • Update composer-attribute-collector: collect attributes without autoloading under PHP < 8 (#​6096)
  • Remove obsolete PDO.patch for phpstorm-stubs (#​6073), thanks @​vrana!
  • Compile #[AutowiredParameter] references into deferred getParameter() lookups (#​6102)
  • Validate service tags in afterCompile() so tags added by any extension are covered (#​6102)
  • Discover compiler extensions from the #[ContainerExtension] attribute (#​6102)
  • Upgrade nette/di to 3.1.10 and drop the deleted-tag pin (#​6102)
phpunit/phpunit (Source: GitHub Releases))

12.5.33

Fixed

  • #​6861: Hook methods run twice when a template method is marked with its corresponding attribute
  • Regression that stopped test methods from being sorted by source code location

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 phpstan/phpstan:2.2.7 phpunit/phpunit:12.5.33 --with-all-dependencies --minimal-changes
@private-packagist

Copy link
Copy Markdown
Contributor Author

composer.lock

Dev Package changes

Package Operation From To About
phpstan/phpstan upgrade 2.2.5 2.2.7 diff
phpunit/phpunit upgrade 12.5.32 12.5.33 diff

Settings · Docs · Powered by Private Packagist

@pscheit
pscheit merged commit 87d200f into main Aug 4, 2026
1 check passed
@private-packagist
private-packagist Bot deleted the conductor-multiple-vendors-all-83506 branch August 4, 2026 11:55
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