Skip to content

Commit 177cd1a

Browse files
Fix test for PHP 8
1 parent 2a70f68 commit 177cd1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/ConfigurationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ public function testBaselineFileWriteError()
387387
$filename = $this->createFile();
388388
chmod($filename, 0444);
389389
$this->expectError();
390-
$this->expectErrorMessageMatches('/failed to open stream: Permission denied/');
390+
$this->expectErrorMessageMatches('/[Ff]ailed to open stream: Permission denied/');
391391
$configuration = Configuration::fromUrlEncodedString('generateBaseline=true&baselineFile=' . urlencode($filename));
392392
$configuration->writeBaseline();
393393
}

0 commit comments

Comments
 (0)