Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 13, 2026

Note: This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
phpstan/phpstan ^1.11.9^2.1.33 age confidence
phpstan/phpstan-deprecation-rules ^1.2.0^2.0.3 age confidence
phpstan/phpstan-phpunit ^1.4.0^2.0.11 age confidence
phpstan/phpstan-strict-rules ^1.6.0^2.0.7 age confidence
phpunit/phpunit (source) ^11.3.0^12.5.4 age confidence
rector/rector (source) ^1.2.2^2.3.0 age confidence

Release Notes

phpstan/phpstan-phar-composer-source (phpstan/phpstan)

v2.1.33

Compare Source

v2.1.32

Compare Source

v2.1.31

Compare Source

v2.1.30

Compare Source

v2.1.29

Compare Source

v2.1.28

Compare Source

v2.1.27

Compare Source

v2.1.26

Compare Source

v2.1.25

Compare Source

v2.1.24

Compare Source

v2.1.23

Compare Source

v2.1.22

Compare Source

v2.1.21

Compare Source

v2.1.20

Compare Source

v2.1.19

Compare Source

v2.1.18

Compare Source

v2.1.17

Compare Source

v2.1.16

Compare Source

v2.1.15

Compare Source

v2.1.14

Compare Source

v2.1.13

Compare Source

v2.1.12

Compare Source

v2.1.11

Compare Source

v2.1.10

Compare Source

v2.1.9

Compare Source

v2.1.8

Compare Source

v2.1.7

Compare Source

v2.1.6

Compare Source

v2.1.5

Compare Source

v2.1.4

Compare Source

v2.1.3

Compare Source

v2.1.2

Compare Source

v2.1.1

Compare Source

v2.1.0

Compare Source

v2.0.4

Compare Source

v2.0.3

Compare Source

v2.0.2

Compare Source

v2.0.1

Compare Source

v2.0.0

Compare Source

v1.12.32

Compare Source

v1.12.31

Compare Source

v1.12.30

Compare Source

v1.12.29

Compare Source

phpstan/phpstan-deprecation-rules (phpstan/phpstan-deprecation-rules)

v2.0.3

Compare Source

  • 468e02c - Remove UsageOfDeprecatedCastRule in favour of it already being implemented in PHPStan via RestrictedMethodUsageExtension
  • ea25caa - Fix UsageOfDeprecatedCastRule - it reported all casts, not just (string)

v2.0.2

Compare Source

  • 9d8e7d4 - Implement RestrictedClassConstantUsageExtension
  • 9e96248 - Implement RestrictedPropertyUsageExtension
  • 3562b56 - Implement RestrictedFunctionUsageExtension
  • ce7a039 - Simplification
  • 223f1ab - Replace TypeHintDeprecated*Rule with RestrictedDeprecatedClassNameUsageExtension
  • 13d3746 - Simplification
  • 09f067c - Fixes
  • e5d941d - Restore original CallToDeprecatedStaticMethodRuleTest
  • 0deffb7 - Implement RestrictedClassNameUsageExtension
  • 15f1d89 - RestrictedMethodUsageExtension is called for static methods too
  • 0494a38 - Take advantage of RestrictedMethodUsageExtension
  • 96f9357 - Update metcalfc/changelog-generator action to v4.6.2
  • 775b713 - Readme: mention custom deprecation attribute
  • adf5e23 - Update metcalfc/changelog-generator action to v4.5.0
  • d3fb1e8 - Update LICENSE

v2.0.1

Compare Source

  • 1cc1259 - Bleeding edge - CallWithDeprecatedIniOptionRule

v2.0.0

Compare Source

  • 81833b5 - Removed always true PHP_VERSION_ID condition
  • f4a969d - Merge branch '1.2.x' into 2.0.x
  • 0ccccb1 - selectSingle() is being deprecated
  • 392bbe7 - Updates for PHPStan 2.0 changes
  • 89572d5 - Merge branch '1.2.x' into 2.0.x
  • 398e2e2 - Merge remote-tracking branch 'origin/1.2.x' into 2.0.x
  • 4590cf6 - Update build-cs
  • 681b2db - Stop testing PHP 7.2 and 7.3
  • 0e1d78a - Open 2.0.x
phpstan/phpstan-phpunit (phpstan/phpstan-phpunit)

v2.0.11

Compare Source

  • 5e30669 - Perf: Refactor PHPUnitVersionDetector to use runtime reflection
  • 202afe9 - chore(deps): update github-actions

v2.0.10

Compare Source

  • 8d61a58 - Remove checkDataProviderData and introduce reportMissingDataProviderReturnType

v2.0.9

Compare Source

  • cda423c - Implement AttributeRequiresPhpVersionRule
  • 83b717d - ci: Add tests for PHP 8.5
  • 75ba948 - chore(deps): update actions/checkout action to v6

v2.0.8

Compare Source

  • 2fe9fbe - Fix AssertSameWithCountRule for recursive count()
  • d935297 - Fix "Unexpected input(s) 'extensions', valid inputs are ['php-version', 'php-extensions', 'build-infection-path']"
  • 8532ceb - Make AssertSameNullExpectedRule auto-fixable
  • a4abfc1 - Use TypeSystem in AssertSameBooleanExpectedRule
  • 36cb9a6 - Make AssertSameBooleanExpectedRule auto-fixable
  • 450bfc0 - Added assertArrayHasKey() expectations
  • 033f690 - PHPUnit 9.x/10.x does not at all support named arguments from data-providers
  • 758d343 - Refactor PHPUnitVersionDetector to ease different major version checks
  • dd87f2e - Assert*Rules: Do cheap checks first (#​247)
  • 5c89d74 - Ignore missingType.iterableValue for data-providers
  • 1fbc321 - move analyse-paths into phpstan.neon
  • 11f3ada - Fix mutation testing on dev branch (#​244)
  • 53e33fc - Setup mutation testing
  • 12676a7 - One more test
  • c81e395 - Fix memory consumption in DataProviderDataRule
  • 61860a6 - Implement DataProviderDataRule
  • 39950c7 - Preparational refactoring for DataProviderDataRule
  • c54a269 - Narrow too wide return type
  • 9ec3fa9 - Modernize code examples in README.md
  • b1df1f5 - chore(deps): update actions/checkout action to v5
  • 1d7eb7e - chore(deps): update eomm/why-don-t-you-tweet action to v2

v2.0.7

Compare Source

  • 9a9b161 - Make AssertEqualsIsDiscouragedRule auto-fixable
  • 2e07610 - Check isFirstClassCallable before accessing getArgs
  • 22c6949 - Make phpunit.dataProviderStatic auto-fixable
  • d35895e - chore(deps): update metcalfc/changelog-generator action to v4.6.2

v2.0.6

Compare Source

  • 6b92469 - Fix build
  • 0aef32f - Improve logic MockMethodCallRule to search for method even on wrong type

v2.0.5

Compare Source

  • 4d2b44b - InvocationMocker class no longer exists
  • 1f36fc5 - Use DataProvider attribute
  • bf031ae - Test PHPUnit v12
  • 40fbbc1 - chore(deps): update metcalfc/changelog-generator action to v4.5.0
  • 1a07095 - Add non regression test for #​222
  • eb88670 - Always install nikic/php-parser v5
  • 19f8059 - Do not generate code coverage
  • 630aa99 - Remove deprecated assert
  • 342b6c1 - Data providers must be static
  • 846d161 - Test multiple PHPUnit versions
  • 855b82c - Remove config.platform
  • 0f857bf - Introduce phpstan-deprecation-rules
  • 17bbfd3 - Update LICENSE

v2.0.4

Compare Source

  • d09e152 - Fix error message for "assertNotEquals" usage referencing "assertSame" and "assertEquals"

v2.0.3

Compare Source

  • e32ac65 - Support assertNotEquals in AssertEqualsIsDiscouragedRule

v2.0.2

Compare Source

  • 2cedfb7 - Merge remote-tracking branch 'origin/1.4.x' into 2.0.x
  • 10880da - Implement AssertEqualsIsDiscouragedRule (#​216)
  • 4b6ad7f - Fix
  • bec49ea - Merge branch '1.4.x' into 2.0.x
  • 3cc8554 - Fixes after PHPStan update
  • 09e2d3b - Uncover everything behind the bleedingEdge flag
  • 4d861e0 - Fix after TypeSpecifier BC break
  • 3faa605 - Update build-cs
  • 953195d - Stop testing PHP 7.2 and 7.3
  • 7f1457f - Open 2.0.x

v2.0.1

Compare Source

  • 4b6ad7f - Fix
  • bec49ea - Merge branch '1.4.x' into 2.0.x
  • 3cc8554 - Fixes after PHPStan update
  • 09e2d3b - Uncover everything behind the bleedingEdge flag
  • 4d861e0 - Fix after TypeSpecifier BC break
  • 3faa605 - Update build-cs
  • 953195d - Stop testing PHP 7.2 and 7.3
  • 7f1457f - Open 2.0.x

v2.0.0

Compare Source

  • 3cc8554 - Fixes after PHPStan update
  • 09e2d3b - Uncover everything behind the bleedingEdge flag
  • 4d861e0 - Fix after TypeSpecifier BC break
  • 3faa605 - Update build-cs
  • 953195d - Stop testing PHP 7.2 and 7.3
  • 7f1457f - Open 2.0.x
  • 146d9c3 - Test newer PHP versions
  • bb6bec0 - Pin build-cs
phpstan/phpstan-strict-rules (phpstan/phpstan-strict-rules)

v2.0.7

Compare Source

  • d6211c4 - enable checkStrictPrintfPlaceholderTypes
  • 6b78d53 - Update README.md
  • 0435aeb - Consolidate overwriteVariablesWithLoop rule details
  • e861638 - Simplify tests in which checkNullables is always true
  • 11b6403 - Simplify tests in which treatPhpDocTypesAsCertain is always true
  • b043bd8 - Simplify RequireParentConstructCallRule
  • 9f76a17 - Update actions/checkout action to v5
  • 2b69ec5 - Update Eomm/why-don-t-you-tweet action to v2

v2.0.6

Compare Source

  • f9f77ef - Add numeric check on unary plus and unary minus

v2.0.5

Compare Source

  • 1f1358d - UselessCastRule: do cheaper check first
  • 73c5baa - Update metcalfc/changelog-generator action to v4.6.2
  • f203fec - Match Rule Descriptions with Configuration Parameters in README.md
  • 3ecc310 - Use relative links for rules.neon
  • 04f299f - Update metcalfc/changelog-generator action to v4.5.0

v2.0.4

Compare Source

v2.0.3

Compare Source

  • 8b88b5f - Deprecated parent constructor must not be called

v2.0.2

Compare Source

  • 02277ce - Merge remote-tracking branch 'origin/1.6.x' into 2.0.x
  • ed6fea0 - Added strictRulesInstalled parameter
  • a4a6a08 - Remove dead test because of raised min-php version
  • b60bffc - Fix
  • 5d50bde - Fix
  • 0368403 - Fix
  • 1721dbf - Fix after PHPStan update
  • e208c93 - Fix after PHPStan update
  • 63956f7 - Moved illegalConstructorMethodCall rules from phpstan to phpstan-strict-rules
  • ad53bd9 - Remove options removed in PHPStan 2.0
  • 914b5e3 - Everything from Bleeding Edge enabled
  • 988fab9 - Add more separate rule toggles
  • e227ffd - Merge remote-tracking branch 'origin/1.6.x' into 2.0.x
  • 90006f2 - Merge branch '1.6.x' into 2.0.x
  • 1062d48 - Fix
  • 5eec39f - Set polluteScopeWithBlock to false
  • 8e2c8b0 - Fix deprecations
  • 1ccec91 - Remove unnecessary dependency on nikic/php-parser
  • f8092f9 - Update build-cs
  • f647999 - Stop testing PHP 7.2 and 7.3
  • f6fb84e - Open 2.0.x

v2.0.1

Compare Source

  • ed6fea0 - Added strictRulesInstalled parameter

v2.0.0

Compare Source

  • a4a6a08 - Remove dead test because of raised min-php version
  • b60bffc - Fix
  • 5d50bde - Fix
  • 0368403 - Fix
  • 1721dbf - Fix after PHPStan update
  • e208c93 - Fix after PHPStan update
  • 63956f7 - Moved illegalConstructorMethodCall rules from phpstan to phpstan-strict-rules
  • ad53bd9 - Remove options removed in PHPStan 2.0
  • 914b5e3 - Everything from Bleeding Edge enabled
  • 988fab9 - Add more separate rule toggles
  • e227ffd - Merge remote-tracking branch 'origin/1.6.x' into 2.0.x
  • 90006f2 - Merge branch '1.6.x' into 2.0.x
  • 1062d48 - Fix
  • 5eec39f - Set polluteScopeWithBlock to false
  • 8e2c8b0 - Fix deprecations
  • 1ccec91 - Remove unnecessary dependency on nikic/php-parser
  • f8092f9 - Update build-cs
  • f647999 - Stop testing PHP 7.2 and 7.3
  • f6fb84e - Open 2.0.x
sebastianbergmann/phpunit (phpunit/phpunit)

v12.5.4: PHPUnit 12.5.4

Compare Source

Changed
  • The #[AllowMockObjectsWithoutExpectations] attribute can now be used on the method level
Fixed
  • #​6446: Test runner crashes with Timer::start() has to be called before Timer::stop()

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

Keep up to date with PHPUnit:

v12.5.3: PHPUnit 12.5.3

Compare Source

Changed
  • The message emitted when a test method creates a mock object but does not configure any expectations for it has been improved

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

Keep up to date with PHPUnit:

v12.5.2: PHPUnit 12.5.2

Compare Source

Added
  • Attribute #[AllowMockObjectsWithoutExpectations] for excluding tests from the check that emits the notice for test methods that create a mock object but do not configure an expectation for it

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

Keep up to date with PHPUnit:

v12.5.1: PHPUnit 12.5.1

Compare Source

Added
  • TestCase::getStubBuilder() (analogous to TestCase::getMockBuilder()) for creating (partial) test stubs using a fluent API

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

Keep up to date with PHPUnit:

v12.5.0: PHPUnit 12.5.0

Compare Source

Added
  • #​6376: --all CLI option to ignore test selection configured in XML configuration file
  • #​6422: Make <source> element in XML code coverage report optional
Changed
  • #​6380: Allow Throwable in expectExceptionObject()
  • A PHPUnit notice is now emitted for test methods that create a mock object but do not configure an expectation for it

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

Keep up to date with PHPUnit:

v12.4.5: PHPUnit 12.4.5

Compare Source

Changed
  • Updated list of deprecated PHP configuration settings for PHP 8.4, PHP 8.5, and PHP 8.6
Fixed
  • #​6426: Fix migration of configuration without schema location

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

Keep up to date with PHPUnit:

v12.4.4: PHPUnit 12.4.4

Compare Source

Fixed
  • #​6408: Exception in a data provider method leads to internal PHPUnit error
  • #​6410: Test runner's shutdown handler is called in system-under-test's child process

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

Keep up to date with PHPUnit:

v12.4.3: PHPUnit 12.4.3

Compare Source

Fixed
  • #​6402: Avoid reading from STDOUT when rewind() fails

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

Keep up to date with PHPUnit:

v12.4.2: PHPUnit 12.4.2

Compare Source

Changed
  • Skipped tests alone no longer lead to a yellow background for the test result summary
Fixed
  • #​6391: Errors during backup of global variables and static properties are not reported

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

Keep up to date with PHPUnit:

v12.4.1: PHPUnit 12.4.1

Compare Source

Fixed
  • #​6364: --filter format used by PhpStorm stopped working
  • #​6378: Wrong method name passed to DataProviderMethodCalled event value object

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

Keep up to date with PHPUnit:

v12.4.0: PHPUnit 12.4.0

Compare Source

Added
  • #​6277: Allow tests to opt out of the validation that a data provider method does not provide data sets with more values than a test method accepts
  • #​6341: Support for regular expressions with #[IgnoreDeprecations] attribute
  • #​6354: Invokable constraints
Deprecated
  • #​6284: #[RunClassInSeparateProcess] attribute
  • #​6355: Support for version constraint string argument without explicit version comparison operator

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

Keep up to date with PHPUnit:

v12.3.15: PHPUnit 12.3.15

Compare Source

Fixed
  • #​6368: failOnPhpunitWarning="false" has no effect

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

Keep up to date with PHPUnit:

v12.3.14: PHPUnit 12.3.14

Compare Source

  • No changes; phpunit.phar rebuilt with updated dependencies

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

Keep up to date with PHPUnit:

v12.3.13: PHPUnit 12.3.13

Compare Source

  • No changes; phpunit.phar rebuilt with updated dependencies

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

Keep up to date with PHPUnit:

v12.3.12: PHPUnit 12.3.12

Compare Source

  • No changes; phpunit.phar rebuilt with updated dependencies

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

Keep up to date with PHPUnit:

v12.3.11: PHPUnit 12.3.11

Compare Source

Changed
  • #​6366: Exclude __sleep() and __wakeup() from test double code generation on PHP >= 8.5

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

Keep up to date with PHPUnit:

v12.3.10: PHPUnit 12.3.10

Compare Source

Changed
  • #​6353: Disable performance optimization for tests requiring Xdebug
  • #​6357: Also collect E_DEPRECATED issues when building the test suite

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

Keep up to date with PHPUnit:

v12.3.9: PHPUnit 12.3.9

Compare Source

Changed
  • Do not use __sleep() method (which will be deprecated in PHP 8.5)

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

Keep up to date with PHPUnit:

v12.3.8: PHPUnit 12.3.8

Compare Source

Fixed
  • #​6340: Implicitly enabled display of deprecation details is no

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested review from a team as code owners January 13, 2026 15:29
@renovate renovate bot added the renovate label Jan 13, 2026
@renovate renovate bot enabled auto-merge January 13, 2026 15:29
@renovate
Copy link
Contributor Author

renovate bot commented Jan 13, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: composer.lock
Command failed: composer update phpstan/phpstan:2.1.33 phpstan/phpstan-deprecation-rules:2.0.3 phpstan/phpstan-phpunit:2.0.11 phpstan/phpstan-strict-rules:2.0.7 phpunit/phpunit:12.5.4 rector/rector:2.3.0 --with-dependencies --ignore-platform-req=ext-* --ignore-platform-req=lib-* --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins --minimal-changes
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires phpunit/phpunit ^12.5.4 -> satisfiable by phpunit/phpunit[12.5.4].
    - phpunit/phpunit 12.5.4 requires php >=8.3 -> your php version (8.2; overridden via config.platform, same as actual) does not satisfy that requirement.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant