Skip to content

Commit f2b5043

Browse files
committed
build: Exclude analysis directories vendor/, .phan/, and tests/
Change-Id: If3d2ecd67384cf0c4516731df75989b23ae8d2eb
1 parent 7b972a0 commit f2b5043

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.phan/config.php

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,10 @@
1919
$cfg['strict_object_checking'] = true;
2020
$cfg['strict_property_checking'] = true;
2121

22-
$cfg['suppress_issue_types'] = [
23-
'PhanUndeclaredMethod',
24-
'PhanParamTooFewUnpack',
25-
'SecurityCheck-LikelyFalsePositive',
26-
'PhanNoopNew',
27-
'PhanTypeMismatchArgument',
28-
'PhanTypeMismatchArgumentProbablyReal',
22+
$cfg['exclude_analysis_directory_list'] = [
23+
'vendor/',
24+
'.phan/',
25+
'tests/',
2926
];
3027

3128
return $cfg;

0 commit comments

Comments
 (0)