Removes `final` and `readonly` keywords from source code on-the-fly and allows mocking of final methods and classes. It can be used together with any test tool such as PHPUnit or Mockery.
Other
487
stars
30
forks
source link
Cannot bootstrap extension because class DG\BypassFinals\PHPUnitExtension does not exist #51
This is the WARNing message that you get after following the steps from master's README -- especially the part about "registering BypassFinals in PHPUnit 10" - it makes you think that that class is already in the Released version (which is not specified in "install is through Composer" part), but it actually exists only in the master branch.
Please, add it to the next Release or specify that one should add composer require dg/bypass-finals:dev-master --dev to use that extensions->bootstrap class. Thanks!
This is the WARNing message that you get after following the steps from
master
's README -- especially the part about "registering BypassFinals in PHPUnit 10" - it makes you think that that class is already in the Released version (which is not specified in "install is through Composer" part), but it actually exists only in the master branch.Please, add it to the next Release or specify that one should add
composer require dg/bypass-finals:dev-master --dev
to use that extensions->bootstrap class. Thanks!