Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/bson/bson-enum_error-003.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ enum MyEnum implements MongoDB\BSON\Persistable
?>
===DONE===
<?php exit(0); ?>
--EXPECTF--
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+
4 changes: 2 additions & 2 deletions tests/bson/bson-enum_error-004.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ enum MyBackedEnum: int implements MongoDB\BSON\Persistable
?>
===DONE===
<?php exit(0); ?>
--EXPECTF--
Fatal error: Enum class MyBackedEnum cannot implement interface MongoDB\BSON\Persistable in %s on line %d
--EXPECTREGEX--
Fatal error: Enum class MyBackedEnum cannot implement interface MongoDB\\BSON\\(Persistable|Unserializable) in .+ on line \d+
Loading