Phan depends on PHP 7.x with the php-ast extension (0.1.5 or newer, uses AST version 50).
php --modules | grep 'ast';
https://github.com/phan/phan/wiki/Getting-Started-With-Homebrew
`composer require --dev phan/phan`
return [
'target_php_version' => '7.2',
'directory_list' => [ 'src/' ],
"exclude_analysis_directory_list" => [ 'vendor/' ],
];./vendor/bin/phan
https://github.com/phan/phan#features http://talks.php.net/etsy18#/phan1