dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mediawiki.language: Rename languageData back to languageNames
[lhc/web/wiklou.git]
/
.phan
/
config.php
diff --git
a/.phan/config.php
b/.phan/config.php
index
fc775fe
..
0fdefe0
100644
(file)
--- a/
.phan/config.php
+++ b/
.phan/config.php
@@
-101,11
+101,6
@@
$cfg['suppress_issue_types'] = array_merge( $cfg['suppress_issue_types'], [
//after dropping HHVM
// approximate error count: 110
"PhanParamTooMany", // False positives with variargs. Unsuppress after dropping HHVM
//after dropping HHVM
// approximate error count: 110
"PhanParamTooMany", // False positives with variargs. Unsuppress after dropping HHVM
-
- // approximate error count: 45
- "PhanTypeMismatchArgument",
- // approximate error count: 693
- "PhanUndeclaredProperty",
] );
// This helps a lot in discovering bad code, but unfortunately it will always fail for
] );
// This helps a lot in discovering bad code, but unfortunately it will always fail for
@@
-113,6
+108,10
@@
$cfg['suppress_issue_types'] = array_merge( $cfg['suppress_issue_types'], [
// @todo Enable when the issue above is resolved and we update our config!
$cfg['redundant_condition_detection'] = false;
// @todo Enable when the issue above is resolved and we update our config!
$cfg['redundant_condition_detection'] = false;
+// Do not use aliases in core.
+// Use the correct name, because we don't need backward compatibility
+$cfg['enable_class_alias_support'] = false;
+
$cfg['ignore_undeclared_variables_in_global_scope'] = true;
// @todo It'd be great if we could just make phan read these from DefaultSettings, to avoid
// duplicating the types.
$cfg['ignore_undeclared_variables_in_global_scope'] = true;
// @todo It'd be great if we could just make phan read these from DefaultSettings, to avoid
// duplicating the types.