- Group Reviewers
- rK kolab
No Unit Test Coverage
- Build Status
Buildable 41506 Build 16645: arc lint + arc unit
There's pros and cons with this approach:
- no need for env-specific DatabaseSeeder class
- seeders are required to use Database\Seeds namespace, and class names must be the same as the filename (after removing XX- prefix and .php suffix). It could be done with anonymous classes, but the command output would be uglier.
I'm not a fan of this solution.
- For the immediate issue this seems like the simpler fix: https://git.kolab.org/D4069
- IMO this makes the seeder unnecessarily complicated
- This is not a solution for other cases where we'd overlay an existing file.