Skip to content

Conversation

@bar5um
Copy link

@bar5um bar5um commented Aug 30, 2025

This pull request makes the Faker package compatible with PHP 8 by:

  • Removing the global string() helper, which caused conflicts.
  • Replacing all calls to string() with explicit (string) casts.
  • Ensuring all Faker methods (word, sentence, paragraph, etc.) work safely in Laravel factories and seeders.

This does not change any Faker functionality, only fixes PHP 8 compatibility issues.

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.

2 participants