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

use safe class_exists call to prevent issue with magentos classloader #224

Merged
merged 1 commit into from
Mar 31, 2023

Conversation

dbu
Copy link
Contributor

@dbu dbu commented Mar 31, 2023

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Related tickets fixes #221
Documentation -
License MIT

What's in this PR?

We need to catch exeptions during class_exists, because some classloaders (like magento's) throw an exception if the class does not exist.

Checklist

  • Updated CHANGELOG.md to describe BC breaks / deprecations | new feature | bugfix

@dbu dbu force-pushed the dbu-patch-1 branch 2 times, most recently from a6fddc8 to fe30ba3 Compare March 31, 2023 13:47
@dbu dbu force-pushed the dbu-patch-1 branch 2 times, most recently from 54f0706 to 8a7be19 Compare March 31, 2023 14:34
@dbu
Copy link
Contributor Author

dbu commented Mar 31, 2023

can't get the roave check to work unfortunately. lets hope Nyholm/roave-bc-check-docker#32 eventually gets fixed

@dbu dbu merged commit 3ccd28d into 1.x Mar 31, 2023
@dbu dbu deleted the dbu-patch-1 branch March 31, 2023 14:40
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.

Compatibility issue with Magento
2 participants