From 0eaac36bc305f7f29a1d63d225ad58461d22a7f9 Mon Sep 17 00:00:00 2001 From: Takashi Kanemoto Date: Fri, 24 May 2024 03:41:06 +0900 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=8E=A1=20fix=20ci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yaml | 2 +- phpstan.neon | 1 + psalm.xml | 1 + src/JpPostalCodeApi.php | 1 - 4 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7e7b35f389..fce03a19c9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -25,7 +25,7 @@ jobs: uses: actions/cache@v4 with: path: ${{ steps.composer-cache-dir-path.outputs.path }} - key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} + key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }} restore-keys: ${{ runner.os }}-composer- - name: Install Composer Dependencies diff --git a/phpstan.neon b/phpstan.neon index f4c46472be..effca09c81 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -6,4 +6,5 @@ parameters: level: max paths: - src + - bin/console - tests diff --git a/psalm.xml b/psalm.xml index 8e05c23b34..7fbdaaeb0c 100644 --- a/psalm.xml +++ b/psalm.xml @@ -10,6 +10,7 @@ > + diff --git a/src/JpPostalCodeApi.php b/src/JpPostalCodeApi.php index 700072eded..1a0259b31a 100644 --- a/src/JpPostalCodeApi.php +++ b/src/JpPostalCodeApi.php @@ -11,7 +11,6 @@ final readonly class JpPostalCodeApi { - /** @psalm-suppress PossiblyUnusedMethod */ public function __construct( private CsvProviderInterface $csvProvider, private CsvParserInterface $kenAllCsvParser,