@@ -91,8 +91,8 @@ public function testSubmitFromSingleTextDateTime()
91
91
// we test against "de_DE", so we need the full implementation
92
92
IntlTestHelper::requireFullIntl ($ this , false );
93
93
94
- if ('71.1 ' === Intl:: getIcuVersion ( )) {
95
- $ this ->markTestSkipped ('Skipping test due to a bug in ICU 71.1. ' );
94
+ if (\in_array (Intl:: getIcuVersion (), [ '71.1 ' , ' 72.1 ' ], true )) {
95
+ $ this ->markTestSkipped ('Skipping test due to a bug in ICU 71.1/72.1 . ' );
96
96
}
97
97
98
98
\Locale::setDefault ('de_DE ' );
@@ -117,8 +117,8 @@ public function testSubmitFromSingleTextDateTimeImmutable()
117
117
// we test against "de_DE", so we need the full implementation
118
118
IntlTestHelper::requireFullIntl ($ this , false );
119
119
120
- if ('71.1 ' === Intl:: getIcuVersion ( )) {
121
- $ this ->markTestSkipped ('Skipping test due to a bug in ICU 71.1. ' );
120
+ if (\in_array (Intl:: getIcuVersion (), [ '71.1 ' , ' 72.1 ' ], true )) {
121
+ $ this ->markTestSkipped ('Skipping test due to a bug in ICU 71.1/72.1 . ' );
122
122
}
123
123
124
124
\Locale::setDefault ('de_DE ' );
@@ -144,8 +144,8 @@ public function testSubmitFromSingleTextString()
144
144
// we test against "de_DE", so we need the full implementation
145
145
IntlTestHelper::requireFullIntl ($ this , false );
146
146
147
- if ('71.1 ' === Intl:: getIcuVersion ( )) {
148
- $ this ->markTestSkipped ('Skipping test due to a bug in ICU 71.1. ' );
147
+ if (\in_array (Intl:: getIcuVersion (), [ '71.1 ' , ' 72.1 ' ], true )) {
148
+ $ this ->markTestSkipped ('Skipping test due to a bug in ICU 71.1/72.1 . ' );
149
149
}
150
150
151
151
\Locale::setDefault ('de_DE ' );
@@ -170,8 +170,8 @@ public function testSubmitFromSingleTextTimestamp()
170
170
// we test against "de_DE", so we need the full implementation
171
17
A949
1
IntlTestHelper::requireFullIntl ($ this , false );
172
172
173
- if ('71.1 ' === Intl:: getIcuVersion ( )) {
174
- $ this ->markTestSkipped ('Skipping test due to a bug in ICU 71.1. ' );
173
+ if (\in_array (Intl:: getIcuVersion (), [ '71.1 ' , ' 72.1 ' ], true )) {
174
+ $ this ->markTestSkipped ('Skipping test due to a bug in ICU 71.1/72.1 . ' );
175
175
}
176
176
177
177
\Locale::setDefault ('de_DE ' );
@@ -198,8 +198,8 @@ public function testSubmitFromSingleTextRaw()
198
198
// we test against "de_DE", so we need the full implementation
199
199
IntlTestHelper::requireFullIntl ($ this , false );
200
200
201
- if ('71.1 ' === Intl:: getIcuVersion ( )) {
202
- $ this ->markTestSkipped ('Skipping test due to a bug in ICU 71.1. ' );
201
+ if (\in_array (Intl:: getIcuVersion (), [ '71.1 ' , ' 72.1 ' ], true )) {
202
+ $ this ->markTestSkipped ('Skipping test due to a bug in ICU 71.1/72.1 . ' );
203
203
}
204
204
205
205
\Locale::setDefault ('de_DE ' );
0 commit comments