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 3e40e87 commit 6db519eCopy full SHA for 6db519e
Tests/ProcessTest.php
@@ -50,7 +50,7 @@ protected function tearDown(): void
50
public function testInvalidCwd()
51
{
52
$this->expectException('Symfony\Component\Process\Exception\RuntimeException');
53
- $this->expectExceptionMessageRegExp('/The provided cwd ".*" does not exist\./');
+ $this->expectExceptionMessageMatches('/The provided cwd ".*" does not exist\./');
54
try {
55
// Check that it works fine if the CWD exists
56
$cmd = new Process(['echo', 'test'], __DIR__);
0 commit comments