chore(deps): update PHPStan to v1.8

Upgraded PHPStan from v0.12.72 to v1.8 to leverage improvements and new features. This change includes adjustments to support requirements and package metadata. Ensures compatibility with newer PHP versions and provides enhanced static analysis capabilities.
This commit is contained in:
Kumi 2024-07-21 11:18:10 +02:00
parent ac44c0e6cc
commit c9fadaae20
Signed by: kumi
GPG key ID: ECBCC9082395383F
2 changed files with 16 additions and 18 deletions

View file

@ -50,7 +50,7 @@
"maximebf/debugbar": "^1.16",
"php-mock/php-mock-mockery": "^1.3",
"phpro/grumphp": "^1.3",
"phpstan/phpstan": "^0.12.72",
"phpstan/phpstan": "^1.8",
"phpunit/phpunit": "^9.5",
"povils/phpmnd": "^2.5",
"smarty-gettext/smarty-gettext": "^1.6",

32
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "02f288a60af3784e20ca7e1ba9afac4a",
"content-hash": "5441d2ad9245a0e28a0773f14c3d262d",
"packages": [
{
"name": "aura/session",
@ -7040,20 +7040,20 @@
},
{
"name": "phpstan/phpstan",
"version": "0.12.100",
"version": "1.11.7",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan.git",
"reference": "48236ddf823547081b2b153d1cd2994b784328c3"
"reference": "52d2bbfdcae7f895915629e4694e9497d0f8e28d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/48236ddf823547081b2b153d1cd2994b784328c3",
"reference": "48236ddf823547081b2b153d1cd2994b784328c3",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/52d2bbfdcae7f895915629e4694e9497d0f8e28d",
"reference": "52d2bbfdcae7f895915629e4694e9497d0f8e28d",
"shasum": ""
},
"require": {
"php": "^7.1|^8.0"
"php": "^7.2|^8.0"
},
"conflict": {
"phpstan/phpstan-shim": "*"
@ -7063,11 +7063,6 @@
"phpstan.phar"
],
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "0.12-dev"
}
},
"autoload": {
"files": [
"bootstrap.php"
@ -7078,9 +7073,16 @@
"MIT"
],
"description": "PHPStan - PHP Static Analysis Tool",
"keywords": [
"dev",
"static analysis"
],
"support": {
"docs": "https://phpstan.org/user-guide/getting-started",
"forum": "https://github.com/phpstan/phpstan/discussions",
"issues": "https://github.com/phpstan/phpstan/issues",
"source": "https://github.com/phpstan/phpstan/tree/0.12.100"
"security": "https://github.com/phpstan/phpstan/security/policy",
"source": "https://github.com/phpstan/phpstan-src"
},
"funding": [
{
@ -7090,13 +7092,9 @@
{
"url": "https://github.com/phpstan",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan",
"type": "tidelift"
}
],
"time": "2022-11-01T09:52:08+00:00"
"time": "2024-07-06T11:17:41+00:00"
},
{
"name": "phpunit/php-code-coverage",