Skip to content

Update PHPStan packages to v2 - #590

Open
renovate[bot] wants to merge 1 commit into
1.0.xfrom
renovate/major-phpstan-packages
Open

Update PHPStan packages to v2#590
renovate[bot] wants to merge 1 commit into
1.0.xfrom
renovate/major-phpstan-packages

Conversation

@renovate

@renovate renovate Bot commented Nov 11, 2024

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
phpstan/phpstan ^1.8^2.0 age adoption passing confidence
phpstan/phpstan-phpunit ^1.1^2.0 age adoption passing confidence
phpstan/phpstan-strict-rules ^1.4^2.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

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

v2.2.10

Compare Source

v2.2.9

Compare Source

v2.2.8

Compare Source

v2.2.7

Compare Source

v2.2.6

Compare Source

v2.2.5

Compare Source

v2.2.4

Compare Source

v2.2.3

Compare Source

v2.2.2

Compare Source

v2.2.1

Compare Source

v2.2.0

Compare Source

v2.1.56

Compare Source

v2.1.55

Compare Source

v2.1.54

Compare Source

v2.1.53

Compare Source

v2.1.52

Compare Source

v2.1.51

Compare Source

v2.1.50

Compare Source

v2.1.49

Compare Source

v2.1.48

Compare Source

v2.1.47

Compare Source

v2.1.46

Compare Source

v2.1.45

Compare Source

v2.1.44

Compare Source

v2.1.43

Compare Source

v2.1.42

Compare Source

v2.1.41

Compare Source

v2.1.40

Compare Source

v2.1.39

Compare Source

v2.1.38

Compare Source

v2.1.37

Compare Source

v2.1.36

Compare Source

v2.1.35

Compare Source

v2.1.34

Compare Source

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.34

Compare Source

v1.12.33

Compare Source

v1.12.32

Compare Source

v1.12.31

Compare Source

v1.12.30

Compare Source

v1.12.29

Compare Source

v1.12.28

Compare Source

v1.12.27

Compare Source

v1.12.26

Compare Source

v1.12.25

Compare Source

v1.12.24

Compare Source

v1.12.23

Compare Source

v1.12.22

Compare Source

v1.12.21

Compare Source

v1.12.20

Compare Source

v1.12.19

Compare Source

v1.12.18

Compare Source

v1.12.17

Compare Source

v1.12.16

Compare Source

v1.12.15

Compare Source

v1.12.14

Compare Source

v1.12.13

Compare Source

v1.12.12

Compare Source

v1.12.11

Compare Source

v1.12.10

Compare Source

v1.12.9

Compare Source

v1.12.8

Compare Source

v1.12.7

Compare Source

v1.12.6

Compare Source

v1.12.5

Compare Source

v1.12.4

Compare Source

v1.12.3

Compare Source

v1.12.2

Compare Source

v1.12.1

Compare Source

v1.12.0

Compare Source

v1.11.11

Compare Source

v1.11.10

Compare Source

v1.11.9

Compare Source

v1.11.8

Compare Source

v1.11.7

Compare Source

v1.11.6

Compare Source

v1.11.5

Compare Source

v1.11.4

Compare Source

v1.11.3

Compare Source

v1.11.2

Compare Source

v1.11.1

Compare Source

v1.11.0

Compare Source

v1.10.67

Compare Source

v1.10.66

Compare Source

v1.10.65

Compare Source

v1.10.64

Compare Source

v1.10.63

Compare Source

v1.10.62

Compare Source

v1.10.61

Compare Source

v1.10.60

Compare Source

v1.10.59

Compare Source

v1.10.58

Compare Source

v1.10.57

Compare Source

v1.10.56

Compare Source

v1.10.55

Compare Source

v1.10.54

Compare Source

v1.10.53

Compare Source

v1.10.52

Compare Source

v1.10.51

Compare Source

v1.10.50

Compare Source

v1.10.49

Compare Source

v1.10.48

Compare Source

v1.10.47

Compare Source

v1.10.46

Compare Source

v1.10.45

Compare Source

v1.10.44

Compare Source

v1.10.43

Compare Source

v1.10.42

Compare Source

v1.10.41

Compare Source

v1.10.40

Compare Source

v1.10.39

Compare Source

v1.10.38

Compare Source

v1.10.37

Compare Source

v1.10.36

Compare Source

v1.10.35

Compare Source

v1.10.34

Compare Source

v1.10.33

Compare Source

v1.10.32

Compare Source

v1.10.31

Compare Source

v1.10.30

Compare Source

v1.10.29

Compare Source

v1.10.28

Compare Source

v1.10.27

Compare Source

phpstan/phpstan-phpunit (phpstan/phpstan-phpunit)

v2.0.18

Compare Source

  • f5dc20f - Fix #[RequiresPhpunit] version requirement being evaluated against PHP version (#​313)
  • 1e573d3 - AttributeVersionRequirementHelper: add defaults to bool parameters (#​312)

v2.0.17

Compare Source

  • c2f9775 - Update actions/cache action to v6 (#​311)
  • 933f682 - Update actions/cache action to v5.1.0 (#​310)
  • 8ec191f - Check #[RequiresPhpunit] in the same way we check #[RequiresPhp] (#​308)
  • d138088 - Implement ClassAttributeRequiresPhpVersionRule (#​305)
  • caada62 - Update github-actions to v7 (#​307)
  • 611a216 - Update github-actions to v3.0.1 (#​306)
  • 2312495 - Extract AttributeVersionRequirementHelper (#​304)
  • 952d0ee - Warn about incomplete versions in #[RequiresPhp] (#​303)
  • bf910b5 - Sanity check #[RequiresPhp] value and range (#​269)
  • d309858 - Update github-actions to f3e473d (#​301)
  • 4a8e26f - Update github-actions (#​300)
  • 2c07f22 - Replace deprecated actions/create-release with softprops/action-gh-release
  • 67c9d57 - Bump GitHub Actions across major versions
  • a7baf3b - Bump GitHub Actions within their current majors
  • 3ea20e6 - Update github-actions
  • 53357ab - Update github-actions
  • 6760e77 - latest infection does not support PHP 8.2 (#​296)
  • ecfa568 - Update release-toot.yml (#​295)
  • 21ea2e9 - name-collision-detector (#​294)
  • 6851172 - Update test assertions
  • e2c6207 - Fix build (#​287)
  • db27c1f - Delete .github/workflows/claude-react-on-comment.yml
  • 1c9e1df - Refactor build workflow to use GITHUB_BASE_REF
  • 53c1301 - Lint workflows
  • fca9e3a - [StepSecurity] ci: Harden GitHub Actions
  • bfdcb62 - Remove PHPSTAN_BOT_TOKEN from checkout step
  • bb6479c - React on issues opened and fall back to issue body
  • 10e8509 - Add CLAUDE.md to export-ignore in .gitattributes
  • 2202890 - Add CLAUDE.md with project documentation for AI assistants
  • ffd7013 - Add Claude React on Comment workflow

v2.0.16

Compare Source

  • 6ab598e - DataProviderDataRule: Optimize hot path

v2.0.15

Compare Source

  • 0f6ba8e - DataProviderReturnTypeIgnoreExtension - ignore Iterator, Generator, IteratorAggregate too

v2.0.14

Compare Source

  • f7553d6 - Add support for createMockForIntersectionOfInterfaces

v2.0.13

Compare Source

  • 45bc1ad - Implement DynamicCallToAssertionIgnoreExtension
  • 590b84d - chore(deps): update wyrihaximus/github-action-get-previous-tag action to v2
  • 4d1d776 - Add keywords for static analysis in composer.json

v2.0.12

Compare Source

  • e4c5a22 - TestMethodsHelper - class methods cache
  • 80091f9 - TestMethodsHelper - speed-up by asking for immediate methods only

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

Note

PR body was truncated to here.


Configuration

📅 Schedule: (in timezone UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • 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 added the renovate label Nov 11, 2024
@renovate

renovate Bot commented Nov 11, 2024

Copy link
Copy Markdown
Contributor Author

⚠️ 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.2.10 phpstan/phpstan-phpunit:2.0.18 phpstan/phpstan-strict-rules:2.0.12 --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 phpstan/phpstan ^2.0, found phpstan/phpstan[2.0.0, ..., 2.2.10] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - phpstan/extension-installer is locked to version 1.2.0 and an update of this package was not requested.
    - phpstan/extension-installer 1.2.0 requires phpstan/phpstan ^1.8.0 -> found phpstan/phpstan[1.8.0, ..., 1.12.34] but it conflicts with your root composer.json require (^2.0).
  Problem 3
    - phpstan/phpstan-deprecation-rules is locked to version 1.1.3 and an update of this package was not requested.
    - phpstan/phpstan-deprecation-rules 1.1.3 requires phpstan/phpstan ^1.10 -> found phpstan/phpstan[1.10.0, ..., 1.12.34] but it conflicts with your root composer.json require (^2.0).
  Problem 4
    - Root composer.json requires phpstan/phpstan-phpunit ^2.0 -> satisfiable by phpstan/phpstan-phpunit[2.0.18].
    - phpstan/phpstan-phpunit 2.0.18 requires phpstan/phpstan ^2.2.3 -> found phpstan/phpstan[2.2.3, ..., 2.2.10] but these were not loaded, likely because it conflicts with another require.
  Problem 5
    - Root composer.json requires phpstan/phpstan-strict-rules ^2.0 -> satisfiable by phpstan/phpstan-strict-rules[2.0.12].
    - phpstan/phpstan-strict-rules 2.0.12 requires phpstan/phpstan ^2.1.52 -> found phpstan/phpstan[2.1.52, ..., 2.2.10] but these were not loaded, likely because it conflicts with another require.

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

@renovate renovate Bot changed the title Update PHPStan packages to v2 (major) Update PHPStan packages to v2 May 12, 2026
| datasource | package                      | from    | to     |
| ---------- | ---------------------------- | ------- | ------ |
| packagist  | phpstan/phpstan              | 1.10.26 | 2.2.10 |
| packagist  | phpstan/phpstan-phpunit      | 1.3.13  | 2.0.18 |
| packagist  | phpstan/phpstan-strict-rules | 1.5.1   | 2.0.12 |
@renovate
renovate Bot force-pushed the renovate/major-phpstan-packages branch from 19dd75c to 8761e0f Compare August 30, 2026 17:37
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.

0 participants