Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
1.0.4 - Prevent autoloading targets of static analysis #24
This pull request fixes #21
Using native Reflection, the target symbols are loaded in using the autoloader, thus contaminating the current code base. When the target for static analysis conflicts with the code base of DependencyGuard, this results in fatal errors.
The commits in this pull request use BetterReflection instead, which can apply static analysis of symbols, without having to load in the code.
The DependencyGuard command no longer registers the autoloader for vendor directories, as that will cause targets for analysis to be loaded in the active code base.