From 7f99a4c3cf774aeb30d533bc06f250e51892ebef Mon Sep 17 00:00:00 2001 From: Alies Lapatsin Date: Sun, 27 Oct 2024 13:11:16 +0100 Subject: [PATCH] Update Psalm baseline --- .php-cs-fixer.php | 3 ++- composer.json | 2 ++ psalm-baseline.xml | 14 +++++++++++++- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 1c3ff20..e2cd9ce 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -36,4 +36,5 @@ ], 'single_trait_insert_per_statement' => true, ]) - ->setFinder($finder); + ->setFinder($finder) + ->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect()); diff --git a/composer.json b/composer.json index 61dea17..7669d00 100644 --- a/composer.json +++ b/composer.json @@ -45,6 +45,8 @@ "cs": "vendor/bin/php-cs-fixer fix --allow-risky=yes", "psalm": "vendor/bin/psalm", "psalm:ci": "vendor/bin/psalm --shepherd", + "sa": "@psalm", + "sa:bl": "vendor/bin/psalm --set-baseline=psalm-baseline.xml --long-progress --threads=1", "test": "vendor/bin/phpunit" } } diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 8dba989..f560da0 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,9 +1,14 @@ - + + + + + + @@ -25,7 +30,14 @@ + + option('base')]]> + + + + +