Fixes T6847. These symbols should always be classes, as interfaces cannot have methods defined.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Maniphest Tasks
- T6847: `phutil_symbols.php` does not correctly handle static method calls
- Commits
- rPHU20446fc6b6ac: Correctly label symbols in `n_CLASS_STATIC_ACCESS`
test.php
<?php Foo::bar();
> ./scripts/phutil_symbols.php test.php { "have": [], "need": { "class": { "Foo": 7 } }, "xmap": [] }
(We should really have some test cases defined for this file)
Diff Detail
Diff Detail
- Repository
- rPHU libphutil
- Lint
Lint Not Applicable - Unit
Tests Not Applicable