dg/bypass-finals
DG\BypassFinals lets you bypass PHP’s final classes and methods at runtime so you can mock, extend, or patch code that’s otherwise locked down—useful for testing legacy dependencies. Lightweight, Composer-ready, and works with popular test frameworks.
DG\BypassFinals::enable(bypassReadOnly: false);
fixed some bugs #28, #25
setWhitelist() method to allow controlling which files get replaced. (#7)final as non-keyword [Closes #4]How can I help you explore Laravel packages today?