[PR #185] [MERGED] Upgrade PHPStan to the latest version #198

Closed
opened 2026-02-25 20:32:48 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/antonioribeiro/google2fa/pull/185
Author: @spaze
Created: 2/7/2023
Status: Merged
Merged: 3/1/2023
Merged by: @antonioribeiro

Base: 8.xHead: spaze/upgrade-phpstan


📝 Commits (1)

  • c999968 Upgrade PHPStan to the latest version

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 composer.json (+1 -1)

📄 Description

When running composer analyse, the old PHPStan throws a lot of "deprecated" errors on PHP 8.2, the upgrade fixes them.

Even PHPStan 0.12.100 itself says

⚠️  You're running a really old version of PHPStan.️

The last release in the 0.12.x series with new features
and bugfixes was released on September 12th 2021,
that's 513 days ago.

Since then more than 67 new PHPStan versions were released
with hundreds of new features, bugfixes, and other
quality of life improvements.

To learn about what you're missing out on, check out
this blog with articles about the latest major releases:
https://phpstan.org/blog

Upgrade today to PHPStan 1.8 or newer by using
"phpstan/phpstan": "^1.8" in your composer.json.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/antonioribeiro/google2fa/pull/185 **Author:** [@spaze](https://github.com/spaze) **Created:** 2/7/2023 **Status:** ✅ Merged **Merged:** 3/1/2023 **Merged by:** [@antonioribeiro](https://github.com/antonioribeiro) **Base:** `8.x` ← **Head:** `spaze/upgrade-phpstan` --- ### 📝 Commits (1) - [`c999968`](https://github.com/antonioribeiro/google2fa/commit/c9999687c43b9bc8677697b3fd2c3b1582b28890) Upgrade PHPStan to the latest version ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `composer.json` (+1 -1) </details> ### 📄 Description When running `composer analyse`, the old PHPStan throws a lot of "deprecated" errors on PHP 8.2, the upgrade fixes them. Even PHPStan 0.12.100 itself says ``` ⚠️ You're running a really old version of PHPStan.️ The last release in the 0.12.x series with new features and bugfixes was released on September 12th 2021, that's 513 days ago. Since then more than 67 new PHPStan versions were released with hundreds of new features, bugfixes, and other quality of life improvements. To learn about what you're missing out on, check out this blog with articles about the latest major releases: https://phpstan.org/blog Upgrade today to PHPStan 1.8 or newer by using "phpstan/phpstan": "^1.8" in your composer.json. ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 20:32:48 +03:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/google2fa#198
No description provided.