We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84b368c commit d6a2cf2Copy full SHA for d6a2cf2
.phan/config.php
@@ -1,12 +1,17 @@
1
<?php
2
3
-return [
4
- "target_php_version" => null,
+$config = [
+ 'target_php_version' => null,
5
'directory_list' => [
6
'src',
7
- 'vendor/psr',
8
- ],
9
- "exclude_analysis_directory_list" => [
10
- 'vendor/'
11
],
+ 'exclude_analysis_directory_list' => [],
12
];
+
+// workaround for phan on codeclimate
+if (file_exists(dirname(__DIR__) . '/vendor/psr')) {
13
+ $config['directory_list'] [] = 'vendor/psr';
14
+ $config['exclude_analysis_directory_list'] [] = 'vendor/';
15
+}
16
17
+return $config;
0 commit comments