dg / bypass-finals

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

Fix bug #44 #45

Closed pawelabrams closed 10 months ago

pawelabrams commented 10 months ago

Add a catch to cover exceptions thrown in error handlers while handling a PHP warning emitted in some cases with stat on non-existent files.

See bug #44

dg commented 10 months ago

The problem is caused by an incorrectly written handler, the solution is to fix the handler, not this library.