From 692e065cccd5789463a30ed87d717f92451e5996 Mon Sep 17 00:00:00 2001 From: Sysix Date: Tue, 19 Nov 2024 20:23:36 +0100 Subject: [PATCH] update `phpstan/phpstan` to v2 --- .github/workflows/phpstan.yml | 2 +- composer.json | 4 ++-- phpstan.neon | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index a9affb3..a9a84ee 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -12,6 +12,6 @@ jobs: - uses: php-actions/phpstan@v3 with: path: src/ tests/ - level: 9 + level: 10 \ No newline at end of file diff --git a/composer.json b/composer.json index d2b8fc5..1f4532c 100644 --- a/composer.json +++ b/composer.json @@ -23,12 +23,12 @@ "guzzlehttp/psr7": "^2.0" }, "require-dev": { - "phpstan/phpstan": "^1.11", "phpunit/phpunit": "^10.5", "guzzlehttp/guzzle": "^7.8", "friendsofphp/php-cs-fixer": "^3.57", "vimeo/psalm": "^5.24", - "psalm/plugin-phpunit": "^0.19" + "psalm/plugin-phpunit": "^0.19", + "phpstan/phpstan": "^2.0" }, "suggest": { "guzzlehttp/guzzle": "^7.0", diff --git a/phpstan.neon b/phpstan.neon index d461cdd..c51ec87 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,5 +1,5 @@ parameters: - level: 9 + level: 10 paths: - src - tests \ No newline at end of file