You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #109 fix compatibility with to-be-released PHPUnit 10 (xabbuh)
This PR was merged into the 0.1-dev branch.
Discussion
----------
fix compatibility with to-be-released PHPUnit 10
Commits
-------
7310895 fix compatibility with to-be-released PHPUnit 10
$this->assertSame('This value should be of type Qossmic\RichModelForms\Tests\Fixtures\Model\Price.', $form->get('price')->getErrors()[0]->getMessage());
$this->assertRegExp('/^Expected argument of type "Qossmic\\\\RichModelForms\\\\Tests\\\\Fixtures\\\\Model\\\\Price", "int(eger)?" given/', $form->get('price')->getErrors()[0]->getCause()->getMessage());
78
+
$this->assertMatchesRegularExpression('/^Expected argument of type "Qossmic\\\\RichModelForms\\\\Tests\\\\Fixtures\\\\Model\\\\Price", "int(eger)?" given/', $form->get('price')->getErrors()[0]->getCause()->getMessage());
$this->assertSame('This value should be of type Qossmic\RichModelForms\Tests\Fixtures\Model\Price.', $form->get('price')->getErrors()[0]->getMessage());
$this->assertRegExp('/^Expected argument of type "Qossmic\\\\RichModelForms\\\\Tests\\\\Fixtures\\\\Model\\\\Price", "int(eger)?" given/', $form->get('price')->getErrors()[0]->getCause()->getMessage());
176
+
$this->assertMatchesRegularExpression('/^Expected argument of type "Qossmic\\\\RichModelForms\\\\Tests\\\\Fixtures\\\\Model\\\\Price", "int(eger)?" given/', $form->get('price')->getErrors()[0]->getCause()->getMessage());
0 commit comments