Closed justlevine closed 2 months ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
src/Autoloader.php | 0 | 2 | 0.0% | ||
<!-- | Total: | 0 | 2 | 0.0% | --> |
Totals | |
---|---|
Change from base Build 9535520304: | -0.02% |
Covered Lines: | 6390 |
Relevant Lines: | 7604 |
What
This PR updates the
Autoloader
to check if our mainGF
class is already loaded, before attempting to load the autoloaderWhy
If the entire package is loaded as a dependency, it's possible the autoloader will be generated higher up in the tree.
Fixes #439
How
Instead of coupling this to Composer, we use a
class_exists()
check.Testing Instructions
Additional Info
Checklist: