Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
terrafrost committed Feb 22, 2024
1 parent 0d728d6 commit d3a4fd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/make_compatible_with_phpunit9.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
throw new \RuntimeException('file_get_contents() failed: ' . $file->getPathname());
}
$patternToReplacementMap = array(
'~(n assertIsArray\([^\)]*\))~' => '$1: void',
'~(n assertIsArray\([^,\)]*,)([^,\)]*\))~' => '$1 string $2: void',
'~(n assertIsArray\([^,\)]*\))~' => '$1: void',
'~(n assertIsString\([^\)]*\))~' => '$1: void',
'~(n assertStringContainsString\([^\)]*\))~' => '$1: void'
);
Expand Down

0 comments on commit d3a4fd2

Please sign in to comment.