Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .phan/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,14 @@
// A list of plugin files to execute
'plugins' => [
// NOTE: src/Phan/Language/Internal/FunctionSignatureMap.php mixes value without key as return type with values having keys deliberately.
'vendor/phan/phan/.phan/plugins/AlwaysReturnPlugin.php', // (TODO: make BlockExitStatus more reliable)
'vendor/phan/phan/.phan/plugins/DollarDollarPlugin.php',
'vendor/phan/phan/.phan/plugins/DuplicateArrayKeyPlugin.php',
'vendor/phan/phan/.phan/plugins/UnreachableCodePlugin.php', // (TODO: make BlockExitStatus more reliable)
'AlwaysReturnPlugin',
'DemoPlugin',
'DollarDollarPlugin',
'UnreachableCodePlugin',
// NOTE: src/Phan/Language/Internal/FunctionSignatureMap.php mixes value without keys (as return type) with values having keys deliberately.
'DuplicateArrayKeyPlugin',
'PregRegexCheckerPlugin',
'PrintfCheckerPlugin',
// NOTE: This plugin only produces correct results when
// Phan is run on a single core (-j1).
// 'vendor/phan/phan/.phan/plugins/UnusedSuppressionPlugin.php',
Expand Down
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,19 @@
"keywords": ["php", "ast", "parser"],
"type": "library",
"license": "MIT",
"minimum-stability": "dev",
"prefer-stable": true,
"authors": [
{
"name": "Tyson Andre"
}
],
"require": {
"php": ">=7.1",
"nikic/PHP-Parser": "~3.1.1"
"nikic/PHP-Parser": "~4.0.0"
},
"require-dev": {
"phpunit/phpunit": "^5.7",
"phan/phan": "~0.10.0"
"phpunit/phpunit": "^5.7"
},
"suggest": {
"ext-ast": "~0.1.5"
Expand Down
Loading