From c9fadaae207f017f1dd392a79f51bb2748498965 Mon Sep 17 00:00:00 2001 From: Kumi Date: Sun, 21 Jul 2024 11:18:10 +0200 Subject: [PATCH] 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. --- composer.json | 2 +- composer.lock | 32 +++++++++++++++----------------- 2 files changed, 16 insertions(+), 18 deletions(-) diff --git a/composer.json b/composer.json index c15082c..5594fa2 100644 --- a/composer.json +++ b/composer.json @@ -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", diff --git a/composer.lock b/composer.lock index 8a0591a..647464a 100644 --- a/composer.lock +++ b/composer.lock @@ -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",