Testing: Difference between revisions
→Links: link to CLI help |
reference usage |
||
| Line 38: | Line 38: | ||
$cfg['suppress_issue_types'][] = 'PhanUndeclaredConstant'; | $cfg['suppress_issue_types'][] = 'PhanUndeclaredConstant'; | ||
return $cfg; | return $cfg; | ||
</syntaxhighlight>the more traditional form of that is<syntaxhighlight lang="php"> | </syntaxhighlight>the more traditional form of that<ref>https://codesearch.wmcloud.org/things/?q=exclude_analysis_directory_list&files=.phan%2Fconfig.php&excludeFiles=&repos=</ref> is<syntaxhighlight lang="php"> | ||
$cfg = require __DIR__ . '/../vendor/mediawiki/mediawiki-phan-config/src/config.php'; | $cfg = require __DIR__ . '/../vendor/mediawiki/mediawiki-phan-config/src/config.php'; | ||