From 4f4b08fd822906e1a5acf1b8518866e46ce63a68 Mon Sep 17 00:00:00 2001 From: kenjis Date: Fri, 12 Apr 2024 10:46:29 +0900 Subject: [PATCH 1/2] chore: update PHP versions --- .github/workflows/auto-review.yml | 2 +- .github/workflows/build.yml | 2 +- .github/workflows/code-style.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/auto-review.yml b/.github/workflows/auto-review.yml index 9f688bee..ccef3d09 100644 --- a/.github/workflows/auto-review.yml +++ b/.github/workflows/auto-review.yml @@ -30,7 +30,7 @@ jobs: strategy: fail-fast: false matrix: - php-version: ['7.4', '8.0', '8.1'] + php-version: ['8.1', '8.2', '8.3'] permissions: pull-requests: read diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b9740f5e..fe728bf0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,7 +30,7 @@ jobs: strategy: fail-fast: false matrix: - php-version: ['7.4', '8.0', '8.1'] + php-version: ['8.1', '8.2', '8.3'] steps: - name: Checkout code diff --git a/.github/workflows/code-style.yml b/.github/workflows/code-style.yml index 085336fe..396004a5 100644 --- a/.github/workflows/code-style.yml +++ b/.github/workflows/code-style.yml @@ -34,7 +34,7 @@ jobs: strategy: fail-fast: false matrix: - php-version: ['7.4', '8.0', '8.1'] + php-version: ['8.1', '8.2', '8.3'] steps: - name: Checkout repository From 60d23d17ddb37c4c492dff431bf5496cd295223c Mon Sep 17 00:00:00 2001 From: kenjis Date: Fri, 12 Apr 2024 10:51:59 +0900 Subject: [PATCH 2/2] docs: fix @return types --- tests/Language/AbstractTranslationTestCase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Language/AbstractTranslationTestCase.php b/tests/Language/AbstractTranslationTestCase.php index 230e4c4a..a11264ce 100644 --- a/tests/Language/AbstractTranslationTestCase.php +++ b/tests/Language/AbstractTranslationTestCase.php @@ -304,7 +304,7 @@ final public function testAllConfiguredLanguageKeysAreInOrder(string $locale): v } /** - * @return string[][] + * @return array> */ final public static function localesProvider(): iterable { @@ -337,7 +337,7 @@ final public function testLocaleHasCorrespondingTestCaseFile(string $locale): vo /** * Get all the ISO 639-1 and 639-2 locale codes. * - * @return array> + * @return array> */ final public function translationKeys(): array {