File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,5 +15,5 @@ enum MyEnum implements MongoDB\BSON\Persistable
1515?>
1616===DONE===
1717<?php exit (0 ); ?>
18- --EXPECTF --
19- Fatal error: Enum class MyEnum cannot implement interface MongoDB\BSON\Persistable in %s on line %d
18+ --EXPECTREGEX --
19+ Fatal error: Enum class MyEnum cannot implement interface MongoDB\\ BSON\\( Persistable|Unserializable) in .+ on line \d+
Original file line number Diff line number Diff line change @@ -15,5 +15,5 @@ enum MyBackedEnum: int implements MongoDB\BSON\Persistable
1515?>
1616===DONE===
1717<?php exit (0 ); ?>
18- --EXPECTF --
19- Fatal error: Enum class MyBackedEnum cannot implement interface MongoDB\BSON\Persistable in %s on line %d
18+ --EXPECTREGEX --
19+ Fatal error: Enum class MyBackedEnum cannot implement interface MongoDB\\ BSON\\( Persistable|Unserializable) in .+ on line \d+
You can’t perform that action at this time.
0 commit comments