Skip to content

Update PHPStan packages to v2 - #273

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

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

Conversation

@renovate

@renovate renovate Bot commented Nov 12, 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.10.10^2.0.0 age adoption passing confidence
phpstan/phpstan-deprecation-rules ^1.1.3^2.0.0 age adoption passing confidence
phpstan/phpstan-strict-rules ^1.5.1^2.0.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.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

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

v2.0.5

Compare Source

  • 67bedd6 - Update github-actions (#​197)
  • 6be8bd3 - Update actions/cache action to v6 (#​198)
  • 0b310ec - Update github-actions to v3.0.1 (#​195)
  • 782d848 - Update github-actions to v7 (#​196)
  • 85fff9d - Update github-actions to f3e473d (#​194)
  • 54db580 - Update github-actions (#​193)
  • 99aff1a - Replace deprecated actions/create-release with softprops/action-gh-release
  • 971f8e1 - Bump GitHub Actions across major versions
  • 89fef35 - Bump GitHub Actions within their current majors
  • 0652358 - Update github-actions
  • 02119cc - Update github-actions
  • 389c78c - latest infection does not support PHP 8.2 (#​189)
  • 899202d - Update release-toot.yml (#​188)
  • 016d677 - name-collision-detector (#​187)
  • 945df12 - Delete .github/workflows/claude-react-on-comment.yml
  • a70b8b1 - Remove default branch determination from workflow
  • 1faeb2e - Lint workflows
  • 534891e - [StepSecurity] ci: Harden GitHub Actions
  • 3acc664 - Remove PHPSTAN_BOT_TOKEN from checkout step
  • 49efeb2 - React on issues opened and fall back to issue body
  • 319c3f6 - Add PHP 8.5 to CI matrix for lint, tests, and static analysis
  • 73feeba - Add missing export-ignore entries to .gitattributes
  • c6d73e5 - Add CLAUDE.md with project documentation
  • f9f68eb - Add Claude React on Comment workflow

v2.0.4

Compare Source

  • 6b55710 - Constants deprecation depends on Scope->getPhpVersion() (#​170)
  • fc5fc52 - Add keywords for static analysis in composer.json
  • 7188c0b - move analyse-paths into phpstan.neon
  • 5f39876 - Fix mutation testing on dev branch (#​166)
  • 68e0865 - Setup mutation testing
  • 0b87f52 - Update actions/checkout action to v5
  • 2476691 - Update Eomm/why-don-t-you-tweet action to v2

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

v1.2.1

Compare Source

v1.2.0

Compare Source

  • fa8cce7 - Update lock-closed-issues.yml
  • 8342041 - Merge remote-tracking branch 'origin/1.1.x' into 1.2.x
  • d457b73 - Update PHPStan version
  • ff4f00f - Update FetchingDeprecatedConstRuleTest.php
  • 437ac71 - Fix build
  • e9ea332 - Update metcalfc/changelog-generator action to v4.3.1
  • f71dbf6 - Update cbrgm/mastodon-github-action action to v2
  • 10f0e35 - Merge branch '1.1.x' into 1.2.x
  • 674d785 - Fix build
  • e7fe22b - Update metcalfc/changelog-generator action to v4.2.0
  • 83345f7 - Update dessant/lock-threads action to v5
  • 788ea1b - remove phpstan/phpstan-php-parser
  • 4175e8a - Update actions/checkout action to v4
  • f1cacde - Fix a typo
  • 1884f9f - Next-gen coding standard workflow
  • 2313a63 - Modernize rules to use RuleErrorBuilder and report error identifiers
  • ca9e4fd - Open 1.2.x-dev
phpstan/phpstan-strict-rules (phpstan/phpstan-strict-rules)

v2.0.12

Compare Source

v2.0.11

Compare Source

  • 9b000a5 - Fix false positive UselessCast for (void) cast on #[\NoDiscard] calls
  • eceb998 - Delete .github/workflows/claude-react-on-comment.yml
  • d44f7a7 - Lint workflows
  • 26cdbc1 - [StepSecurity] ci: Harden GitHub Actions
  • 41e82cf - Update claude-react-on-comment.yml
  • 3b3c435 - Add missing rule descriptions to README
  • e8e9032 - React on issues opened and fall back to issue body
  • a12a6a8 - Add PHP 8.5 to CI matrix for lint, tests, and static analysis
  • f21225b - Add missing export-ignore entries to .gitattributes
  • 803f353 - Add CLAUDE.md with project documentation
  • 38c26a9 - Add Claude React on Comment workflow

v2.0.10

Compare Source

  • 1aba28b - Bleeding edge - set reportNonIntStringArrayKey to true

v2.0.9

Compare Source

  • b94a0b1 - Bleeding edge - Add operand types to DisallowedLooseComparisonRule error message
  • f6f5b3e - Update WyriHaximus/github-action-get-previous-tag action to v2
  • f602823 - Add keywords for static analysis in composer.json

v2.0.8

Compare Source

  • 1ed9e62 - Allow literal string dynamic property
  • 7493a9f - Update dessant/lock-threads action to v6
  • 796f9c9 - Update actions/checkout action to v6
  • 3dcd0b8 - Remove duplicate rules in Readme

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 RequirePa

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 12, 2024
@renovate

renovate Bot commented Nov 12, 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.9 phpstan/phpstan-deprecation-rules:2.0.5 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.0, found phpstan/phpstan[2.0.0, ..., 2.2.9] 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.0).
  Problem 3
    - Root composer.json requires phpstan/phpstan-deprecation-rules ^2.0.0 -> satisfiable by phpstan/phpstan-deprecation-rules[2.0.5].
    - phpstan/phpstan-deprecation-rules 2.0.5 requires phpstan/phpstan ^2.1.39 -> found phpstan/phpstan[2.1.39, ..., 2.2.9] but these were not loaded, likely because it conflicts with another require.
  Problem 4
    - phpstan/phpstan-phpunit is locked to version 1.3.15 and an update of this package was not requested.
    - phpstan/phpstan-phpunit 1.3.15 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.0).
  Problem 5
    - Root composer.json requires phpstan/phpstan-strict-rules ^2.0.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.9] 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 force-pushed the renovate/major-phpstan-packages branch 2 times, most recently from 29fa0fc to a80150b Compare October 25, 2025 05:12
@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.38 | 2.2.9  |
| packagist  | phpstan/phpstan-deprecation-rules | 1.1.4   | 2.0.5  |
| packagist  | phpstan/phpstan-strict-rules      | 1.5.1   | 2.0.12 |
@renovate
renovate Bot force-pushed the renovate/major-phpstan-packages branch from a80150b to 9e4227d Compare August 28, 2026 16:48
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