From b6ec702a7b1fe906b2c90d6e70ec79667214cc1f Mon Sep 17 00:00:00 2001 From: Ben Ramsey Date: Wed, 23 Aug 2023 11:41:48 -0500 Subject: [PATCH 1/6] ci: run CI builds on PHP 8.2 --- .github/workflows/continuous-integration.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 73c73bb..999e3b1 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -131,12 +131,15 @@ jobs: - "7.4" - "8.0" - "8.1" + - "8.2" dependencies: - "lowest" - "highest" exclude: - php-version: "8.1" dependencies: "lowest" + - php-version: "8.2" + dependencies: "lowest" steps: - name: "Checkout repository" From 2f10e9df52138f1d8130644d0ed0460b90d077c3 Mon Sep 17 00:00:00 2001 From: Ben Ramsey Date: Wed, 23 Aug 2023 11:56:15 -0500 Subject: [PATCH 2/6] ci: bump ICU version in CI to 73.2 --- .github/workflows/continuous-integration.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 999e3b1..906aa9c 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -33,7 +33,7 @@ jobs: uses: "shivammathur/setup-php@2.21.2" with: php-version: "latest" - extensions: "intl-70.1" + extensions: "intl-73.2" coverage: "none" - name: "Install dependencies (Composer)" @@ -56,7 +56,7 @@ jobs: uses: "shivammathur/setup-php@2.21.2" with: php-version: "latest" - extensions: "intl-70.1" + extensions: "intl-73.2" coverage: "none" - name: "Install dependencies (Composer)" @@ -80,7 +80,7 @@ jobs: uses: "shivammathur/setup-php@2.21.2" with: php-version: "latest" - extensions: "intl-70.1" + extensions: "intl-73.2" coverage: "none" - name: "Install dependencies (Composer)" @@ -106,7 +106,7 @@ jobs: uses: "shivammathur/setup-php@2.21.2" with: php-version: "latest" - extensions: "intl-70.1" + extensions: "intl-73.2" coverage: "pcov" ini-values: "memory_limit=-1" @@ -149,7 +149,7 @@ jobs: uses: "shivammathur/setup-php@2.21.2" with: php-version: "${{ matrix.php-version }}" - extensions: "intl-70.1" + extensions: "intl-73.2" coverage: "none" - name: "Install dependencies (Composer)" From e271c76776c166cb56ffbff06e0e96098bd855ff Mon Sep 17 00:00:00 2001 From: Ben Ramsey Date: Wed, 23 Aug 2023 12:05:41 -0500 Subject: [PATCH 3/6] test: use the narrow non-breaking space used by recent ICU versions --- src/Icu/MessageFormat/Parser.php | 4 -- .../MessageFormat/Parser/Type/ElementType.php | 1 - .../Parser/Type/SkeletonType.php | 1 - tests/FormatPHPTest.php | 12 ++--- tests/Intl/DateTimeFormatTest.php | 52 +++++++++---------- 5 files changed, 32 insertions(+), 38 deletions(-) diff --git a/src/Icu/MessageFormat/Parser.php b/src/Icu/MessageFormat/Parser.php index c7dc7a2..8186d65 100644 --- a/src/Icu/MessageFormat/Parser.php +++ b/src/Icu/MessageFormat/Parser.php @@ -408,10 +408,6 @@ private function parseLiteral(int $nestingLevel, string $parentArgType): Result * level of the pattern. The new behavior is otherwise compatible. * * @param ArgType $parentArgType - * - * @throws Exception\InvalidOffsetException - * @throws Exception\InvalidUtf8CodeBoundaryException - * @throws Exception\InvalidUtf8CodePointException */ private function tryParseQuote(string $parentArgType): ?string { diff --git a/src/Icu/MessageFormat/Parser/Type/ElementType.php b/src/Icu/MessageFormat/Parser/Type/ElementType.php index 08dce3e..2773c87 100644 --- a/src/Icu/MessageFormat/Parser/Type/ElementType.php +++ b/src/Icu/MessageFormat/Parser/Type/ElementType.php @@ -36,7 +36,6 @@ * @method static ElementType Plural() * @method static ElementType Pound() * @method static ElementType Tag() - * * @psalm-immutable * @extends Enum */ diff --git a/src/Icu/MessageFormat/Parser/Type/SkeletonType.php b/src/Icu/MessageFormat/Parser/Type/SkeletonType.php index 9690924..0fe70ca 100644 --- a/src/Icu/MessageFormat/Parser/Type/SkeletonType.php +++ b/src/Icu/MessageFormat/Parser/Type/SkeletonType.php @@ -29,7 +29,6 @@ * * @method static SkeletonType Number() * @method static SkeletonType DateTime() - * * @psalm-immutable * @extends Enum */ diff --git a/tests/FormatPHPTest.php b/tests/FormatPHPTest.php index 8192e31..619fe38 100644 --- a/tests/FormatPHPTest.php +++ b/tests/FormatPHPTest.php @@ -156,7 +156,7 @@ public function testFormatDateWithOptions(): void // Mon, 25 Oct 2021 23:34:12 +0000 $this->assertSame( - 'Monday, October 25, 2021 at 11:34:12 PM UTC', + "Monday, October 25, 2021 at 11:34:12\xE2\x80\xAFPM UTC", $formatphp->formatDate(1635204852, new DateTimeFormatOptions([ 'dateStyle' => 'full', 'timeStyle' => 'long', @@ -217,7 +217,7 @@ public function testFormatTime(): void $formatphp = new FormatPHP($config, $messageCollection); $this->assertSame( - '11:34 PM', + "11:34\xE2\x80\xAFPM", $formatphp->formatTime('Mon, 25 Oct 2021 23:34:12 +0000'), ); } @@ -231,7 +231,7 @@ public function testFormatTimeWithOptions(): void // Mon, 25 Oct 2021 23:34:12 +0000 $this->assertSame( - '11:34:12 PM', + "11:34:12\xE2\x80\xAFPM", $formatphp->formatTime(1635204852, new DateTimeFormatOptions([ 'second' => 'numeric', ])), @@ -247,7 +247,7 @@ public function testFormatTimeWithTimeStyle(): void // Mon, 25 Oct 2021 23:34:12 +0000 $this->assertSame( - '11:34:12 PM Coordinated Universal Time', + "11:34:12\xE2\x80\xAFPM Coordinated Universal Time", $formatphp->formatTime(1635204852, new DateTimeFormatOptions([ 'timeStyle' => 'full', ])), @@ -284,7 +284,7 @@ public function testFormatTimeDoesNotModifyPassedDateTimeFormatOptionsInstance() $this->assertNull($options->hour); $this->assertNull($options->minute); - $this->assertSame('8:03 PM', $formatphp->formatTime($time, $options)); + $this->assertSame("8:03\xE2\x80\xAFPM", $formatphp->formatTime($time, $options)); // These should still be null after passing them to formatTime(). $this->assertNull($options->hour); @@ -304,7 +304,7 @@ public function testFormatTimeUsesProvidedHourMinuteOptions(): void 'minute' => '2-digit', ]); - $this->assertSame('8:03 PM', $formatphp->formatTime($time, $options)); + $this->assertSame("8:03\xE2\x80\xAFPM", $formatphp->formatTime($time, $options)); // These should not change after being passed to formatTime(). $this->assertSame('2-digit', $options->hour); diff --git a/tests/Intl/DateTimeFormatTest.php b/tests/Intl/DateTimeFormatTest.php index 0d07bec..a9469a0 100644 --- a/tests/Intl/DateTimeFormatTest.php +++ b/tests/Intl/DateTimeFormatTest.php @@ -121,7 +121,7 @@ public function testHour12OverridesHourCycle(): void $enFormatter = new DateTimeFormat($enLocale, $formatOptions); $date = new DateTimeImmutable('@' . self::TS); - $this->assertSame('10:48:20 PM', $enFormatter->format($date)); + $this->assertSame("10:48:20\xE2\x80\xAFPM", $enFormatter->format($date)); $this->assertSame('hhmmss', $enFormatter->getSkeleton()); $this->assertSame('en-u-hc-h12', $enFormatter->getEvaluatedLocale()); @@ -207,7 +207,7 @@ public function formatProvider(): array 'timeZoneName' => 'long', ], 'ko' => '서기 2020년 6 16일 화요일 오전 4시 48분 20초 협정 세계시', - 'en' => 'Tuesday, 6 16, 2020 Anno Domini, 4:48:20 AM Coordinated Universal Time', + 'en' => "Tuesday, 6 16, 2020 Anno Domini, 4:48:20\xE2\x80\xAFAM Coordinated Universal Time", 'skeleton' => 'GGGGyyyyMdEEEEhmszzzz', ], [ @@ -225,7 +225,7 @@ public function formatProvider(): array 'timeZoneName' => 'short', ], 'ko' => '서기 2020년 6 16일 화요일 오전 12시 48분 20초 GMT-4', - 'en' => 'Tuesday, 6 16, 2020 Anno Domini, 12:48:20 AM EDT', + 'en' => "Tuesday, 6 16, 2020 Anno Domini, 12:48:20\xE2\x80\xAFAM EDT", 'skeleton' => 'GGGGyyyyMdEEEEhmsz', ], [ @@ -243,7 +243,7 @@ public function formatProvider(): array 'timeZoneName' => 'short', ], 'ko' => '서기 2020년 6 16일 화요일 오전 12시 48분 20초 GMT-4', - 'en' => 'Tuesday, 6 16, 2020 Anno Domini, 12:48:20 AM EDT', + 'en' => "Tuesday, 6 16, 2020 Anno Domini, 12:48:20\xE2\x80\xAFAM EDT", 'skeleton' => 'GGGGyyyyMddEEEEhmsz', ], [ @@ -260,7 +260,7 @@ public function formatProvider(): array 'timeZoneName' => 'short', ], 'ko' => '서기 2020년 6 16일 화요일 오전 12시 48분 20초 GMT-4', - 'en' => 'Tuesday, 6 16, 2020 Anno Domini, 12:48:20 AM EDT', + 'en' => "Tuesday, 6 16, 2020 Anno Domini, 12:48:20\xE2\x80\xAFAM EDT", 'skeleton' => 'GGGGyyyyMddEEEEhmsz', ], [ @@ -277,7 +277,7 @@ public function formatProvider(): array 'timeZoneName' => 'short', ], 'ko' => '서기 2020년 6 15일 월요일 오후 9시 48분 20초 GMT-7', - 'en' => 'Monday, 6 15, 2020 Anno Domini, 9:48:20 PM PDT', + 'en' => "Monday, 6 15, 2020 Anno Domini, 9:48:20\xE2\x80\xAFPM PDT", 'skeleton' => 'GGGGyyyyMddEEEEhhmsz', ], // This test produces different output, depending on the version @@ -313,7 +313,7 @@ public function formatProvider(): array 'timeZoneName' => 'short', ], 'ko' => '서기 20년 6월 15일 월요일 오후 9시 48분 20초 GMT-7', - 'en' => 'Monday, Jun 15, 20 Anno Domini, 9:48:20 PM PDT', + 'en' => "Monday, Jun 15, 20 Anno Domini, 9:48:20\xE2\x80\xAFPM PDT", 'skeleton' => 'GGGGyyMMMddEEEEhhmsz', ], [ @@ -330,7 +330,7 @@ public function formatProvider(): array 'timeZoneName' => 'short', ], 'ko' => '서기 20년 6월 15일 월요일 오후 9시 48분 20초 GMT-7', - 'en' => 'Monday, J 15, 20 Anno Domini, 9:48:20 PM PDT', + 'en' => "Monday, J 15, 20 Anno Domini, 9:48:20\xE2\x80\xAFPM PDT", 'skeleton' => 'GGGGyyMMMMMddEEEEhhmsz', ], [ @@ -347,7 +347,7 @@ public function formatProvider(): array 'timeZoneName' => 'short', ], 'ko' => 'AD 20년 6월 15일 월요일 오후 9시 48분 20초 GMT-7', - 'en' => 'Monday, J 15, 20 AD, 9:48:20 PM PDT', + 'en' => "Monday, J 15, 20 AD, 9:48:20\xE2\x80\xAFPM PDT", 'skeleton' => 'GyyMMMMMddEEEEhhmsz', ], [ @@ -364,7 +364,7 @@ public function formatProvider(): array 'timeZoneName' => 'short', ], 'ko' => 'AD 20년 6월 15일 (월) 오후 9시 48분 20초 GMT-7', - 'en' => 'M, J 15, 20 AD, 9:48:20 PM PDT', + 'en' => "M, J 15, 20 AD, 9:48:20\xE2\x80\xAFPM PDT", 'skeleton' => 'GyyMMMMMddEEEEEhhmsz', ], [ @@ -381,7 +381,7 @@ public function formatProvider(): array 'timeZoneName' => 'short', ], 'ko' => 'AD 20년 6월 15일 (월) 오후 9시 48분 20초 GMT-7', - 'en' => 'Mon, J 15, 20 AD, 9:48:20 PM PDT', + 'en' => "Mon, J 15, 20 AD, 9:48:20\xE2\x80\xAFPM PDT", 'skeleton' => 'GyyMMMMMddEhhmsz', ], [ @@ -426,7 +426,7 @@ public function formatProvider(): array 'timeZone' => 'America/Los_Angeles', ], 'ko' => '오후 9시 48분 20초 미 태평양 하계 표준시', - 'en' => '9:48:20 PM Pacific Daylight Time', + 'en' => "9:48:20\xE2\x80\xAFPM Pacific Daylight Time", 'skeleton' => 'hmmssazzzz', ], [ @@ -435,7 +435,7 @@ public function formatProvider(): array 'timeZone' => 'America/Los_Angeles', ], 'ko' => '오후 9시 48분 20초 GMT-7', - 'en' => '9:48:20 PM PDT', + 'en' => "9:48:20\xE2\x80\xAFPM PDT", 'skeleton' => 'hmmssaz', ], [ @@ -444,7 +444,7 @@ public function formatProvider(): array 'timeZone' => 'America/Los_Angeles', ], 'ko' => '오후 9:48:20', - 'en' => '9:48:20 PM', + 'en' => "9:48:20\xE2\x80\xAFPM", 'skeleton' => 'hmmssa', ], [ @@ -453,7 +453,7 @@ public function formatProvider(): array 'timeZone' => 'America/Los_Angeles', ], 'ko' => '오후 9:48', - 'en' => '9:48 PM', + 'en' => "9:48\xE2\x80\xAFPM", 'skeleton' => 'hmma', ], [ @@ -463,7 +463,7 @@ public function formatProvider(): array 'timeZone' => 'America/Los_Angeles', ], 'ko' => '2020년 6월 15일 오후 9시 48분 20초 미 태평양 하계 표준시', - 'en' => 'June 15, 2020 at 9:48:20 PM Pacific Daylight Time', + 'en' => "June 15, 2020 at 9:48:20\xE2\x80\xAFPM Pacific Daylight Time", 'skeleton' => 'MMMMdyhmmssazzzz', ], [ @@ -473,7 +473,7 @@ public function formatProvider(): array 'timeZone' => 'America/Los_Angeles', ], 'ko' => '2020. 6. 15. 오후 9시 48분 20초 GMT-7', - 'en' => 'Jun 15, 2020, 9:48:20 PM PDT', + 'en' => "Jun 15, 2020, 9:48:20\xE2\x80\xAFPM PDT", 'skeleton' => 'MMMdyhmmssaz', ], [ @@ -483,7 +483,7 @@ public function formatProvider(): array 'timeZone' => 'America/Los_Angeles', ], 'ko' => '20. 6. 15. 오후 9:48:20', - 'en' => '6/15/20, 9:48:20 PM', + 'en' => "6/15/20, 9:48:20\xE2\x80\xAFPM", 'skeleton' => 'Mdyyhmmssa', ], [ @@ -493,7 +493,7 @@ public function formatProvider(): array 'timeZone' => 'America/Los_Angeles', ], 'ko' => '2020년 6월 15일 월요일 오후 9:48', - 'en' => 'Monday, June 15, 2020 at 9:48 PM', + 'en' => "Monday, June 15, 2020 at 9:48\xE2\x80\xAFPM", 'skeleton' => 'EEEEMMMMdyhmma', ], [ @@ -504,7 +504,7 @@ public function formatProvider(): array 'timeZone' => 'America/Denver', ], 'ko' => '불기 2563년 6월 15일 월요일 오후 10시 48분 20초 미 산지 하계 표준시', - 'en' => 'Monday, June 15, 2563 BE at 10:48:20 PM Mountain Daylight Time', + 'en' => "Monday, June 15, 2563 BE at 10:48:20\xE2\x80\xAFPM Mountain Daylight Time", 'skeleton' => 'EEEEMMMMdyhmmssazzzz', ], [ @@ -515,7 +515,7 @@ public function formatProvider(): array 'timeZone' => 'America/Denver', ], 'ko' => '二千零二十년 六월 十五일 월요일 오후 十시 四十八분 二十초 미 산지 하계 표준시', - 'en' => 'Monday, June 十五, 二千零二十 at 十:四十八:二十 PM Mountain Daylight Time', + 'en' => "Monday, June 十五, 二千零二十 at 十:四十八:二十\xE2\x80\xAFPM Mountain Daylight Time", 'skeleton' => 'EEEEMMMMdyhmmssazzzz', ], [ @@ -526,7 +526,7 @@ public function formatProvider(): array 'timeZone' => 'America/Denver', ], 'ko' => '2020년 6월 15일 월요일 오후 10시 48분 20초 미 산지 하계 표준시', - 'en' => 'Monday, June 15, 2020 at 10:48:20 PM Mountain Daylight Time', + 'en' => "Monday, June 15, 2020 at 10:48:20\xE2\x80\xAFPM Mountain Daylight Time", 'skeleton' => 'EEEEMMMMdyhmmssazzzz', ], [ @@ -550,7 +550,7 @@ public function formatProvider(): array 'timeZone' => 'America/Chicago', ], 'ko' => '오후 11:48:20', - 'en' => '11:48:20 PM', + 'en' => "11:48:20\xE2\x80\xAFPM", 'skeleton' => 'hmsb', ], [ @@ -562,7 +562,7 @@ public function formatProvider(): array 'timeZone' => 'America/Chicago', ], 'ko' => 'PM 11:48:20', - 'en' => '11:48:20 p', + 'en' => "11:48:20\xE2\x80\xAFp", 'skeleton' => 'hmsbbbbb', ], [ @@ -586,7 +586,7 @@ public function formatProvider(): array 'timeZone' => 'Asia/Kolkata', ], 'ko' => '오전 10:18:20', - 'en' => '10:18:20 AM', + 'en' => "10:18:20\xE2\x80\xAFAM", 'skeleton' => 'hmsb', ], [ @@ -598,7 +598,7 @@ public function formatProvider(): array 'timeZone' => 'Asia/Kolkata', ], 'ko' => 'AM 10:18:20', - 'en' => '10:18:20 a', + 'en' => "10:18:20\xE2\x80\xAFa", 'skeleton' => 'hmsbbbbb', ], ]; From 29bea7b74660853419e5834da74b551359736b3b Mon Sep 17 00:00:00 2001 From: Ben Ramsey Date: Wed, 23 Aug 2023 12:32:34 -0500 Subject: [PATCH 4/6] chore(deps): allow symfony/console and symfony/process ^6.0 --- .github/workflows/continuous-integration.yml | 5 ----- composer.json | 10 ++++++---- phpcs.xml.dist | 1 + 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 906aa9c..53cab13 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -135,11 +135,6 @@ jobs: dependencies: - "lowest" - "highest" - exclude: - - php-version: "8.1" - dependencies: "lowest" - - php-version: "8.2" - dependencies: "lowest" steps: - name: "Checkout repository" diff --git a/composer.json b/composer.json index b16f9d3..38c3bcc 100644 --- a/composer.json +++ b/composer.json @@ -20,13 +20,13 @@ "ext-intl": "*", "ext-json": "*", "ext-mbstring": "*", - "myclabs/php-enum": "^1.8", + "myclabs/php-enum": "^1.8.4", "nikic/php-parser": "^4.13", "psr/log": "^1 || ^2", "ramsey/collection": "^1.2", - "symfony/console": "^5.3", + "symfony/console": "^5.3 || ^6.0", "symfony/polyfill-php80": "^1.23", - "symfony/process": "^5 || ~6.0.0", + "symfony/process": "^5 || ^6.0", "webmozart/glob": "^4.4" }, "require-dev": { @@ -35,13 +35,15 @@ "ergebnis/composer-normalize": "^2.25", "hamcrest/hamcrest-php": "^2.0", "mdwheele/zalgo": "^0.3.1", - "mockery/mockery": "^1.5", + "mockery/mockery": "^1.6.6", + "myclabs/deep-copy": "^1.11", "php-parallel-lint/php-console-highlighter": "^1.0", "php-parallel-lint/php-parallel-lint": "^1.3", "phpstan/extension-installer": "^1.1", "phpstan/phpstan": "~1.8.0", "phpstan/phpstan-mockery": "^1.0", "phpstan/phpstan-phpunit": "^1.1", + "phpunit/phpunit": "^9.0", "psalm/plugin-mockery": "^0.9.1", "psalm/plugin-phpunit": "^0.17.0", "ramsey/coding-standard": "^2.0.3", diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 67865d9..cddf4ac 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -19,6 +19,7 @@ + From 9eae46dc66529ccb8d95fdafcff8c502f29548d3 Mon Sep 17 00:00:00 2001 From: Ben Ramsey Date: Wed, 23 Aug 2023 12:43:35 -0500 Subject: [PATCH 5/6] chore: update badge image URL --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7a9f406..c057b78 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Download Package PHP Programming Language Read License - Build Status + Build Status Codecov Code Coverage Psalm Type Coverage

From 57fa302a4d623945274d741445f6e2fa1b743705 Mon Sep 17 00:00:00 2001 From: Ben Ramsey Date: Wed, 23 Aug 2023 12:51:05 -0500 Subject: [PATCH 6/6] chore(deps-ci): bump the CI dependency versions --- .github/workflows/continuous-integration.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 53cab13..e913706 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -27,10 +27,10 @@ jobs: runs-on: "ubuntu-latest" steps: - name: "Checkout repository" - uses: "actions/checkout@v3.0.2" + uses: "actions/checkout@v3.5.3" - name: "Install PHP" - uses: "shivammathur/setup-php@2.21.2" + uses: "shivammathur/setup-php@2.25.5" with: php-version: "latest" extensions: "intl-73.2" @@ -50,10 +50,10 @@ jobs: runs-on: "ubuntu-latest" steps: - name: "Checkout repository" - uses: "actions/checkout@v3.0.2" + uses: "actions/checkout@v3.5.3" - name: "Install PHP" - uses: "shivammathur/setup-php@2.21.2" + uses: "shivammathur/setup-php@2.25.5" with: php-version: "latest" extensions: "intl-73.2" @@ -74,10 +74,10 @@ jobs: runs-on: "ubuntu-latest" steps: - name: "Checkout repository" - uses: "actions/checkout@v3.0.2" + uses: "actions/checkout@v3.5.3" - name: "Install PHP" - uses: "shivammathur/setup-php@2.21.2" + uses: "shivammathur/setup-php@2.25.5" with: php-version: "latest" extensions: "intl-73.2" @@ -100,10 +100,10 @@ jobs: runs-on: "ubuntu-latest" steps: - name: "Checkout repository" - uses: "actions/checkout@v3.0.2" + uses: "actions/checkout@v3.5.3" - name: "Install PHP" - uses: "shivammathur/setup-php@2.21.2" + uses: "shivammathur/setup-php@2.25.5" with: php-version: "latest" extensions: "intl-73.2" @@ -138,10 +138,10 @@ jobs: steps: - name: "Checkout repository" - uses: "actions/checkout@v3.0.2" + uses: "actions/checkout@v3.5.3" - name: "Install PHP" - uses: "shivammathur/setup-php@2.21.2" + uses: "shivammathur/setup-php@2.25.5" with: php-version: "${{ matrix.php-version }}" extensions: "intl-73.2"