Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#818 Fix passing-by-reference detection #822

Merged
merged 2 commits into from Feb 1, 2021

Conversation

kylekatarnls
Copy link
Member

@kylekatarnls kylekatarnls commented Sep 4, 2020

Type: bugfix
Related to: #816 #818
Breaking change: no

Observed: Calling ->preg_match() detect a passing by reference due to preg_match name matching.

Expected: Until we can properly extract available methods on an object/class, we should consider by default that there is no passing by reference (for methods: e.g. calles prefixed by -> or ::).

@kylekatarnls kylekatarnls added this to the 2.10.0 milestone Sep 4, 2020
@kylekatarnls kylekatarnls requested review from ravage84 and tvbeek and removed request for ravage84 September 4, 2020 15:17
src/test/php/PHPMD/AbstractTest.php Outdated Show resolved Hide resolved
@kylekatarnls kylekatarnls merged commit 53eb6f7 into master Feb 1, 2021
@kylekatarnls kylekatarnls deleted the feature/issue-818-unit-tests branch February 1, 2021 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

2 participants