Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 82ae6de

Browse files
minor #43016 [GHA] Test on PHP 8.2 as experimental and 8.1 as a regular version (nicolas-grekas)
This PR was merged into the 4.4 branch. Discussion ---------- [GHA] Test on PHP 8.2 as experimental and 8.1 as a regular version | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Commits ------- c598d17 [GHA] Test on PHP 8.2 as experimental and 8.1 as a regular version
2 parents 49ec485 + c598d17 commit 82ae6de

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/unit-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121
matrix:
2222
include:
2323
- php: '7.2'
24-
- php: '8.0'
24+
- php: '8.1'
2525
- php: '7.4'
2626
mode: high-deps
2727
- php: '8.0'
2828
mode: low-deps
29-
- php: '8.1'
29+
- php: '8.2'
3030
mode: experimental
3131
fail-fast: false
3232

@@ -36,10 +36,10 @@ jobs:
3636
with:
3737
fetch-depth: 2
3838

39-
- name: Configure for PHP 8.1
40-
if: "${{ matrix.php == '8.1' }}"
39+
- name: Configure for PHP >= 8.2
40+
if: "${{ matrix.php >= '8.2' }}"
4141
run: |
42-
composer config platform.php 8.0.99
42+
composer config platform.php 8.1.99
4343
4444
- name: Setup PHP
4545
uses: shivammathur/setup-php@v2

src/Symfony/Component/Intl/Tests/DateFormatter/AbstractIntlDateFormatterTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,19 @@ public function testConstructorDefaultTimeZone()
5656
);
5757
}
5858

59+
/**
60+
* @group legacy
61+
*/
5962
public function testConstructorWithoutDateType()
6063
{
6164
$formatter = $this->getDateFormatter('en', null, IntlDateFormatter::SHORT, 'UTC', IntlDateFormatter::GREGORIAN);
6265

6366
$this->assertSame('EEEE, MMMM d, y \'at\' h:mm a', $formatter->getPattern());
6467
}
6568

69+
/**
70+
* @group legacy
71+
*/
6672
public function testConstructorWithoutTimeType()
6773
{
6874
$formatter = $this->getDateFormatter('en', IntlDateFormatter::SHORT, null, 'UTC', IntlDateFormatter::GREGORIAN);

0 commit comments

Comments
 (0)