mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-16 20:45:33 -08:00
Add the Dead Code skill with hash-matched keep rows and one tool per language
AI Assisted
This commit is contained in:
1 parent
7891c06642
commit
a584c45dfd
43 files changed
+3398
-49
No files matched your search
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"version": "2.1.0",
|
||||
"runs": [
|
||||
{
|
||||
"tool": { "driver": { "name": "Psalm", "version": "7.2.0" } },
|
||||
"results": [
|
||||
{
|
||||
"ruleId": "PossiblyUnusedMethod",
|
||||
"message": { "text": "Cannot find any calls to method App\\Mailer::sendLater" },
|
||||
"locations": [{ "physicalLocation": { "artifactLocation": { "uri": "file:///ROOT/src/Mailer.php" }, "region": { "startLine": 18 } } }]
|
||||
},
|
||||
{
|
||||
"ruleId": "UnusedClass",
|
||||
"message": { "text": "Class `App\\Legacy` is never used" },
|
||||
"locations": [{ "physicalLocation": { "artifactLocation": { "uri": "src/Legacy.php" }, "region": { "startLine": 5 } } }]
|
||||
},
|
||||
{
|
||||
"ruleId": "UnreachableCode",
|
||||
"message": { "text": "Unreachable code" },
|
||||
"locations": [{ "physicalLocation": { "artifactLocation": { "uri": "src/Flow.php" }, "region": { "startLine": 30 } } }]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user