diff --git a/Tests/OptionsResolverTest.php b/Tests/OptionsResolverTest.php index b375cb0..30107e6 100644 --- a/Tests/OptionsResolverTest.php +++ b/Tests/OptionsResolverTest.php @@ -1443,7 +1443,6 @@ public function testNormalizerCanAccessOtherOptions() $this->resolver->setDefault('norm', 'baz'); $this->resolver->setNormalizer('norm', function (Options $options) { - /** @var TestCase $test */ Assert::assertSame('bar', $options['default']); return 'normalized'; @@ -1461,8 +1460,7 @@ public function testNormalizerCanAccessLazyOptions() $this->resolver->setDefault('norm', 'baz'); $this->resolver->setNormalizer('norm', function (Options $options) { - /** @var TestCase $test */ - Assert::assertEquals('bar', $options['lazy']); + Assert::assertSame('bar', $options['lazy']); return 'normalized'; }); @@ -2643,9 +2641,9 @@ public function testResolveOptionsDefinedByOptionConfigurator() ; $introspector = new OptionsResolverIntrospector($this->resolver); - $this->assertTrue(true, $this->resolver->isDefined('foo')); - $this->assertTrue(true, $this->resolver->isDeprecated('foo')); - $this->assertTrue(true, $this->resolver->hasDefault('foo')); + $this->assertTrue($this->resolver->isDefined('foo')); + $this->assertTrue($this->resolver->isDeprecated('foo')); + $this->assertTrue($this->resolver->hasDefault('foo')); $this->assertSame('bar', $introspector->getDefault('foo')); $this->assertSame(['string', 'bool'], $introspector->getAllowedTypes('foo')); $this->assertSame(['bar', 'zab'], $introspector->getAllowedValues('foo'));