Update to PhpUnitBridge and fix deprecations

This commit is contained in:
Jérémy Derussé
2019-08-07 16:35:43 +02:00
parent 9270385cd2
commit b776e41f5a
20 changed files with 152 additions and 189 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ class ErrorTest extends \PHPUnit\Framework\TestCase
$error = new Error('foo');
$error->setSourceContext(new Source('', new \SplFileInfo(__FILE__)));
$this->assertContains('tests'.\DIRECTORY_SEPARATOR.'ErrorTest.php', $error->getMessage());
$this->assertStringContainsString('tests'.\DIRECTORY_SEPARATOR.'ErrorTest.php', $error->getMessage());
}
public function testErrorWithArrayFilename()