I was finally able to configure phan to analyze the PHP files I touched. But I ran into some problems which I can simplify in two questions:
It tooks a lot of memory to run, more memory than any other process on my machine. Is there any way to reduce this memory usage?
If I finally get the result after exhausting my machine, the result is also hard to understand. It returns multitude of irrelevant “errors” and “warnings” from files which I did not touch (and have no intention of touching!). When I decide to just send it for CI check and see the errors there, the result of check by Jenkins actually shows only the specific problem without all those irrelevant errors and warnings that I got locally.
So my question here is how to configure it to return ONLY relevant error, the same error that would be returned If I decide to pass the work to Jenkins. Thanks.