Skip to content
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.

[php] Update phpstan/phpstan 1.10.66 → 1.11.0 (minor) #232

Closed
wants to merge 1 commit into from

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented May 14, 2024

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ phpstan/phpstan (1.10.66 → 1.11.0) · Repo · Changelog

Release Notes

1.11.0

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 🔍

1.10.67

This is the last release, or one of the last releases, in 1.10.x series. The next one is going to be PHPStan 1.11, and it's going to be released at some point in May 2024.

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

  • More precise gc_status() signature for PHP8.3+ (#2996), thanks @staabm!
  • Add object shape for mysqli_result::fetch_fields (#3005), thanks @schlndh!

Internals 🔍

  • composer-dependency-analyser: update to 1.5.0 (support functions) (#3011), thanks @janedbal!

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label May 14, 2024
Copy link

Coverage report for commit: 4f95c56
File: clover.xml

Cover ┌─────────────────────────┐ Freq.
   0% │ ███████████████████████ │ 100.0%
  10% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  20% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  30% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  40% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  50% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  60% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  70% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  80% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  90% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
 100% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
      └─────────────────────────┘
 *Legend:* █ = Current Distribution 
Summary - Lines: - | Methods: -
FilesLinesMethodsBranches
/workspaces/woocommerce-local-pickup-time/admin
   class-local-pickup-time-admin.php--100.00%
/workspaces/woocommerce-local-pickup-time/admin/emails
   class-wc-email-customer-ready-for-pickup-order.php--100.00%
/workspaces/woocommerce-local-pickup-time/public
   class-local-pickup-time.php--100.00%

🤖 comment via lucassabreu/comment-coverage-clover

Copy link
Contributor Author

depfu bot commented May 25, 2024

Closed in favor of #233.

@depfu depfu bot closed this May 25, 2024
@depfu depfu bot deleted the depfu/update/composer/phpstan/phpstan-1.11.0 branch May 25, 2024 15:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants