From 8cc57efaae8c0f73398de2f59f1e06503d2f39aa Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Feb 2023 05:01:17 +0000 Subject: [PATCH 1/2] Update phpstan/phpstan requirement from ~1.9.2 to ~1.10.3 Updates the requirements on [phpstan/phpstan](https://github.com/phpstan/phpstan) to permit the latest version. - [Release notes](https://github.com/phpstan/phpstan/releases) - [Changelog](https://github.com/phpstan/phpstan/blob/1.10.x/CHANGELOG.md) - [Commits](https://github.com/phpstan/phpstan/compare/1.9.2...1.10.3) --- updated-dependencies: - dependency-name: phpstan/phpstan dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 104a2d0..f3b336e 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "php": "^7.2.0 || ^8.1.0", "ext-dom": "*", "laminas/laminas-code": "~3.3.0 || ~3.4.1 || ~3.5.1 || ^4.5", - "phpstan/phpstan": "~1.9.2", + "phpstan/phpstan": "~1.10.3", "symfony/finder": "^3.0 || ^4.0 || ^5.0 || ^6.0" }, "conflict": { From d28394a762d1aff96c68b2c260f2a1d821067d3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20Hochd=C3=B6rfer?= Date: Tue, 28 Feb 2023 08:33:50 +0100 Subject: [PATCH 2/2] Update PHPStan version in README.md file --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 07e96aa..2ff17e6 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,10 @@ PHP: PHP 7.2 or higher Magento: Magento 2.3.0 or higher -PHPStan: PHPStan 1.9 +PHPStan: PHPStan 1.10 If you are using a Magento version that requires an older version of PHPStan (e.g. 0.12.77), you need to manually upgrade it before -installing this extension. in your composer.json Change the PHPStan version to `~1.9` and run: +installing this extension. in your composer.json Change the PHPStan version to `~1.10` and run: ``` composer update phpstan/phpstan --with-all-dependencies