NewDirectCallsToClone: bug fix - exclude class internal calls by jrfnl · Pull Request #910 · PHPCompatibility/PHPCompatibility

@jrfnl

Direct calls to `__clone()` from within a class using `self`, `static` or `parent` were always allowed.

Ref: https://3v4l.org/BmmPT

@jrfnl jrfnl mentioned this pull request

Sep 18, 2019

wimg

wimg approved these changes Oct 2, 2019

@wimg wimg deleted the feature/directcalltoclone-bugfix branch

October 2, 2019 18:34