Skip to content

[Conductor] Update dev#71

Merged
pscheit merged 1 commit into
mainfrom
conductor-phpstan-phpstan-70341
May 4, 2026
Merged

[Conductor] Update dev#71
pscheit merged 1 commit into
mainfrom
conductor-phpstan-phpstan-70341

Conversation

@private-packagist
Copy link
Copy Markdown
Contributor

@private-packagist private-packagist Bot commented Apr 26, 2026

This PR was automatically generated by Conductor.

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

composer update phpstan/phpstan:2.1.54 phpunit/phpunit:12.5.24 --with-all-dependencies --minimal-changes

Changelog

phpstan/phpstan (Source: GitHub Releases)

2.1.54

Improvements 🔧

Bugfixes 🐛

Performance 🏎️

2.1.53

Bugfixes 🐛

  • Treat Expr\UnaryMinus with scalar operand as scalar literal in isExprSafeToProjectThroughVariable and comparison type specifying (fixes TypeError crash) (#​5557), #​14542
  • Unroll foreach over union of constant arrays in tryProcessUnrolledConstantArrayForeach (#​5558), #​7978

2.1.52

This release fixes 45 issues! 🎉

Improvements 🔧

Bugfixes 🐛

Performance 🏎️

Function signature fixes 🤖

Internals 🔍

2.1.51

Improvements 🔧

  • Include argument index in dumpType message to preserve argument order (#​5503), #​14508

Bugfixes 🐛

Internals 🔍

phpunit/phpunit (Source: GitHub Releases))

12.5.24

Added

  • #​6596: Backport TestCase::invokeTestMethod() method for customizing test method invocation from PHPUnit 13

Fixed

  • #​6595: Crash when before-class or after-class method fails with assertion failure
  • #​6599: TeamCity logger does not wrap failures in before-test methods with testStarted and testFinished
  • #​6601: Anonymous classes are not rejected with a clear error when creating a test double
  • MockBuilder::setMockClassName() and TestStubBuilder::setStubClassName() now reject values that are not valid unqualified PHP class identifiers, throwing the new InvalidClassNameException
  • The regular expression used by Generator::ensureValidMethods() to validate method names passed to MockBuilder::onlyMethods() and addMethods() was not anchored, so any string containing a valid identifier substring (including strings with parentheses, braces, comments, or newlines) was accepted

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

@private-packagist
Copy link
Copy Markdown
Contributor Author

private-packagist Bot commented Apr 26, 2026

composer.lock

Dev Package changes

Package Operation From To About
phpstan/phpstan upgrade 2.1.50 2.1.54 -
phpunit/phpunit upgrade 12.5.23 12.5.24 diff

Settings · Docs · Powered by Private Packagist

@github-actions github-actions Bot force-pushed the conductor-phpstan-phpstan-70341 branch from 949c841 to 4715de9 Compare May 3, 2026 07:20
Conductor executed the following commands:
composer update phpstan/phpstan:2.1.54 phpunit/phpunit:12.5.24 --with-all-dependencies --minimal-changes
@private-packagist
Copy link
Copy Markdown
Contributor Author

The composer.lock diff comment has been updated to reflect new changes in this PR.

@private-packagist private-packagist Bot force-pushed the conductor-phpstan-phpstan-70341 branch from 4715de9 to de2e6bd Compare May 3, 2026 07:21
@pscheit pscheit merged commit 50590fa into main May 4, 2026
1 check passed
@private-packagist private-packagist Bot deleted the conductor-phpstan-phpstan-70341 branch May 4, 2026 08:44
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