Skip to content

Update PHPStan packages

Renovate Bot requested to merge renovate/phpstan-packages into main

This MR contains the following updates:

Package Type Update Change
phpstan/phpstan require-dev minor 1.10.67 -> 1.11.1
phpstan/phpstan-symfony require-dev minor 1.3.12 -> 1.4.0

Release Notes

phpstan/phpstan (phpstan/phpstan)

v1.11.1

Compare Source

Improvements 🔧

  • Support integer ranges in sprintf() constant result inference (#​3075), thanks @​staabm!

Bugfixes 🐛

Function signature fixes 🤖

v1.11.0

Compare Source

Read the article about PHPStan 1.11 on phpstan.org »

Major new features 🚀

  • Error identifiers
  • PHPStan Pro Reboot
    • A new migration wizard will effortlessly migrate all your @phpstan-ignore-line and @phpstan-ignore-next-line to the new @phpstan-ignore comment style with error identifiers. The old comment style is dangerous because it ignores all errors, current and future, on that line.
    • Revamped UI for much more comfortable viewing and browsing of reported errors
    • The new UI also lets you browse ignored errors, from ignoreErrors, from your baseline and also ignored locally in source code using comments
    • Streaming errors during launch: You don't have to wait for the analysis to complete, you can see errors as they come in during the analysis
    • Support for mapping file paths to the host filesystem when running in Docker or remotely
    • Try it out by running PHPStan with --pro CLI option
  • PHPDoc tags describing callable lifecycle: @param-immediately-invoked-callable, @param-later-invoked-callable
  • PHPDoc tag @param-closure-this to describe what $this is bound to in a passed closure
  • Two new config options around stricter offset checks in arrays (#​3028), #​7553, thanks @​ttomdewit!

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. Learn more

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

Internals 🔍

phpstan/phpstan-symfony (phpstan/phpstan-symfony)

v1.4.0

Compare Source

  • 51183fe - Update lock-closed-issues.yml
  • f4b9407 - Synchronize stub with symfony
  • 3fbf634 - Synchronize stub with symfony
  • 99848d8 - Add stub for Compound::getConstraints()
  • 8148308 - Merge remote-tracking branch 'origin/1.3.x' into 1.4.x
  • c9f5ceb - Merge remote-tracking branch 'origin/1.3.x' into 1.4.x
  • 67e208d - Add documentation to load DI helper
  • a0e0f1f - chore(deps): update metcalfc/changelog-generator action to v4.3.1
  • b2ddd0f - chore(deps): update cbrgm/mastodon-github-action action to v2
  • 3b3083d - Merge remote-tracking branch 'origin/1.3.x' into 1.4.x
  • 4cc4788 - chore(deps): update metcalfc/changelog-generator action to v4.2.0
  • 44b68dd - chore(deps): update dessant/lock-threads action to v5
  • 5586faa - Merge branch '1.3.x' into 1.4.x
  • b9e1ded - Merge remote-tracking branch 'origin/1.3.x' into 1.4.x
  • ce3c258 - Error identifiers
  • 6a0cefe - Require PHPStan 1.11
  • 67cf72e - Open 1.4.x-dev

Configuration

📅 Schedule: 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 MR becomes conflicted, 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 Renovate Bot.

Edited by Renovate Bot

Merge request reports

Loading