Skip to content

Update phpstan packages

Mend Renovate requested to merge renovate/phpstan into master

This MR contains the following updates:

Package Type Update Change
phpstan/phpstan require-dev patch 0.12.32 -> 0.12.33
phpstan/phpstan-strict-rules require-dev patch 0.12.3 -> 0.12.4

Release Notes

phpstan/phpstan

v0.12.33

Compare Source

Improvements 🔧

  • Initial PHP 8 support!
  • Set different PHP version than your runtime
    • If you set different phpVersion parameter in your phpstan.neon, you can for example tell PHPStan to analyse source code like it's written for PHP 7.4 even if you're running PHP 8. The phpVersion config parameter is in PHP_VERSION_ID format - for PHP 7.4, use 70400.
    • You can also set a newer PHP version. So you can run PHPStan on 7.4, but already test compatibility with PHP 8 by setting phpVersion to 80000.
  • Check uninitialized typed properties that aren't set in the constructor (phpstan/phpstan-src@a1eb1f5), #​2984
    • Off by default, needs checkUninitializedProperties: true.
  • Show error on unescaped () in ignoreErrors (phpstan/phpstan-src@8479d40), #​3602

Bleeding edge 🔪

If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's phpstan.neon:

includes:
	- vendor/phpstan/phpstan/conf/bleedingEdge.neon

Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included.

Bugfixes 🐛

Function signature fixes 🤖

phpstan/phpstan-strict-rules

v0.12.4

Compare Source


Renovate configuration

📅 Schedule: "after 8am and before 11:59pm every weekday,after 9am and before 11:59pm every weekend" in timezone Europe/London.

🚦 Automerge: Enabled.

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

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


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

This MR has been generated by WhiteSource Renovate. View repository job log here.

Edited by Mend Renovate

Merge request reports