Skip to content

Commit b7a469e

Browse files
Jean-Berunicolas-grekas
authored andcommitted
[Tests] Fix "Incomplete version" PHPUnit warnings
1 parent 5dbbfc6 commit b7a469e

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

Tests/Extension/Core/DataTransformer/DateTimeToLocalizedStringTransformerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ public function testReverseTransformFiveDigitYearsWithTimestamp()
338338
}
339339

340340
#[RequiresPhpExtension('intl')]
341-
#[RequiresPhp('< 8.5')]
341+
#[RequiresPhp('< 8.5.0')]
342342
public function testReverseTransformWrapsIntlErrorsWithErrorLevel()
343343
{
344344
$errorLevel = ini_set('intl.error_level', \E_WARNING);
@@ -367,7 +367,7 @@ public function testReverseTransformWrapsIntlErrorsWithExceptions()
367367
}
368368

369369
#[RequiresPhpExtension('intl')]
370-
#[RequiresPhp('< 8.5')]
370+
#[RequiresPhp('< 8.5.0')]
371371
public function testReverseTransformWrapsIntlErrorsWithExceptionsAndErrorLevel()
372372
{
373373
$initialUseExceptions = ini_set('intl.use_exceptions', 1);

Tests/Extension/Core/DataTransformer/NumberToLocalizedStringTransformerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ public function testReverseTransformENotation($output, $input)
648648
}
649649

650650
#[RequiresPhpExtension('intl')]
651-
#[RequiresPhp('< 8.5')]
651+
#[RequiresPhp('< 8.5.0')]
652652
public function testReverseTransformWrapsIntlErrorsWithErrorLevel()
653653
{
654654
$errorLevel = ini_set('intl.error_level', \E_WARNING);
@@ -677,7 +677,7 @@ public function testReverseTransformWrapsIntlErrorsWithExceptions()
677677
}
678678

679679
#[RequiresPhpExtension('intl')]
680-
#[RequiresPhp('< 8.5')]
680+
#[RequiresPhp('< 8.5.0')]
681681
public function testReverseTransformWrapsIntlErrorsWithExceptionsAndErrorLevel()
682682
{
683683
$initialUseExceptions = ini_set('intl.use_exceptions', 1);

Tests/Extension/Core/DataTransformer/PercentToLocalizedStringTransformerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ public function testReverseTransformForHtml5FormatWithScale()
485485
}
486486

487487
#[RequiresPhpExtension('intl')]
488-
#[RequiresPhp('< 8.5')]
488+
#[RequiresPhp('< 8.5.0')]
489489
public function testReverseTransformWrapsIntlErrorsWithErrorLevel()
490490
{
491491
$errorLevel = ini_set('intl.error_level', \E_WARNING);
@@ -514,7 +514,7 @@ public function testReverseTransformWrapsIntlErrorsWithExceptions()
514514
}
515515

516516
#[RequiresPhpExtension('intl')]
517-
#[RequiresPhp('< 8.5')]
517+
#[RequiresPhp('< 8.5.0')]
518518
public function testReverseTransformWrapsIntlErrorsWithExceptionsAndErrorLevel()
519519
{
520520
$initialUseExceptions = ini_set('intl.use_exceptions', 1);

0 commit comments

Comments
 (0)