File: //usr/bin/phan_config.php
<?php
/*
Pfan Config voor het checken van php 7.0 compatibiliteit
https://github.com/phan/phan/wiki
Geplaatst door LinQhost
*/
return [
'backward_compatibility_checks' => true,
'ignore_undeclared_functions_with_known_signatures' => false,
'whitelist_issue_types' => [
'PhanCompatiblePHP7', // This only checks for **syntax** where the parsing may have changed. This check is enabled by `backward_compatibility_checks`
'PhanDeprecatedFunctionInternal', // Warns about a small number of functions deprecated in 7.0 and later.
'PhanUndeclaredFunction', // Check for removed functions such as split() that were deprecated in php 5.x and removed in php 7.0.
],
];