File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change 1313
1414use PHPUnit \Framework \Assert ;
1515use PHPUnit \Framework \TestCase ;
16- use Symfony \Bridge \PhpUnit \ExpectUserDeprecationMessageTrait ;
1716use Symfony \Component \OptionsResolver \Debug \OptionsResolverIntrospector ;
1817use Symfony \Component \OptionsResolver \Exception \AccessException ;
1918use Symfony \Component \OptionsResolver \Exception \InvalidArgumentException ;
2726
2827class OptionsResolverTest extends TestCase
2928{
30- use ExpectUserDeprecationMessageTrait;
31-
3229 private OptionsResolver $ resolver ;
3330
3431 protected function setUp (): void
@@ -1405,7 +1402,6 @@ public function testNormalizerCanAccessOtherOptions()
14051402 $ this ->resolver ->setDefault ('norm ' , 'baz ' );
14061403
14071404 $ this ->resolver ->setNormalizer ('norm ' , function (Options $ options ) {
1408- /** @var TestCase $test */
14091405 Assert::assertSame ('bar ' , $ options ['default ' ]);
14101406
14111407 return 'normalized ' ;
@@ -1423,7 +1419,6 @@ public function testNormalizerCanAccessLazyOptions()
14231419 $ this ->resolver ->setDefault ('norm ' , 'baz ' );
14241420
14251421 $ this ->resolver ->setNormalizer ('norm ' , function (Options $ options ) {
1426- /** @var TestCase $test */
14271422 Assert::assertEquals ('bar ' , $ options ['lazy ' ]);
14281423
14291424 return 'normalized ' ;
You can’t perform that action at this time.
0 commit comments