@@ -31,7 +31,7 @@ public function asyncifyProvider(): array
3131 ['file_get_contents ' , ['foo.txt ' ]],
3232 concat (
3333 ' ' ,
34- 'Error : file_get_contents(foo.txt): ' ,
34+ 'Exception : file_get_contents(foo.txt): ' ,
3535 PHP_VERSION_ID >= 80000 ? 'Failed ' : 'failed ' ,
3636 'to open stream: No such file or directory '
3737 ),
@@ -41,8 +41,7 @@ public function asyncifyProvider(): array
4141 ['file_get_contents ' , []],
4242 concat (
4343 ' ' ,
44- PHP_VERSION_ID >= 80000 ? 'Exception: ' : 'Error: ' ,
45- 'file_get_contents() expects at least 1 ' ,
44+ 'Exception: file_get_contents() expects at least 1 ' ,
4645 PHP_VERSION_ID >= 80000 ? 'argument, ' : 'parameter, ' ,
4746 '0 given '
4847 ),
@@ -53,7 +52,7 @@ public function asyncifyProvider(): array
5352 '(function ($file) { if (!\is_file($file)) { trigger_error("Could not find file " . $file); } return \file_get_contents($file); }) ' ,
5453 ['foo.txt ' ],
5554 ],
56- 'Error : Could not find file foo.txt ' ,
55+ 'Exception : Could not find file foo.txt ' ,
5756 ],
5857 // check if objects can be passed
5958 [
0 commit comments