Skip to content

Instantly share code, notes, and snippets.

@o0h
Last active August 22, 2018 22:51
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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