phanの設定について
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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