Skip to content

Commit f9527ce

Browse files
Merge branch '4.4'
* 4.4: [Cache] fix cs Make tests support phpunit 8 Allow Travis CI to build on PHP 7.4 [DI] Allow dumping the container in one file instead of many files
2 parents 803d221 + 70c6398 commit f9527ce

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Tests/OptionsResolverTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,21 @@
1313

1414
use PHPUnit\Framework\Assert;
1515
use PHPUnit\Framework\TestCase;
16+
use Symfony\Bridge\PhpUnit\ForwardCompatTestTrait;
1617
use Symfony\Component\OptionsResolver\Exception\InvalidOptionsException;
1718
use Symfony\Component\OptionsResolver\Options;
1819
use Symfony\Component\OptionsResolver\OptionsResolver;
1920

2021
class OptionsResolverTest extends TestCase
2122
{
23+
use ForwardCompatTestTrait;
24+
2225
/**
2326
* @var OptionsResolver
2427
*/
2528
private $resolver;
2629

27-
protected function setUp()
30+
private function doSetUp()
2831
{
2932
$this->resolver = new OptionsResolver();
3033
}

0 commit comments

Comments
 (0)