forked from fzaninotto/Faker
-
Notifications
You must be signed in to change notification settings - Fork 361
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…620) * allows passing an enum to randomElement or randomElements * psalm fix * fix: array not an instanceof Traversable * specify class-string * Update test/Faker/Provider/BaseTest.php Co-authored-by: Andreas Möller <am@localheinz.com> * remove require_once Co-authored-by: Andreas Möller <am@localheinz.com> * clean up tests splits tests, splits phases of tests, adds more specific assertions Co-authored-by: Andreas Möller <am@localheinz.com> * Apply suggestions from code review Co-authored-by: Andreas Möller <am@localheinz.com> * Fix: Avoid unnecessary import * Fix: Remove unnecessary reference to root namespace * Fix: Exclude BackedEnum * Fix: DocBlock * Fix: Run 'make baseline' * Fix: Run 'make baseline' * Fix: Test --------- Co-authored-by: Andreas Möller <am@localheinz.com>
- Loading branch information
1 parent
cd773f4
commit 096f7ff
Showing
6 changed files
with
72 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
namespace Faker\Test\Fixture\Enum; | ||
|
||
enum BackedEnum: string | ||
{ | ||
case Assigned = 'assigned'; | ||
|
||
case Pending = 'unassigned'; | ||
|
||
case Deleted = 'removed'; | ||
} |