Documentation

RemoveBuiltinMethodsThatAreFinalPass.php

Interfaces, Classes and Traits

RemoveBuiltinMethodsThatAreFinalPass
The standard Mockery\Mock class includes some methods to ease mocking, such as __wakeup, however if the target has a final __wakeup method, it can't be mocked. This pass removes the builtin methods where they are final on the target

Search results