Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update PHPStan packages (major) #137

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 12, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
phpstan/phpstan-deprecation-rules ^1.2.1 -> ^2.0.1 age adoption passing confidence
phpstan/phpstan-mockery ^1.1.3 -> ^2.0.0 age adoption passing confidence
phpstan/phpstan-phpunit ^1.4.2 -> ^2.0.3 age adoption passing confidence
phpstan/phpstan-strict-rules ^1.6.1 -> ^2.0.1 age adoption passing confidence
shipmonk/phpstan-rules ^3.2.1 -> ^4.1.0 age adoption passing confidence
tomasvotruba/type-coverage ^1.0.0 -> ^2.0.0 age adoption passing confidence

Release Notes

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

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-mockery (phpstan/phpstan-mockery)

v2.0.0

Compare Source

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

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.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
shipmonk-rnd/phpstan-rules (shipmonk/phpstan-rules)

v4.1.0

Compare Source

New features:

  • forbidCustomFunctions now detects even fist class callables, anonymous classes and array/string callables in arguments (#​288)
    • e.g. new class extends DeniedParent {}
    • e.g. $this->deniedMethod(...)
    • e.g. array_map([$this, 'deniedMethod'], $a)
    • e.g. array_map('denied_function', $a)

v4.0.0

Compare Source

Breaking changes:

  • Dropped uselessPrivatePropertyNullability as it got implemented in native PHPStan (#​283)
  • Shrunk function list in forbidEnumInFunctionArguments as most of them are detected by native PHPStan (#​278)

Dependencies

  • phpstan/phpstan now requires 2.0.0 (#​274)
TomasVotruba/type-coverage (tomasvotruba/type-coverage)

v2.0.0

Compare Source


Configuration

📅 Schedule: Branch creation - "* 6-22/3 * * 1-5,* 12-23/3 * * 0,6" in timezone Europe/Amsterdam, 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.

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

Copy link
Contributor Author

renovate bot commented Nov 12, 2024

⚠️ 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-deprecation-rules:2.0.1 phpstan/phpstan-mockery:2.0.0 phpstan/phpstan-phpunit:2.0.3 phpstan/phpstan-strict-rules:2.0.1 shipmonk/phpstan-rules:4.1.0 tomasvotruba/type-coverage:2.0.0 --with-dependencies --ignore-platform-req='ext-*' --ignore-platform-req='lib-*' --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins
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-deprecation-rules ^2.0.1 -> satisfiable by phpstan/phpstan-deprecation-rules[2.0.1].
    - phpstan/phpstan-deprecation-rules 2.0.1 requires phpstan/phpstan ^2.0 -> found phpstan/phpstan[2.0.0, ..., 2.0.4] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - Root composer.json requires phpstan/phpstan-mockery ^2.0.0 -> satisfiable by phpstan/phpstan-mockery[2.0.0].
    - phpstan/phpstan-mockery 2.0.0 requires phpstan/phpstan ^2.0 -> found phpstan/phpstan[2.0.0, ..., 2.0.4] but these were not loaded, likely because it conflicts with another require.
  Problem 3
    - Root composer.json requires phpstan/phpstan-phpunit ^2.0.3 -> satisfiable by phpstan/phpstan-phpunit[2.0.3].
    - phpstan/phpstan-phpunit 2.0.3 requires phpstan/phpstan ^2.0.4 -> found phpstan/phpstan[2.0.4] but these were not loaded, likely because it conflicts with another require.
  Problem 4
    - Root composer.json requires phpstan/phpstan-strict-rules ^2.0.1 -> satisfiable by phpstan/phpstan-strict-rules[2.0.1].
    - phpstan/phpstan-strict-rules 2.0.1 requires phpstan/phpstan ^2.0.4 -> found phpstan/phpstan[2.0.4] but these were not loaded, likely because it conflicts with another require.
  Problem 5
    - Root composer.json requires shipmonk/phpstan-rules ^4.1.0 -> satisfiable by shipmonk/phpstan-rules[4.1.0].
    - shipmonk/phpstan-rules 4.1.0 requires phpstan/phpstan ^2.0 -> found phpstan/phpstan[2.0.0, ..., 2.0.4] but these were not loaded, likely because it conflicts with another require.
  Problem 6
    - Root composer.json requires tomasvotruba/type-coverage ^2.0.0 -> satisfiable by tomasvotruba/type-coverage[2.0.0].
    - tomasvotruba/type-coverage 2.0.0 requires phpstan/phpstan ^2.0 -> found phpstan/phpstan[2.0.0, ..., 2.0.4] 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 added Dependencies 📦 Pull requests that update a dependency file PHP 🐘 Hypertext Pre Processor labels Nov 12, 2024
@renovate renovate bot requested a review from WyriHaximus as a code owner November 12, 2024 08:14
@renovate renovate bot force-pushed the renovate/major-phpstan-packages branch from 9ab2a76 to fca4e34 Compare November 12, 2024 12:40
@renovate renovate bot changed the title Update PHPStan packages to v2 (major) Update PHPStan packages (major) Nov 12, 2024
@renovate renovate bot force-pushed the renovate/major-phpstan-packages branch 2 times, most recently from 1c2b020 to c58e1fa Compare November 12, 2024 13:08
@WyriHaximus WyriHaximus added this to the 10.0.0 milestone Nov 12, 2024
@renovate renovate bot force-pushed the renovate/major-phpstan-packages branch from c58e1fa to ec9d370 Compare November 12, 2024 13:11
@renovate renovate bot force-pushed the renovate/major-phpstan-packages branch 2 times, most recently from 17612a4 to 1988337 Compare December 3, 2024 15:18
@renovate renovate bot force-pushed the renovate/major-phpstan-packages branch 4 times, most recently from aab7f91 to bcfe483 Compare December 24, 2024 16:23
@renovate renovate bot force-pushed the renovate/major-phpstan-packages branch from bcfe483 to 61d2919 Compare December 25, 2024 11:57
@renovate renovate bot force-pushed the renovate/major-phpstan-packages branch from 61d2919 to f856504 Compare December 25, 2024 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dependencies 📦 Pull requests that update a dependency file JSON 👨‍💼 PHP 🐘 Hypertext Pre Processor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant