Adjust phan script to run sub-projects
authorErik Bernhardson <ebernhardson@wikimedia.org>
Sat, 17 Dec 2016 01:16:04 +0000 (17:16 -0800)
committerErik Bernhardson <ebernhardson@wikimedia.org>
Sat, 17 Dec 2016 01:16:04 +0000 (17:16 -0800)
commit85228fd1785ce64faf7420945712f550d1faf8e1
tree9af2cd9f7367f5275fc2f6a818acdd4a2462635f
parent9cd9f2f0dd01c31c744bbc4e6600d0d66e109caf
Adjust phan script to run sub-projects

Rather than duplicating the phan and postprocess-phan.php scripts
into extensions, this allows passing the path to the extension
(or skin, or whichever) to the phan script and it will run the analysis
for that project.

Individual projects will need a tests/phan/config.php file that defines
how the analysis will run in their project.

Bug: T153040
Change-Id: I58ad44f6a8769088e87d5d6cf1079e633c082f88
tests/phan/bin/phan