Robert Basic

Results 61 comments of Robert Basic

@dbwhddn10 Try calling it instead as: ``` (new \AAA)->aaa()->bbb()->ccc(); ```

@dbwhddn10 did my suggestion help?

No response for a very long time, so closing this issue. Please open a new one, with a detailed explanation of your issue if this is still something you have...

@bvitaz-ck could you please provide a bit more information/context for your problem? Thanks!

And what version of Mockery are you using?

With what version of Mockery does this happen to you? Thanks!

Throwing exceptions on final methods was in, then it was removed, probably due to a good reason. Maaaaybe, just maybe, we could add back throwing exceptions on a final method,...

Actually, the more I think about this, the more I think it should stay as is, we just need to make the documentation more clear that final methods are being...

@chappy84 when using `alias` or `overload`, the class that gets aliased or overloaded, must not be loaded by PHP at the time when Mockery does it's thing. So I'm guessing...

@chappy84 yes, but having the interface in the same file as the `$mock = Mockery::mock('alias:TestClass', 'TestInterface');` line, means that the `TestInterface` is already loaded, and Mockery can't alias/overload it.