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
Add some @since tags to ParserOutput::SUPPORTS_ constants
[lhc/web/wiklou.git]
/
.phan
/
config.php
diff --git
a/.phan/config.php
b/.phan/config.php
index
8b9aae7
..
8746ada
100644
(file)
--- a/
.phan/config.php
+++ b/
.phan/config.php
@@
-32,7
+32,6
@@
$cfg['file_list'] = array_merge(
class_exists( PHPUnit_TextUI_Command::class ) ? [] : [ '.phan/stubs/phpunit4.php' ],
class_exists( ProfilerExcimer::class ) ? [] : [ '.phan/stubs/excimer.php' ],
[
class_exists( PHPUnit_TextUI_Command::class ) ? [] : [ '.phan/stubs/phpunit4.php' ],
class_exists( ProfilerExcimer::class ) ? [] : [ '.phan/stubs/excimer.php' ],
[
- 'maintenance/7zip.inc',
'maintenance/cleanupTable.inc',
'maintenance/CodeCleanerGlobalsPass.inc',
'maintenance/commandLine.inc',
'maintenance/cleanupTable.inc',
'maintenance/CodeCleanerGlobalsPass.inc',
'maintenance/commandLine.inc',
@@
-44,8
+43,12
@@
$cfg['file_list'] = array_merge(
);
$cfg['autoload_internal_extension_signatures'] = [
);
$cfg['autoload_internal_extension_signatures'] = [
+ 'imagick' => '.phan/internal_stubs/imagick.phan_php',
'memcached' => '.phan/internal_stubs/memcached.phan_php',
'oci8' => '.phan/internal_stubs/oci8.phan_php',
'memcached' => '.phan/internal_stubs/memcached.phan_php',
'oci8' => '.phan/internal_stubs/oci8.phan_php',
+ 'pcntl' => '.phan/internal_stubs/pcntl.phan_php',
+ 'redis' => '.phan/internal_stubs/redis.phan_php',
+ 'sockets' => '.phan/internal_stubs/sockets.phan_php',
'sqlsrv' => '.phan/internal_stubs/sqlsrv.phan_php',
'tideways' => '.phan/internal_stubs/tideways.phan_php',
];
'sqlsrv' => '.phan/internal_stubs/sqlsrv.phan_php',
'tideways' => '.phan/internal_stubs/tideways.phan_php',
];
@@
-77,7
+80,7
@@
$cfg['suppress_issue_types'] = array_merge( $cfg['suppress_issue_types'], [
"PhanAccessMethodInternal",
// approximate error count: 17
"PhanCommentParamOnEmptyParamList",
"PhanAccessMethodInternal",
// approximate error count: 17
"PhanCommentParamOnEmptyParamList",
- // approximate error count:
30
+ // approximate error count:
29
"PhanCommentParamWithoutRealParam",
// approximate error count: 2
"PhanCompatibleNegativeStringOffset",
"PhanCommentParamWithoutRealParam",
// approximate error count: 2
"PhanCompatibleNegativeStringOffset",
@@
-90,46
+93,32
@@
$cfg['suppress_issue_types'] = array_merge( $cfg['suppress_issue_types'], [
// approximate error count: 127
"PhanParamTooMany",
// approximate error count: 2
// approximate error count: 127
"PhanParamTooMany",
// approximate error count: 2
- "PhanPluginDuplicateExpressionBinaryOp",
- // approximate error count: 2
"PhanTraitParentReference",
"PhanTraitParentReference",
- // approximate error count:
26
+ // approximate error count:
30
"PhanTypeArraySuspicious",
"PhanTypeArraySuspicious",
- // approximate error count:
33
+ // approximate error count:
27
"PhanTypeArraySuspiciousNullable",
// approximate error count: 26
"PhanTypeComparisonFromArray",
"PhanTypeArraySuspiciousNullable",
// approximate error count: 26
"PhanTypeComparisonFromArray",
- // approximate error count: 2
- "PhanTypeComparisonToArray",
- // approximate error count: 2
- "PhanTypeExpectedObjectOrClassName",
- // approximate error count: 7
- "PhanTypeExpectedObjectPropAccess",
- // approximate error count: 62
+ // approximate error count: 63
"PhanTypeInvalidDimOffset",
"PhanTypeInvalidDimOffset",
- // approximate error count: 10
- "PhanTypeInvalidExpressionArrayDestructuring",
// approximate error count: 7
"PhanTypeInvalidLeftOperandOfIntegerOp",
// approximate error count: 2
// approximate error count: 7
"PhanTypeInvalidLeftOperandOfIntegerOp",
// approximate error count: 2
- "PhanTypeInvalidRightOperand",
- // approximate error count: 2
"PhanTypeInvalidRightOperandOfIntegerOp",
"PhanTypeInvalidRightOperandOfIntegerOp",
- // approximate error count: 15
2
+ // approximate error count: 15
4
"PhanTypeMismatchArgument",
// approximate error count: 27
"PhanTypeMismatchArgumentInternal",
"PhanTypeMismatchArgument",
// approximate error count: 27
"PhanTypeMismatchArgumentInternal",
- // approximate error count: 1
- "PhanTypeMismatchBitwiseBinaryOperands",
// approximate error count: 2
"PhanTypeMismatchDimEmpty",
// approximate error count: 2
"PhanTypeMismatchDimEmpty",
- // approximate error count: 2
9
+ // approximate error count: 2
7
"PhanTypeMismatchDimFetch",
// approximate error count: 10
"PhanTypeMismatchForeach",
"PhanTypeMismatchDimFetch",
// approximate error count: 10
"PhanTypeMismatchForeach",
- // approximate error count: 7
8
+ // approximate error count: 7
7
"PhanTypeMismatchProperty",
"PhanTypeMismatchProperty",
- // approximate error count: 8
5
+ // approximate error count: 8
4
"PhanTypeMismatchReturn",
// approximate error count: 12
"PhanTypeObjectUnsetDeclaredProperty",
"PhanTypeMismatchReturn",
// approximate error count: 12
"PhanTypeObjectUnsetDeclaredProperty",
@@
-141,18
+130,14
@@
$cfg['suppress_issue_types'] = array_merge( $cfg['suppress_issue_types'], [
"PhanUndeclaredConstant",
// approximate error count: 3
"PhanUndeclaredInvokeInCallable",
"PhanUndeclaredConstant",
// approximate error count: 3
"PhanUndeclaredInvokeInCallable",
- // approximate error count: 23
9
+ // approximate error count: 23
7
"PhanUndeclaredMethod",
"PhanUndeclaredMethod",
- // approximate error count: 84
7
+ // approximate error count: 84
6
"PhanUndeclaredProperty",
// approximate error count: 2
"PhanUndeclaredVariableAssignOp",
// approximate error count: 55
"PhanUndeclaredVariableDim",
"PhanUndeclaredProperty",
// approximate error count: 2
"PhanUndeclaredVariableAssignOp",
// approximate error count: 55
"PhanUndeclaredVariableDim",
- // approximate error count: 3
- "PhanUnextractableAnnotationElementName",
- // approximate error count: 4
- "PhanUnextractableAnnotationSuffix",
] );
$cfg['ignore_undeclared_variables_in_global_scope'] = true;
] );
$cfg['ignore_undeclared_variables_in_global_scope'] = true;