Instantly share code, notes, and snippets.

@o0h /config.php
Last active Aug 22, 2018

Embed
What would you like to do?
phanの設定について
<?php
return [
'file_list' => [
'config/functions.php',
],
'directory_list' => [
'src',
'vendor',
'.phan/stubs'
],
'exclude_analysis_directory_list' => [
'vendor',
'src/Console',
'.phan/stubs',
],
'allow_missing_properties' => true,
'null_casts_as_any_type' => true,
'backward_compatibility_checks' => false, // 後方互換性はチェックしない
'quick_mode' => true, // 対象の関数の中の関数を再帰的に検査しない
'minimum_severity' => Phan\Issue::SEVERITY_NORMAL,
'parent_constructor_required' => [
],
'suppress_issue_types' => [
'PhanNonClassMethodCall',
],
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment