Page MenuHomePhabricator

Fix PHP version check for function calls with static/variable functions
ClosedPublic

Authored by epriestley on Sep 10 2014, 8:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
May 9 2025, 8:08 AM
Unknown Object (File)
May 9 2025, 8:08 AM
Unknown Object (File)
May 9 2025, 8:07 AM
Unknown Object (File)
May 8 2025, 8:52 AM
Unknown Object (File)
May 7 2025, 3:12 PM
Unknown Object (File)
May 7 2025, 10:40 AM
Unknown Object (File)
May 6 2025, 8:51 AM
Unknown Object (File)
Apr 25 2025, 10:16 PM
Subscribers

Details

Summary

D10132 improved this check by eliminating some false postives, but assumes an n_FUNCTION_CALL always starts with n_SYMBOL_NAME. This is true for f(), but not true for C::m() or $v().

Test Plan

Added and ran unit tests.

Diff Detail

Repository
rARC Arcanist
Branch
fcall
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 2496
Build 2500: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

epriestley retitled this revision from to Fix PHP version check for function calls with static/variable functions.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: btrahan, joshuaspence.
This revision is now accepted and ready to land.Sep 10 2014, 8:53 PM
epriestley updated this revision to Diff 25171.

Closed by commit rARCe043d22afd26 (authored by @epriestley).