Skip to content

Instantly share code, notes, and snippets.

@o0h
Last active August 22, 2018 22:51
Show Gist options
  • Save o0h/48506d1079bf228b4737e78036e2b701 to your computer and use it in GitHub Desktop.
Save o0h/48506d1079bf228b4737e78036e2b701 to your computer and use it in GitHub Desktop.
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