Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only load doctrine/persistence class alias when using Faker\ORM\Doctrine #446

Merged
merged 3 commits into from Feb 2, 2022
Merged

Only load doctrine/persistence class alias when using Faker\ORM\Doctrine #446

merged 3 commits into from Feb 2, 2022

Commits on Feb 2, 2022

  1. Only load doctrine/persistence class alias if classes exist

    Andreas Frömer committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    9c5889b View commit details
    Browse the repository at this point in the history
  2. Only load class alias when using Faker\ORM\Doctrine classes.

    This will also add autoload for phpstan to register the alias.
    Andreas Frömer committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    edefb8d View commit details
    Browse the repository at this point in the history
  3. Add tests to check if backward compatibility is working

    Each test will run in a separate process to make sure the autoload is done in every single one of them.
    Andreas Frömer committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    405e7de View commit details
    Browse the repository at this point in the history