Skip to content

Fixes #354 Add class_exists before aliasing class #356

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

Merged
merged 4 commits into from
Jul 8, 2020

Conversation

annuh
Copy link
Contributor

@annuh annuh commented Jul 7, 2020

Checks if class exists before creating an alias to fix #354

@annuh
Copy link
Contributor Author

annuh commented Jul 8, 2020

The failings tests seems to be fixed in getsentry/sentry-php#1038, but these changes aren't released yet.

@Jean85
Copy link
Contributor

Jean85 commented Jul 8, 2020

getsentry/sentry-php#1038 is to be released in 3.0, so the build is properly broken.
I'll try to fix it.

@Jean85 Jean85 added this to the 3.5 milestone Jul 8, 2020
@Jean85 Jean85 added the Bug label Jul 8, 2020
Copy link
Contributor

@Jean85 Jean85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes looks fine to me; can you please add a changelog entry?

@Jean85 Jean85 linked an issue Jul 8, 2020 that may be closed by this pull request
@Jean85
Copy link
Contributor

Jean85 commented Jul 8, 2020

Closing and reopening to trigger the CI, since #357 should have fixed it.

@Jean85 Jean85 closed this Jul 8, 2020
@Jean85 Jean85 reopened this Jul 8, 2020
Copy link
Contributor

@Jean85 Jean85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍 Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Symfony 5 + preloading triggers Warning: Cannot declare class
2 participants