Skip to content

Conversation

@coolert
Copy link
Owner

@coolert coolert commented Dec 5, 2025

PR Summary

Fixes a production-only failure in DatabaseSeeder where the global fake() helper was not available. This adjusts the seeder to use Faker\Factory explicitly so it works consistently across local, CI, Docker, and production environments.


Changes

  • Replaced fake()->seed(...) with explicit Faker instance: Faker\Factory::create()->seed(...)
  • Ensures seeding works on Debian / PHP-FPM production servers where fake() helper may not be autoloaded by default.
  • No behavior change for CI or local Sail environment.

Type of Change

  • Feature
  • Fix
  • Docs
  • Refactor
  • CI
  • Other

@coolert coolert merged commit 1886c9c into main Dec 5, 2025
2 checks passed
@coolert coolert deleted the chore/fix-seeder-fake-helper branch December 6, 2025 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant