File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 2424 * of the phan executable or a path passed in via the CLI
2525 * '-d' flag.
2626 */
27- return [
27+ $ config = [
2828
2929 // If true, missing properties will be created when
3030 // they are first seen. If false, we'll report an
232232 'DuplicateArrayKeyPlugin ' ,
233233 'PregRegexCheckerPlugin ' ,
234234 'PrintfCheckerPlugin ' ,
235- // NOTE: src/Phan/Language/Internal/FunctionSignatureMap.php mixes value without key as return type with values having keys deliberately.
236- // '.phan/plugins/DuplicateArrayKeyPlugin.php',
237-
238- // NOTE: This plugin only produces correct results when
239- // Phan is run on a single core (-j1).
240- // '.phan/plugins/UnusedSuppressionPlugin.php',
241235 ],
242236
243237];
238+ $ unusedVariablePlugin = __DIR__ . '/../../PhanUnusedVariable/src/UnusedVariablePlugin.php ' ;
239+ //if (file_exists($unusedVariablePlugin)) {
240+ $ config ['plugins ' ][] = $ unusedVariablePlugin ;
241+ //}
242+ return $ config ;
You can’t perform that action at this time.
0 commit comments