NewDirectCallsToClone: bug fix - exclude class internal calls by jrfnl · Pull Request #910 · PHPCompatibility/PHPCompatibility
Direct calls to `__clone()` from within a class using `self`, `static` or `parent` were always allowed. Ref: https://3v4l.org/BmmPT
jrfnl
mentioned this pull request
wimg approved these changes Oct 2, 2019
wimg
deleted the
feature/directcalltoclone-bugfix
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters