Support basic usage of class_alias by ebernhardson · Pull Request #586 · phan/phan
This supports the most basic form of class_alias, which probably covers most use cases. It adds aliases for class_alias used in the global scope with constant string arguments or the class referenced via the ::class constant. Fixes phan#521
TysonAndre added a commit to TysonAndre/phan that referenced this pull request
Jun 18, 2017This PR is based off of phan#586 - Account for daemon mode (Not fully tested with the config setting on yet) - Parse class_alias original and alias FQSENs in one phase, and create the entries in another phase (Keeps the number of times each file is parsed the same as before) - Follow variable naming conventions - Tests continue to pass.
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