Skip to content

Commit

Permalink
Try to exclude phan
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Nov 13, 2024
1 parent 4415246 commit 714dc0c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dev/tools/phan/baseline_extended.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ return [
'htdocs/accountancy/admin/productaccount.php' => ['PhanTypeMismatchArgumentNullableInternal'], // false positive
'internal' => ['PhanUndeclaredConstant'],
],
// 'directory_suppressions' => ['src/directory_name' => ['PhanIssueName1', 'PhanIssueName2']] can be manually added if needed.
'directory_suppressions' => [
'htdocs/admin/tools' => ['PhanPluginUnknownArrayPropertyType', 'PhanTypeArraySuspiciousNull', 'PhanPluginUnknownArrayMethodParamType', 'PhanTypeSuspiciousEcho']

This comment has been minimized.

Copy link
@mdeweerd

mdeweerd Nov 13, 2024

Contributor

@eldy I can't see anything that is failing for phan at this moment in this directory in cti and neither locally when running phan.

]
// (directory_suppressions will currently be ignored by subsequent calls to --save-baseline, but may be preserved in future Phan releases)
];

0 comments on commit 714dc0c

Please sign in to comment.