We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 383bfbf commit 5130bc0Copy full SHA for 5130bc0
tests/bson/bson-enum_error-003.phpt
@@ -15,5 +15,5 @@ enum MyEnum implements MongoDB\BSON\Persistable
15
?>
16
===DONE===
17
<?php exit(0); ?>
18
---EXPECTF--
19
-Fatal error: Enum class MyEnum cannot implement interface MongoDB\BSON\Persistable in %s on line %d
+--EXPECTREGEX--
+Fatal error: Enum class MyEnum cannot implement interface MongoDB\\BSON\\(Persistable|Unserializable) in .+ on line \d+
0 commit comments