Skip to content
This repository has been archived by the owner on Feb 27, 2020. It is now read-only.

Remove false positives for deprecated functions #21

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Niteshvgupta
Copy link

not_mysql_affected_rows() or namespace_mysql_affected_rows() should not be considered a match, as they are different functions.

`not_mysql_affected_rows()` or `namespace_mysql_affected_rows()` should not be considered a match, as they are different functions.
Fixed the regex and tested using testcases.php to verify that matches still work and false matches do not.
Added testcase for false positive
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant