Feature Request: Find usage of __toString()
Currently PHPStorm will not find instances where class objects are used as a string, i.e. `echo $this;` or `$foo = new Foo(); echo $foo;`.
I suggest an inspection on __toString() which would find instances where a class object is used as (cast to) a string.
Please sign in to leave a comment.
Feel free to submit this as a feature request at our tracker
Thank you, posted here:
https://youtrack.jetbrains.com/issue/WI-36580