From 791e5d65b5a9daf8951dfb7e644867e13a18a466 Mon Sep 17 00:00:00 2001 From: Bruce Weirdan Date: Wed, 30 Aug 2023 07:37:29 +0200 Subject: [PATCH 1/2] `composer.json` tweaks Psalm is not a library. Also updated `composer lint` description. --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index fcce61b5bb8..a54ba2180d5 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "vimeo/psalm", - "type": "library", + "type": "project", "description": "A static analysis tool for finding errors in PHP applications", "keywords": [ "php", @@ -134,7 +134,7 @@ "scripts-descriptions": { "cs": "Checks that the code conforms to the coding standard.", "cs-fix": "Automatically correct coding standard violations.", - "lint": "Runs unit tests.", + "lint": "Lint php files.", "phpunit": "Runs unit tests in parallel.", "phpunit-std": "Runs unit tests.", "psalm": "Runs static analysis.", From ca967bc162b7cb9f77d9b94ae392f7d74b1e76fc Mon Sep 17 00:00:00 2001 From: Bruce Weirdan Date: Wed, 30 Aug 2023 07:45:16 +0200 Subject: [PATCH 2/2] Added support links --- composer.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/composer.json b/composer.json index a54ba2180d5..5d1884fb6df 100644 --- a/composer.json +++ b/composer.json @@ -139,5 +139,10 @@ "phpunit-std": "Runs unit tests.", "psalm": "Runs static analysis.", "tests": "Runs all available tests." + }, + "support": { + "docs": "https://psalm.dev/docs", + "issues": "https://github.com/vimeo/psalm/issues", + "source": "https://github.com/vimeo/psalm" } }