Skip to content

Commit 19dded6

Browse files
Fix test for PHP 8
1 parent 9a963fc commit 19dded6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)