imanghafoori1 / laravel-microscope

Fearless refactoring, it does a lot of smart checks to find certain errors.
MIT License
1.48k stars 96 forks source link

Test for isStaticCall method in the FunctionCall #212

Closed abolfazl-rasoli closed 2 years ago

imanghafoori1 commented 2 years ago

please also describe why this test is needed here.

abolfazl-rasoli commented 2 years ago

of course 🙏

The number of times a particular method (_3) is called by a particular class (Foo) inside some_function.sub is tested.

It is done by the isStaticCall method.