Strip out all return types, find any other incompatibilities in methods.
Requires php-parser-to-php-ast extension to be completed
This helps make it easier to try out phan on old projects with syntax incompatible with php 7, as well as for projects with extensions which don't have php 7 ports (reflection info isn't as useful)
This is a work in progress on the php5 branch. The null coalescing operator replacement needs to be replaced with something correct, and Issue::fromType(Type)(args) is invalid in php5, so that had to be patched
Strip out all return types, find any other incompatibilities in methods.
Requires php-parser-to-php-ast extension to be completed
This helps make it easier to try out phan on old projects with syntax incompatible with php 7, as well as for projects with extensions which don't have php 7 ports (reflection info isn't as useful)