From 4ff10a0760d2d455edb37b9ae72ebcfb6e4f0a08 Mon Sep 17 00:00:00 2001 From: Witold Wasiczko Date: Wed, 3 Apr 2024 11:10:02 +0200 Subject: [PATCH 1/2] Use psalm as phar --- .github/workflows/ci.yml | 2 +- composer.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5979f50..be3a609 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: uses: "ramsey/composer-install@v1" - name: Run Psalm - run: vendor/bin/psalm --show-info=false --find-unused-psalm-suppress --no-progress + run: vendor/bin/psalm.phar --show-info=false --find-unused-psalm-suppress --no-progress phpunit: name: PHPUnit diff --git a/composer.json b/composer.json index d610968..8848ec1 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "require-dev": { "phpunit/phpunit": "^8.5 || ^9.0", "php-coveralls/php-coveralls": "^2.2", - "vimeo/psalm": "5.21.1" + "psalm/phar": "5.21.1" }, "autoload": { "psr-4": { From 91b7bb3359184d261bfa4a45f417d95a17d2096b Mon Sep 17 00:00:00 2001 From: Witold Wasiczko Date: Wed, 3 Apr 2024 11:12:23 +0200 Subject: [PATCH 2/2] Update phpunit --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 8848ec1..5153bd8 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ "nikic/php-parser": "^4.0" }, "require-dev": { - "phpunit/phpunit": "^8.5 || ^9.0", + "phpunit/phpunit": "^9.3", "php-coveralls/php-coveralls": "^2.2", "psalm/phar": "5.21.1" },