We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dfd2d0 commit 14c243aCopy full SHA for 14c243a
Tests/Extension/Core/Type/CheckboxTypeTest.php
@@ -197,7 +197,7 @@ public function provideCustomFalseValues()
197
public function testDontAllowNonArrayFalseValues()
198
{
199
$this->expectException('Symfony\Component\OptionsResolver\Exception\InvalidOptionsException');
200
- $this->expectExceptionMessageRegExp('/"false_values" with value "invalid" is expected to be of type "array"/');
+ $this->expectExceptionMessageMatches('/"false_values" with value "invalid" is expected to be of type "array"/');
201
$this->factory->create(static::TESTED_TYPE, null, [
202
'false_values' => 'invalid',
203
]);
0 commit comments