Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 43 additions & 7 deletions build/.phan/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,24 @@
// Thus, both first-party and third-party code being used by
// your application should be included in this list.
'directory_list' => [
'build/.phan/stubs',
'3rdparty',
'lib/composer',
'themes',
'lib/',
'apps/',
'build/.phan/stubs',
'core/',
'ocs/',
'lib/',
'lib/composer',
'ocs-provider/',
'ocs/',
'settings/',
'tests/lib/Util/User',
'themes',
],
'file_list' => [
'index.php',
'public.php',
'remote.php',
'status.php',
'version.php',
],

// A directory list that defines files that will be excluded
Expand All @@ -40,9 +47,8 @@
// party code, directories containing that code
// should be added to the `directory_list` as
// to `exclude_analysis_directory_list`.
"exclude_analysis_directory_list" => [
'exclude_analysis_directory_list' => [
'3rdparty',
'lib/composer',
'apps/admin_audit/composer',
'apps/admin_audit/tests',
'apps/comments/composer',
Expand Down Expand Up @@ -88,8 +94,38 @@
'apps/user_ldap/tests',
'apps/workflowengine/composer',
'apps/workflowengine/tests',
'build/.phan/',
'lib/composer',
],

// A file list that defines files that will be excluded
// from parsing and analysis and will not be read at all.
//
// This is useful for excluding hopelessly unanalyzable
// files that can't be removed for whatever reason.
'exclude_file_list' => [
'apps/encryption/appinfo/routes.php',
'apps/federation/appinfo/routes.php',
'apps/files/appinfo/routes.php',
'apps/files_external/appinfo/routes.php',
'apps/files_trashbin/appinfo/routes.php',
'apps/files_versions/appinfo/routes.php',
'apps/testing/appinfo/routes.php',
'apps/user_ldap/appinfo/routes.php',
'settings/routes.php',
'settings/ajax/updateapp.php',
'settings/ajax/uninstallapp.php',
'settings/ajax/togglesubadmins.php',
'settings/ajax/setquota.php',
'settings/ajax/enableapp.php',
'settings/ajax/disableapp.php',
'core/register_command.php',
'ocs/routes.php',
'ocs/v1.php',
'core/routes.php',
],


// The number of processes to fork off during the analysis
// phase.
'processes' => 10,
Expand Down