{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"AbstractConfigCommand.getOptions (cyclomatic 42): AbstractConfigCommand.getOptions has cyclomatic complexity 42 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/Config/AbstractConfigCommand.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7abbd543fb4f3600dbac088eea969a8a7b9ebbce74bd8a718d5b6afd9ddc94e"}},{"ruleId":"D1","level":"warning","message":{"text":"SudoVisitor.enterNode (cyclomatic 39): SudoVisitor.enterNode has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sudo/SudoVisitor.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd12bb322b70ff0ef3b139d92da867ccdc61f296ce5b5337b4b26fabfba3994a"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeResolver.cleanIncompleteExpression (cyclomatic 38): TypeResolver.cleanIncompleteExpression has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Completion/TypeResolver.php"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec1accd83855d7bd1174758da47b16222e8c3a09332e602a495d99fa3358bfe"}},{"ruleId":"D1","level":"warning","message":{"text":"DumperBase.doDumpString (cyclomatic 36): DumperBase.doDumpString has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VarDumper/DumperBase.php"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7a0314c5dd100e7e22643896534647f05d23bc842df58a2585539e7ff8b5b4"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeResolver.resolveExpressionTypes (cyclomatic 32): TypeResolver.resolveExpressionTypes has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Completion/TypeResolver.php"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"64804f0b2b903585ccec68b26bec7807353a06fa8370b0589df39c08e4e991e8"}},{"ruleId":"D1","level":"warning","message":{"text":"Configuration.getVerbosityFromInput (cyclomatic 30): Configuration.getVerbosityFromInput has cyclomatic complexity 30 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Configuration.php"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c04188af15214bf62d1773db13352f28c122591dc8a8a9f75392e979f96565"}},{"ruleId":"D1","level":"warning","message":{"text":"Configuration.loadLocalConfigWithPrompt (cyclomatic 29): Configuration.loadLocalConfigWithPrompt has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Configuration.php"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ebd2a51b3a31a20b51f0ad53c409f443bd3fbcfef7572fdbb4db054209a243"}},{"ruleId":"D1","level":"warning","message":{"text":"UopzReloaderVisitor.enterNode (cyclomatic 28): UopzReloaderVisitor.enterNode has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ExecutionLoop/UopzReloaderVisitor.php"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbfe937ef4de211dff076b6347f423ebf0d308fcc6f1371cca14af69592ba2a"}},{"ruleId":"D1","level":"warning","message":{"text":"Readline.readline (cyclomatic 25): Readline.readline has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Readline.php"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f82624654810deabb59adaa65217df44173e95222c8222c13c777f086af0fb4"}},{"ruleId":"D1","level":"warning","message":{"text":"UopzReloaderVisitor.hasStaticVariables (cyclomatic 24): UopzReloaderVisitor.hasStaticVariables has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ExecutionLoop/UopzReloaderVisitor.php"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"7380bf109810a384629d11fa92072984416c4595d31eaab6276c29f9d1e641e7"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeFormatter.findClassNameTokenIndexes (cyclomatic 23): CodeFormatter.findClassNameTokenIndexes has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Formatter/CodeFormatter.php"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"6226a5351603988afb975f8450340156bd8a03058fcd072299ea1c77a1ac1bd8"}},{"ruleId":"D1","level":"warning","message":{"text":"UopzReloaderVisitor.checkClassLimitations (cyclomatic 22): UopzReloaderVisitor.checkClassLimitations has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ExecutionLoop/UopzReloaderVisitor.php"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8529d7f8920307f57dbcad9be5ab8a1ecbc37f3fce57b2456b83a7d331d278"}},{"ruleId":"D1","level":"warning","message":{"text":"TabAction.handleKey (cyclomatic 22): TabAction.handleKey has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Actions/TabAction.php"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"717ceff0584c176fedbb094b770729f728024e9825336fa67b4b99a7445072cd"}},{"ruleId":"D1","level":"warning","message":{"text":"IndentationPolicy.isEndOfLineInStringOrComment (cyclomatic 22): IndentationPolicy.isEndOfLineInStringOrComment has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Input/IndentationPolicy.php"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1880679e135e569dced8d6bb0240142d3f74fa811b3556ab5007a16d1e236c"}},{"ruleId":"D1","level":"warning","message":{"text":"ProcessForker.beforeRun (cyclomatic 21): ProcessForker.beforeRun has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ExecutionLoop/ProcessForker.php"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c4eb343dcc6e5db21edeb88a806c15ac4249d006e232769a04f205b02ede5b"}},{"ruleId":"D1","level":"warning","message":{"text":"Shell.applyRuntimeConfigChange (cyclomatic 21): Shell.applyRuntimeConfigChange has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Shell.php"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6515f4d12d34761c0b20640bbee6b278ea29354742e0d550470b6d849545dd0"}},{"ruleId":"D1","level":"warning","message":{"text":"DocCommand.getParentReflectors (cyclomatic 20): DocCommand.getParentReflectors has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/DocCommand.php"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c4c2022e59cc1c88023b25f15e402866c140b2283db30010ea2cf1e5c0bf9b"}},{"ruleId":"D1","level":"warning","message":{"text":"ReflectingCommand.setCommandScopeVariables (cyclomatic 20): ReflectingCommand.setCommandScopeVariables has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/ReflectingCommand.php"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"179f89d2e72fb19d46ee3ce2171fac2909ce748c171954d39f4e839baadd3342"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextAnalyzer.analyzeNode (cyclomatic 20): ContextAnalyzer.analyzeNode has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Completion/ContextAnalyzer.php"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ad417dce8d9b0d63dfedb231db6320457d79e64cf944badd5f980af3333876"}},{"ruleId":"D1","level":"warning","message":{"text":"PartialInputRefiner.findExpressionStartIndex (cyclomatic 20): PartialInputRefiner.findExpressionStartIndex has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Completion/Refiner/PartialInputRefiner.php"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db2ddc9126f508ab2631d1a2267c063103045e200114b41a1685423e2705393"}},{"ruleId":"D1","level":"warning","message":{"text":"HistorySearch.handleKey (cyclomatic 20): HistorySearch.handleKey has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/HistorySearch.php"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f908e122e301970e31a430e05dab321aa6fabe541274ee68305d3ba53e92fb"}},{"ruleId":"D1","level":"warning","message":{"text":"ConstantEnumerator.listItems (cyclomatic 19): ConstantEnumerator.listItems has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/ListCommand/ConstantEnumerator.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0896401f95d392a2c6ccef97eb81f2ae7277598cadcb5491ef62c6e5d38b0656"}},{"ruleId":"D1","level":"warning","message":{"text":"TabAction.insertMatch (cyclomatic 19): TabAction.insertMatch has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Actions/TabAction.php"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"28110d4014657f641a00079e48d0280534817192bbc5abc4418ed41fbfdc274a"}},{"ruleId":"D1","level":"warning","message":{"text":"ComposerAutoloadWarmer.getAutoloadClassMap (cyclomatic 19): ComposerAutoloadWarmer.getAutoloadClassMap has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TabCompletion/AutoloadWarmer/ComposerAutoloadWarmer.php"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"117dd24824b582a720b2ccb6bf664cfce90fc522b71846382b5ed7cb1815fd85"}},{"ruleId":"D1","level":"warning","message":{"text":"LoopContextPass.enterNode (cyclomatic 18): LoopContextPass.enterNode has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CodeCleaner/LoopContextPass.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"98967d5cb778d7671522a178552480988a73671d7823ff655015d9b91fc0a7ba"}},{"ruleId":"D1","level":"warning","message":{"text":"UopzReloaderVisitor.checkForSideEffects (cyclomatic 18): UopzReloaderVisitor.checkForSideEffects has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ExecutionLoop/UopzReloaderVisitor.php"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aea552c6b9bd01a7578ea564dfd8ba413ec09138a439703510325ff76a55076"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeFormatter.findArrayKeyTokenIndexes (cyclomatic 18): CodeFormatter.findArrayKeyTokenIndexes has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Formatter/CodeFormatter.php"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6020f97cc8b63a7199e1527a7ec8c2bd71d894a6cd3c5ca4497776235ef5e6d"}},{"ruleId":"D1","level":"warning","message":{"text":"TraceFormatter.formatTrace (cyclomatic 18): TraceFormatter.formatTrace has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Formatter/TraceFormatter.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd1b40cfe49da8457ca7ca7a1c5275c5b59ee9f09b608ac6168f4e2d7270a35"}},{"ruleId":"D1","level":"warning","message":{"text":"Shell.getMessageLabel (cyclomatic 18): Shell.getMessageLabel has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Shell.php"},"region":{"startLine":2400}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb072e43ac30380b5979cce554480122953367e23355273f2c44f2ce0a674d9f"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionReturnInWriteContextPass.enterNode (cyclomatic 17): FunctionReturnInWriteContextPass.enterNode has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CodeCleaner/FunctionReturnInWriteContextPass.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e17fa0d3f9314c50ffba2af74f9dcc5fec25f2465b72e6cdc0ce2c5b0784ae"}},{"ruleId":"D1","level":"warning","message":{"text":"ImplicitReturnPass.addImplicitReturn (cyclomatic 17): ImplicitReturnPass.addImplicitReturn has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CodeCleaner/ImplicitReturnPass.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ae357d791f3d9d91d31504a4cf011aac44ec0e2970ae39b8e53c69ed7eaac2"}},{"ruleId":"D1","level":"warning","message":{"text":"DocCommand.writeReflectedDocumentation (cyclomatic 17): DocCommand.writeReflectedDocumentation has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/DocCommand.php"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be823ea28df5a66d364c48c0779ef2e366563bb672d77f85a6e78b09c2fd665"}},{"ruleId":"D1","level":"warning","message":{"text":"HistoryCommand.execute (cyclomatic 17): HistoryCommand.execute has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/HistoryCommand.php"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d57c2430bcedfe785d7a45a787eafda2bd851e5829f62641f42fdd8f3a43b1"}},{"ruleId":"D1","level":"warning","message":{"text":"Context.get (cyclomatic 17): Context.get has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Context.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e657550700905da14b05bf04a2df86ab523685dd4d0078e35c045934a8e4b6"}},{"ruleId":"D1","level":"warning","message":{"text":"Docblock.parseMethodTag (cyclomatic 17): Docblock.parseMethodTag has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Util/Docblock.php"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"42cd1262ea6bc6ba5c3a675a1cbad807f1930d26636906b5375f378a590bde2e"}},{"ruleId":"D1","level":"warning","message":{"text":"Mirror.get (cyclomatic 17): Mirror.get has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Util/Mirror.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"639bfe7d51e17c56d5b143f319ef4859180461c77b8c24a93e669e1f79819377"}},{"ruleId":"D1","level":"warning","message":{"text":"FuzzyMatcher.match (cyclomatic 16): FuzzyMatcher.match has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Completion/FuzzyMatcher.php"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9a7afcdd5393c87f91e4853d8dd3e3c941f57e4cad01ac206c372c3e7e048f"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeResolver.cleanIncompleteExpression (cognitive 94): TypeResolver.cleanIncompleteExpression has cognitive complexity 94 (threshold 15). Drivers by points: if/else 20 (64 pts), loops 7 (20 pts), boolean chains 8, error handling 1 (2 pts) (nesting depth added 58). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Completion/TypeResolver.php"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d0e4234c201c73ffffd2f8ba6246c01e237ead61885e48732ac55d6bf5548a"}},{"ruleId":"D2","level":"warning","message":{"text":"DumperBase.doDumpString (cognitive 63): DumperBase.doDumpString has cognitive complexity 63 (threshold 15). Drivers by points: if/else 25 (47 pts), boolean chains 8, ternaries 4 (7 pts), loops 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VarDumper/DumperBase.php"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ae3467fd6d3246f587a4217f57f45e69f32f044e3eeba1b09ef1c813a3571c"}},{"ruleId":"D2","level":"warning","message":{"text":"SudoVisitor.enterNode (cognitive 55): SudoVisitor.enterNode has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 24 (48 pts), boolean chains 5, if/else 2 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sudo/SudoVisitor.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2015e0bb4966cb104100dd6a0a8bf5ca2dfb0a72e2f2976a9690beb7c02459"}},{"ruleId":"D2","level":"warning","message":{"text":"UopzReloaderVisitor.hasStaticVariables (cognitive 53): UopzReloaderVisitor.hasStaticVariables has cognitive complexity 53 (threshold 15). Drivers by points: if/else 14 (38 pts), loops 4 (10 pts), boolean chains 5 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ExecutionLoop/UopzReloaderVisitor.php"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8aa6f26b7188270784e4c8f2845b81c73ce1b33a9319fd70aa8f343cdb0fb86"}},{"ruleId":"D2","level":"warning","message":{"text":"Readline.readline (cognitive 53): Readline.readline has cognitive complexity 53 (threshold 15). Drivers by points: if/else 20 (44 pts), boolean chains 6, loops 2, error handling 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Readline.php"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"6072c1148d017ab2f6f363bdfc3bff8c1562bc38b649963632955aec4f9db245"}},{"ruleId":"D2","level":"warning","message":{"text":"ComposerAutoloadWarmer.getAutoloadClassMap (cognitive 47): ComposerAutoloadWarmer.getAutoloadClassMap has cognitive complexity 47 (threshold 15). Drivers by points: if/else 11 (29 pts), loops 4 (13 pts), error handling 1 (3 pts), boolean chains 2 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TabCompletion/AutoloadWarmer/ComposerAutoloadWarmer.php"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1f0376f657500177dfe379a71daf38b98aa22cb5d6241cefd601532e2e9153"}},{"ruleId":"D2","level":"warning","message":{"text":"UopzReloaderVisitor.checkClassLimitations (cognitive 46): UopzReloaderVisitor.checkClassLimitations has cognitive complexity 46 (threshold 15). Drivers by points: if/else 10 (19 pts), ternaries 5 (19 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ExecutionLoop/UopzReloaderVisitor.php"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65958859516da0fb24d8a9190b61ffe607f7af12a0711fbfe3bfcadc464048e"}},{"ruleId":"D2","level":"warning","message":{"text":"DocCommand.getParentReflectors (cognitive 45): DocCommand.getParentReflectors has cognitive complexity 45 (threshold 15). Drivers by points: if/else 8 (28 pts), loops 7 (16 pts), match/switch 1 (nesting depth added 29). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/DocCommand.php"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe853ade87fab62d925278040fa69864c34dd0f42d07924a608e73ea95a3a05"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeResolver.resolveExpressionTypes (cognitive 45): TypeResolver.resolveExpressionTypes has cognitive complexity 45 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 12, ternaries 5 (11 pts), loops 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Completion/TypeResolver.php"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78a1060926e4eca828c131264798cf6965dc799a46154f2bb1e5fd8e572f0fa"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeFormatter.findClassNameTokenIndexes (cognitive 45): CodeFormatter.findClassNameTokenIndexes has cognitive complexity 45 (threshold 15). Drivers by points: if/else 15 (37 pts), boolean chains 7, loops 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Formatter/CodeFormatter.php"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4e3561b3f830128ffa9d066e94580ef321ecb1d543db259b03992e7cf19c9c"}},{"ruleId":"D2","level":"warning","message":{"text":"UopzReloaderVisitor.enterNode (cognitive 43): UopzReloaderVisitor.enterNode has cognitive complexity 43 (threshold 15). Drivers by points: if/else 17 (24 pts), boolean chains 10, ternaries 4 (9 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ExecutionLoop/UopzReloaderVisitor.php"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdeec06babb40e6c214f1a8a86c0bb26da5d667cbe6b29f959cd03cd69b4bbe"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessForker.beforeRun (cognitive 42): ProcessForker.beforeRun has cognitive complexity 42 (threshold 15). Drivers by points: if/else 14 (33 pts), ternaries 1 (4 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ExecutionLoop/ProcessForker.php"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f82ad05ca5e655aed23335b13078f19a8471f0b04c426b311ee65e501971a9"}},{"ruleId":"D2","level":"warning","message":{"text":"Configuration.loadLocalConfigWithPrompt (cognitive 38): Configuration.loadLocalConfigWithPrompt has cognitive complexity 38 (threshold 15). Drivers by points: if/else 16 (25 pts), boolean chains 10, loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Configuration.php"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"9500cce95012d96318b37372e02f9e9a08959acaed6a4b72e6a891b275a1bba1"}},{"ruleId":"D2","level":"warning","message":{"text":"PartialInputRefiner.findExpressionStartIndex (cognitive 32): PartialInputRefiner.findExpressionStartIndex has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (25 pts), boolean chains 6, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Completion/Refiner/PartialInputRefiner.php"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3180521359698856acf6eae21ad22841759a1646176d4372eb61182c513122e"}},{"ruleId":"D2","level":"warning","message":{"text":"Shell.applyRuntimeConfigChange (cognitive 32): Shell.applyRuntimeConfigChange has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (15 pts), ternaries 3 (12 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Shell.php"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"d713828b67b61136ea1494681bc508289ccd888c563a1333b79c12f2fa44816c"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeFormatter.findArrayKeyTokenIndexes (cognitive 30): CodeFormatter.findArrayKeyTokenIndexes has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 7, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Formatter/CodeFormatter.php"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"590adc15ec416bba71b66f7f8938937689d0f9c303d3e12de183516291e705b8"}},{"ruleId":"D2","level":"warning","message":{"text":"TraceFormatter.formatTrace (cognitive 29): TraceFormatter.formatTrace has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 7 (13 pts), if/else 7 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Formatter/TraceFormatter.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d23bf92d234b0989a417cee08f258d991c124c201249bee192b9dca39af2263"}},{"ruleId":"D2","level":"warning","message":{"text":"PassableByReferencePass.enterNode (cognitive 28): PassableByReferencePass.enterNode has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 4, loops 2 (4 pts), ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CodeCleaner/PassableByReferencePass.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2788e1df67d8c70b73b8d4eb79b3b7f532e08146591492d3f24c3c49f522723"}},{"ruleId":"D2","level":"warning","message":{"text":"HistoryCommand.execute (cognitive 28): HistoryCommand.execute has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (17 pts), ternaries 3 (6 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/HistoryCommand.php"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"d389c73d466a651a8ed99d7548ada73ecafd8c7dc563090dd09b5d8f1e065423"}},{"ruleId":"D2","level":"warning","message":{"text":"IndentationPolicy.isEndOfLineInStringOrComment (cognitive 28): IndentationPolicy.isEndOfLineInStringOrComment has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 9, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Input/IndentationPolicy.php"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1a3a9f093990bdf22de0aabfd25b7c22304d703297f1f4e61ac33aa5bc438c"}},{"ruleId":"D2","level":"warning","message":{"text":"StrictTypesPass.beforeTraverse (cognitive 27): StrictTypesPass.beforeTraverse has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (14 pts), ternaries 2 (6 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CodeCleaner/StrictTypesPass.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"70265689430ff56bfd8cb6345fb0444eedb79944447d0ceed305a40e64aa3f15"}},{"ruleId":"D2","level":"warning","message":{"text":"FuzzyMatcher.match (cognitive 27): FuzzyMatcher.match has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 4, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Completion/FuzzyMatcher.php"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c46b8baa83545b81bb267a3524ca98b87be961221f44f4a4080f4357717c7d"}},{"ruleId":"D2","level":"warning","message":{"text":"SignatureFormatter.formatFunctionParams (cognitive 27): SignatureFormatter.formatFunctionParams has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 5 (14 pts), if/else 4 (7 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Formatter/SignatureFormatter.php"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5577f354b7e48d60173d9fdc5b411f8707c57a508d90e06277567023a862a9"}},{"ruleId":"D2","level":"warning","message":{"text":"ImplicitUsePass.collectNamesInNodes (cognitive 26): ImplicitUsePass.collectNamesInNodes has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CodeCleaner/ImplicitUsePass.php"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16e32751c9afda99cddcde64da1e3d01bc586e7d18400c830328b56befad057"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionReturnInWriteContextPass.enterNode (cognitive 25): FunctionReturnInWriteContextPass.enterNode has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 6, ternaries 2 (5 pts), loops 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CodeCleaner/FunctionReturnInWriteContextPass.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78217a0a35b512f3d0b952918bf770f2b2f0d5ca4e62aca9a289fd542d37298"}},{"ruleId":"D2","level":"warning","message":{"text":"ConstantEnumerator.listItems (cognitive 25): ConstantEnumerator.listItems has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 2 (5 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/ListCommand/ConstantEnumerator.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"40dbaa5b3afd7ab4f094a21463c753fbc16087a1dedf852b680ce2b891fac866"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectTrust.getLocalPsyshProjectRoot (cognitive 25): ProjectTrust.getLocalPsyshProjectRoot has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ProjectTrust.php"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"175981501081932b599cb36595cb20eecd6fefc06c4017eb3f0e7f34e3370489"}},{"ruleId":"D2","level":"warning","message":{"text":"TabAction.insertMatch (cognitive 25): TabAction.insertMatch has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 8, loops 2, ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Actions/TabAction.php"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c39c8b75ea6a2dc16fcce96896095c1372c3904fcc533084a105178453d62a"}},{"ruleId":"D2","level":"warning","message":{"text":"TabAction.handleKey (cognitive 25): TabAction.handleKey has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 8 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Actions/TabAction.php"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94949b82eb48259689c9d6ae793923f15900e486f542ba60b3d8f3c7d8a2fb9"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandHighlighter.tokenize (cognitive 25): CommandHighlighter.tokenize has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 3 (6 pts), boolean chains 4 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Helper/CommandHighlighter.php"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f88e7acb8a5d007ff1123837f06a30f6d5441cd0cb3f88ec47dbf6420dcd8fd"}},{"ruleId":"D2","level":"warning","message":{"text":"StdinReader.readBracketedPaste (cognitive 25): StdinReader.readBracketedPaste has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 2 (4 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Input/StdinReader.php"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da69ad25597fb0a0583af9e5bfd48904a6c99621428b1c88149c10c84a445f8"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeCleaner.resolveClassName (cognitive 24): CodeCleaner.resolveClassName has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (4 pts), boolean chains 2, error handling 1 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CodeCleaner.php"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce4f18916adacaec31af83d4f768d1ff38ac521527b3488acd9ad7497cc31bb"}},{"ruleId":"D2","level":"warning","message":{"text":"UopzReloaderVisitor.checkForSideEffects (cognitive 24): UopzReloaderVisitor.checkForSideEffects has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 6, loops 2 (4 pts), ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ExecutionLoop/UopzReloaderVisitor.php"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"383cafdd4cb2f7f491f330d36f108c2dd39fb79b06f4f23822beacdb3753f3e1"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandHighlighter.highlightLines (cognitive 24): CommandHighlighter.highlightLines has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Helper/CommandHighlighter.php"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b987596b8d0941456de5b9f19a9d31343d98f4c04647f3fd3fb83ad0d965b5ca"}},{"ruleId":"D2","level":"warning","message":{"text":"CompletionMenuWidget.render (cognitive 24): CompletionMenuWidget.render has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 4 (7 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Renderer/CompletionMenuWidget.php"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92e018b0bb4649812eaa4d87b35d659fcba21a4067f3723a69f398f6c98695e"}},{"ruleId":"D2","level":"warning","message":{"text":"Docblock.splitOnWhitespace (cognitive 24): Docblock.splitOnWhitespace has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Util/Docblock.php"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffdfce360d63ac307d60d5c5377afe3a3e68ed0c3bccee93ed1a86fb4d9ff35"}},{"ruleId":"D2","level":"warning","message":{"text":"ReturnTypePass.enterNode (cognitive 23): ReturnTypePass.enterNode has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 2 (6 pts), boolean chains 2 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CodeCleaner/ReturnTypePass.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6912fdc523f028b2ca2c33f3323165c90b219caab4fb89d4cbcc433ec0695017"}},{"ruleId":"D2","level":"warning","message":{"text":"DocCommand.writeReflectedDocumentation (cognitive 23): DocCommand.writeReflectedDocumentation has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 7, ternaries 1 (3 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/DocCommand.php"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05a30f9a549b7d291e61d11336ab38f316d2d1931d63ccac378f2822bf49efe"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextAnalyzer.analyzeNode (cognitive 23): ContextAnalyzer.analyzeNode has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8, ternaries 4 (8 pts), boolean chains 7 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Completion/ContextAnalyzer.php"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"297b11409aa57031d1d87b4ef0e41a6e5a1dd9bce37ba01853b5fa9ec39a6362"}},{"ruleId":"D2","level":"warning","message":{"text":"Shell.getInput (cognitive 23): Shell.getInput has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 3, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Shell.php"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce8dee60bfde19d9a5504c786d20556b1b3acb5a6cfc5bd88efd521024f8bb8"}},{"ruleId":"D2","level":"warning","message":{"text":"Docblock.parseMethodTag (cognitive 23): Docblock.parseMethodTag has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (18 pts), loops 2 (3 pts), boolean chains 1, ternaries 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Util/Docblock.php"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd2f9684b0ff6f4bbd8796b230c5685cf1c2b42741c90772221f54796fab9c4"}},{"ruleId":"D2","level":"warning","message":{"text":"ParameterDocCommentPass.enterNode (cognitive 22): ParameterDocCommentPass.enterNode has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 4 (6 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CodeCleaner/ParameterDocCommentPass.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0af678ede7816b81d83b903b1a7c7145817aa08bed78cc50c3a53fcb88f1e8c"}},{"ruleId":"D2","level":"warning","message":{"text":"ValidConstructorPass.enterNode (cognitive 22): ValidConstructorPass.enterNode has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 4, loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CodeCleaner/ValidConstructorPass.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabf37f5fc620dee3b474c22db24e98ec64dfb17a32d6f7ad942051c8859a4b0"}},{"ruleId":"D2","level":"warning","message":{"text":"ListCommand.validateInput (cognitive 22): ListCommand.validateInput has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 4 (8 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/ListCommand.php"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"4569ec63931e108a9eaf755148aba217e789d8d4cc3cd2f15358d5a3781708bf"}},{"ruleId":"D2","level":"warning","message":{"text":"UopzReloader.reload (cognitive 22): UopzReloader.reload has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (20 pts), loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ExecutionLoop/UopzReloader.php"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c410b5aa46e039dc3bd467c946d0dc3afcc638cf52907e2fc2c2e93da7e40291"}},{"ruleId":"D2","level":"warning","message":{"text":"ComposerAutoloadWarmer.findVendorDir (cognitive 22): ComposerAutoloadWarmer.findVendorDir has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (15 pts), error handling 1 (3 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TabCompletion/AutoloadWarmer/ComposerAutoloadWarmer.php"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d8ca5c674a82de2f13399219bc53bb1fbd2b1e2d389d14715edd14f1c06a70"}},{"ruleId":"D2","level":"warning","message":{"text":"DocCommand.execute (cognitive 21): DocCommand.execute has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (17 pts), error handling 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/DocCommand.php"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68161017c51a810df439d76c670fb8d7faf7d22af27767b53a95376dd02636a"}},{"ruleId":"D2","level":"warning","message":{"text":"ReflectingCommand.setCommandScopeVariables (cognitive 21): ReflectingCommand.setCommandScopeVariables has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 1, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/ReflectingCommand.php"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3dd022e4ddf29c82fd9a0d92dc3c9fde31a7f317ff5f564b696194d984b53e4"}},{"ruleId":"D2","level":"warning","message":{"text":"Configuration.loadManual (cognitive 21): Configuration.loadManual has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (18 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Configuration.php"},"region":{"startLine":2587}}}],"partialFingerprints":{"codehealthFindingId/v1":"4585c33f13dca89f049465e08e8e12182bf39f78f5e4ef4d39709ac2193b1e7e"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHubChecker.fetchLatestRelease (cognitive 21): GitHubChecker.fetchLatestRelease has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (7 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ManualUpdater/GitHubChecker.php"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"187e17da7f137e76a44e6c3d96d98b64b490ccbb005514fcfe88bb6d78f66e32"}},{"ruleId":"D2","level":"warning","message":{"text":"LegacyReadline.readline (cognitive 21): LegacyReadline.readline has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 3, ternaries 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/LegacyReadline.php"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1af0ea77e396684310c77d5a73f584ed4bc97d049944cfd56535b2c520e1b1"}},{"ruleId":"D2","level":"warning","message":{"text":"Shell.writeStdout (cognitive 21): Shell.writeStdout has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 1 (4 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Shell.php"},"region":{"startLine":2023}}}],"partialFingerprints":{"codehealthFindingId/v1":"265d70166811110bf5d73d01b5ff8ab186d3cdfda0c4d8a9b181fb223998e964"}},{"ruleId":"D2","level":"warning","message":{"text":"ReflectingCommand.resolveName (cognitive 19): ReflectingCommand.resolveName has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/ReflectingCommand.php"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e53461e3f4c8fb519c95c35484a9456260563412a305137aacae420344eb0c7"}},{"ruleId":"D2","level":"warning","message":{"text":"ShowCommand.setCommandScopeVariablesFromContext (cognitive 19): ShowCommand.setCommandScopeVariablesFromContext has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), error handling 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/ShowCommand.php"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b26f25ceb56e2b38dcadafde4c4d9348738f1e5f25f05ac7bcea60b24188186"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeFormatter.splitLines (cognitive 19): CodeFormatter.splitLines has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Formatter/CodeFormatter.php"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c92d300f0aea812af5831e9f9ff22df22674bd8dc0f8e135b6bf496d85dbf0"}},{"ruleId":"D2","level":"warning","message":{"text":"ManualWrapper.words (cognitive 19): ManualWrapper.words has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (15 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Formatter/ManualWrapper.php"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"459086aa2b0a69f90310685ad2cceab3e7dba6ae9b4a3fcfe1a1dc5940f1d784"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellInput.addLongOption (cognitive 19): ShellInput.addLongOption has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 6 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Input/ShellInput.php"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"107975feeaa21c05f4f858682aee5234d5b9e282e059fd421ed1f8a190e17027"}},{"ruleId":"D2","level":"warning","message":{"text":"Docblock.getMagicMethods (cognitive 19): Docblock.getMagicMethods has cognitive complexity 19 (threshold 15). Drivers by points: loops 6 (10 pts), if/else 5 (9 pts) (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This shape REPEATS in the file: one other method here (Docblock.getMagicProperties) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Util/Docblock.php"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebe11bd19a1a88297efc8a07bd2f869a085a5b712e54972ab83f439f6b3d00a"}},{"ruleId":"D2","level":"warning","message":{"text":"Docblock.getMagicProperties (cognitive 19): Docblock.getMagicProperties has cognitive complexity 19 (threshold 15). Drivers by points: loops 6 (10 pts), if/else 5 (9 pts) (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This shape REPEATS in the file: one other method here (Docblock.getMagicMethods) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Util/Docblock.php"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"82616885202c84bab3e3405a2ac65df69315357a64eaad107264e61fae2d6f1e"}},{"ruleId":"D2","level":"warning","message":{"text":"ImplicitUsePass.beforeTraverse (cognitive 18): ImplicitUsePass.beforeTraverse has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 2 (4 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CodeCleaner/ImplicitUsePass.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b466c7a082fb648537af591ece0cc545fbba9a05673d87270c63e41c32fe74"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractConfigCommand.getOptions (cognitive 18): AbstractConfigCommand.getOptions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, match/switch 3, error handling 2, boolean chains 1, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/Config/AbstractConfigCommand.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"50496f7762d3b0a616b50f6aea8a8977cdbc4d49df91e216651138f63a2fc204"}},{"ruleId":"D2","level":"warning","message":{"text":"Configuration.getVerbosityFromInput (cognitive 18): Configuration.getVerbosityFromInput has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 7, match/switch 1 (2 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Configuration.php"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1befbca3dea82f646a07961ad7297987d6307f7f90247bea703df8a74cc615a"}},{"ruleId":"D2","level":"warning","message":{"text":"Configuration.getPager (cognitive 18): Configuration.getPager has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 5 (nesting depth added 7). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Configuration.php"},"region":{"startLine":1931}}}],"partialFingerprints":{"codehealthFindingId/v1":"3456f882f7c6b9f62be9445fa461ed5645e9ac8baba8ae3e097b783f9aa5f6ca"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionCleanupState.closeOutput (cognitive 18): ExecutionCleanupState.closeOutput has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), error handling 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ExecutionCleanupState.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a6c6c8aafb4e33b5cd3e29747bc5e6d868ba00fdb205a45adec0695117f7c2"}},{"ruleId":"D2","level":"warning","message":{"text":"DebugLog.log (cognitive 18): DebugLog.log has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 1 (5 pts), loops 1 (3 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Helper/DebugLog.php"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"537ce23e6db12902c7799a7fa2a094d9d7d7b4296c03f5e82022841c24fb8b58"}},{"ruleId":"D2","level":"warning","message":{"text":"Shell.getMessageLabel (cognitive 18): Shell.getMessageLabel has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 2 (5 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Shell.php"},"region":{"startLine":2400}}}],"partialFingerprints":{"codehealthFindingId/v1":"309a489a3f4f490ba457cb2de1c1fb3e195a16c3ef93bdd6a1854f7ce963cd61"}},{"ruleId":"D2","level":"warning","message":{"text":"BufferAnalysis.hasControlStructureWithoutBody (cognitive 17): BufferAnalysis.hasControlStructureWithoutBody has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 4 (nesting depth added 7). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CodeAnalysis/BufferAnalysis.php"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66970af06daffeea5ffee21dbf187b4593c63ff1eae135ccaeb6fb9fba3244d"}},{"ruleId":"D2","level":"warning","message":{"text":"ImplicitReturnPass.addImplicitReturn (cognitive 17): ImplicitReturnPass.addImplicitReturn has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CodeCleaner/ImplicitReturnPass.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff3fc209731aadec479c0bc47ee01863757a6cc55a6b5fa9d266cb2d380a991"}},{"ruleId":"D2","level":"warning","message":{"text":"LoopContextPass.enterNode (cognitive 17): LoopContextPass.enterNode has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 4, ternaries 1 (2 pts), match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CodeCleaner/LoopContextPass.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27db26b6ff5df0accdcf72e2b7139225f29238fa6e7eee93ec4342470746e3c"}},{"ruleId":"D2","level":"warning","message":{"text":"RequirePass.resolve (cognitive 17): RequirePass.resolve has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CodeCleaner/RequirePass.php"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c925641bda370bc571541012db0dbd125f254e36491eb1bc8d4c4fa092ab03"}},{"ruleId":"D2","level":"warning","message":{"text":"PartialInputRefiner.analyzePartialInput (cognitive 17): PartialInputRefiner.analyzePartialInput has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Completion/Refiner/PartialInputRefiner.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad591f4f94f7336aaaa2412951b299b7259b9be6b89182d17703c3c8fdecd34"}},{"ruleId":"D2","level":"warning","message":{"text":"Configuration.getManualDb (cognitive 17): Configuration.getManualDb has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 3, error handling 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Configuration.php"},"region":{"startLine":2504}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc44dd37c1d6944df89686cae28996115d16cd619b87264b15c47ac1bf7042a"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellOutput.write (cognitive 17): ShellOutput.write has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 1 (2 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Output/ShellOutput.php"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed352d75fb45617de86746d4b180738676885dc4814ed0f096f74ae1115857b"}},{"ruleId":"D2","level":"warning","message":{"text":"Shell.closeExecutionScope (cognitive 17): Shell.closeExecutionScope has cognitive complexity 17 (threshold 15). Drivers by points: error handling 3 (7 pts), if/else 4 (6 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Shell.php"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ca5bce73b77e2166ea858a18ff5709d8fc4f3bb5ff28b638467532ea425e02"}},{"ruleId":"D2","level":"warning","message":{"text":"Docblock.parseComment (cognitive 17): Docblock.parseComment has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Util/Docblock.php"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7650385dc6f0878ca8d26c51e48277cd4848f35cd5dca657808c4fdcfa2d4b0"}},{"ruleId":"D2","level":"warning","message":{"text":"CalledClassPass.enterNode (cognitive 16): CalledClassPass.enterNode has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CodeCleaner/CalledClassPass.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"386998a07b4383efade1fced56969aab3b73d02756bc2fdd706c823cfaeca119"}},{"ruleId":"D2","level":"warning","message":{"text":"Command.optionsAsText (cognitive 16): Command.optionsAsText has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 2 (6 pts), if/else 3 (5 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/Command.php"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4a7259c3ff85a8c6fc79ce51c6501d817931ce1b5f409e4e7380d934b55743"}},{"ruleId":"D2","level":"warning","message":{"text":"Configuration.getPagerFromInput (cognitive 16): Configuration.getPagerFromInput has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 2 (5 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Configuration.php"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c094af3d6490829523184aa88cddc2f7be07d46e9e47bad62b4016da68c366a"}},{"ruleId":"D2","level":"warning","message":{"text":"RunkitReloader.reload (cognitive 16): RunkitReloader.reload has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ExecutionLoop/RunkitReloader.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"65689e9d9a134c1ccd4e1863ac5f78fb1106adef7ee2d6c940382905fb1fb0aa"}},{"ruleId":"D2","level":"warning","message":{"text":"ManualUpdate.run (cognitive 16): ManualUpdate.run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 3 (4 pts), error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ManualUpdater/ManualUpdate.php"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e383837e521879094c4f2355d8b2a40723423f246689dd056653ccf3151cb6"}},{"ruleId":"D2","level":"warning","message":{"text":"BracketPair.doesClosingBracketMatch (cognitive 16): BracketPair.doesClosingBracketMatch has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Helper/BracketPair.php"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f80b6c4080a52cbcd7863f7d4504db5002be4abcdfd6af15aee25187489eee2"}},{"ruleId":"D2","level":"warning","message":{"text":"StdinReader.readEvent (cognitive 16): StdinReader.readEvent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Input/StdinReader.php"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56cdb0b50012546bad8a9539d69ba216cd8927c16f1a75201c231997e483c25"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Configuration: TooManyMethods \u2014 160 methods. The bar is 30 methods; this is 130 over it, 5.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Configuration.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"421339d1fe531bc45a36de3ff56568ad25836755e1320be8a9eaa6744f315d80"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Shell: TooManyMethods \u2014 129 methods. The bar is 30 methods; this is 99 over it, 4.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Shell.php"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e06f94c637fc2b6dd6c270c21b09c094160d4a057e1b38686ad51e7e42cc4b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Configuration: ClassTooLong \u2014 1198 significant lines (blank, comment-only and punctuation-only lines excluded), 160 methods. The bar is 400 significant lines; this is 798 over it, 3.00\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Configuration.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75269ed784da7ad2474caaf26bc484a733f38379f2afc54f3bea7a411d5dc42"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Shell: ClassTooLong \u2014 1143 significant lines (blank, comment-only and punctuation-only lines excluded), 129 methods. The bar is 400 significant lines; this is 743 over it, 2.86\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Shell.php"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6cfff0ef6c7c097dd33875bb11545ebb03098441c2bb86ced6aff5762ae20e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/Configuration.php: FileTooLong \u2014 1231 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: Configuration (49-3301). The bar is 500 significant lines; this is 731 over it, 2.46\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Configuration.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1db9634e8ea9d168c178d6b49fb4e075ea5ded3d41f2207084224671855f1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/Shell.php: FileTooLong \u2014 1194 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: Shell (74-2922). The bar is 500 significant lines; this is 694 over it, 2.39\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Shell.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c645eb60909ff3627a72ded640bd7a6eb847621c28652299d5b090284b20c058"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AbstractConfigCommand.getOptions: MethodTooLong \u2014 getOptions runs 221 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 121 over it, 2.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/Config/AbstractConfigCommand.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a29d3742bae25c4c219fb8fc15faaff1bcc3138680f40870c6e525a8215e24d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Buffer: TooManyMethods \u2014 61 methods. The bar is 30 methods; this is 31 over it, 2.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Input/Buffer.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0acb74d9eff528b2848d239b909eed21daeb4c79a4e3212c6d2f8e710eff157"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ManualFormatter: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Formatter/ManualFormatter.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"56bc35e7de58628a895abd18e67086137112a18eaf5d7ce543c8c818b59d3639"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Pager: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Pager.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7333130936522f86f63506f4a82a17f0c248b4b2b45d9b98814c330becdadf1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Readline: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Readline.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"789f79b60d28e9f7a4c58345a35044d7524eda041a5563f6c78deba70bf98171"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ManualFormatter: ClassTooLong \u2014 511 significant lines (blank, comment-only and punctuation-only lines excluded), 50 methods. The bar is 400 significant lines; this is 111 over it, 1.28\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Formatter/ManualFormatter.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"572fcf3f2b8567d9d72e088cbbf5bd301b9b9017c38c93d1e3b8c2466b639e43"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Terminal: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Terminal.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"74567b943783b426b4a182d09d750664a56b03700159b461cb3fe4ce89fb4d1b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: InteractiveReadline: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/InteractiveReadline.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a2d5f08f812f95a0fa193a214b7c2efaede58ec700ee8b36680e71d82084cd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: History: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Input/History.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5baedf9cf0189652e8950b816546e6b86bd7be30131f1977cf6c00f50641496"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Formatter/ManualFormatter.php: FileTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: ManualFormatter (27-1035). The bar is 500 significant lines; this is 19 over it, 1.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Formatter/ManualFormatter.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6256a24b5725522b6c253a661f60e5456069550dd891805ae9010fe6ef5dd676"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DocCommand: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/DocCommand.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a39fe65695ab78fa177e71178520c33f809a8da6006738dbfd6d2b334b1bcc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): src/Util/Docblock.php:397-441 | src/Util/Docblock.php:453-497 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Util/Docblock.php"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc33361776a05f128e2c1e703b2829b1cc4dd78c163e6005b1299127a027361"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): src/Command/Command.php:176-201 | src/Command/Command.php:209-241 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/Command.php"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0786f44dd2f5a30c0680e4869470f3745937993f582b303e8db21848f992bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): src/TabCompletion/Matcher/MagicMethodsMatcher.php:58-89 | src/TabCompletion/Matcher/MagicPropertiesMatcher.php:59-90 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TabCompletion/Matcher/MagicMethodsMatcher.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8081353ae0835649ed1d2977d6444c092a5218adb9c819a3ec7591667ff735ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): src/TabCompletion/Matcher/ClassAttributesMatcher.php:29-68 | src/TabCompletion/Matcher/ClassMethodsMatcher.php:29-61 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TabCompletion/Matcher/ClassAttributesMatcher.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"161848d27ae46095ac06fd5c1da08c36d10ec252fbf5eb7e7dbe858657c89ade"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): src/Command/ListCommand/MethodEnumerator.php:68-97 | src/Command/ListCommand/PropertyEnumerator.php:69-96 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/ListCommand/MethodEnumerator.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eed75d11db01f3be8a40e280d22ab16cb8c32e01bbea0a3c95cf8dc641013a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): src/Readline/Interactive/Input/TokenNavigationPolicy.php:27-59 | src/Readline/Interactive/Input/TokenNavigationPolicy.php:68-97 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Input/TokenNavigationPolicy.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8aaad3489bdc508ee6d469cd1267be9bdfd212842657adbdbcb10a21c0cf143"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): src/Completion/TypeResolver.php:609-634 | src/Completion/TypeResolver.php:647-672 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Completion/TypeResolver.php"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"032725d6fa612eb189e6ceff163597543ba833585af8a12666aad097503a4b23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): src/Formatter/SignatureFormatter.php:493-518 | src/Formatter/SignatureFormatter.php:530-558 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Formatter/SignatureFormatter.php"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af808ec9a229494a5f2ac65731af8c177c453515243b95164969a73c929c20a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): src/TabCompletion/Matcher/MongoDatabaseMatcher.php:28-48 | src/TabCompletion/Matcher/ObjectAttributesMatcher.php:31-59 | src/TabCompletion/Matcher/ObjectMethodsMatcher.php:31-61 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TabCompletion/Matcher/MongoDatabaseMatcher.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"491e2c4baed4a73eff05b121706f3677e79644409bc283b91bc3258acf356604"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/Configuration.php:612-628 | src/Configuration.php:2474-2494 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Configuration.php"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d61afdb602422a0ec58124c021d0ef7d1784be3363661db57285901550d2b3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/TabCompletion/Matcher/MagicMethodsMatcher.php:99-124 | src/TabCompletion/Matcher/MagicPropertiesMatcher.php:102-121 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TabCompletion/Matcher/MagicMethodsMatcher.php"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d87b5808de09fa46e37bbd3f2b79eed65eee4c1620deb6f9ddcd14d534042c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): src/Readline/Interactive/Input/Buffer.php:386-407 | src/Readline/Interactive/Input/Buffer.php:465-490 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Input/Buffer.php"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2fcf0dc8fb9efbf3c5db3c856fdc20977ead84dcf44736ae9624e08e0a5bac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): src/Command/ListCommand/ClassConstantEnumerator.php:27-52 | src/Command/ListCommand/MethodEnumerator.php:29-54 | src/Command/ListCommand/PropertyEnumerator.php:30-55 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/ListCommand/ClassConstantEnumerator.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5276a75faa744ddfe6714ca879334efc6ddad3a3b9ebb04e64e2983bceec03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): src/Completion/Source/MagicPropertySource.php:38-61 | src/Completion/Source/ObjectMethodSource.php:41-65 | src/Completion/Source/ObjectPropertySource.php:39-60 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Completion/Source/MagicPropertySource.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"84851f9ef202ef3d5fe36a4faa038090408e9111a903315083e76d6ec2dcb1de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/Readline/Interactive/Input/Buffer.php:560-571 | src/Readline/Interactive/Input/Buffer.php:579-590 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Input/Buffer.php"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"681d787b12fabb2c398ce1c588982c414130efe4570177ab75d83d1bc82ce6cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/Output/ShellOutput.php:64-83 | src/Output/ShellOutputAdapter.php:50-74 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Output/ShellOutput.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d2985ad2eaa8ad7405dd4eb7a63c0e2def158889abc8f7c624721b013a0c46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): src/Completion/Source/ClassConstantSource.php:38-57 | src/Completion/Source/MethodSource.php:37-61 | src/Completion/Source/PropertySource.php:37-61 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Completion/Source/ClassConstantSource.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9133e05f48af44ce9ef4534fd838a9d71f8ea622ff2fad3df06c154151ee643"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/ExecutionLoop/UopzReloaderVisitor.php:340-349 | src/ExecutionLoop/UopzReloaderVisitor.php:357-366 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ExecutionLoop/UopzReloaderVisitor.php"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a35bc3c5b3520584f7583b6a76459c551b3cab2a85fd2d85d09e4d7a49351f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): src/TabCompletion/Matcher/ConstantsMatcher.php:38-50 | src/TabCompletion/Matcher/FunctionsMatcher.php:41-52 | src/TabCompletion/Matcher/KeywordsMatcher.php:67-79 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TabCompletion/Matcher/ConstantsMatcher.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d7e586ef8e7fe6c2efe0ca9eb141f7e577af79f5673147c8871f9ef9abc078"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src/Command/ListCommand/GlobalVariableEnumerator.php:27-44 | src/Command/ListCommand/VariableEnumerator.php:51-69 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/ListCommand/GlobalVariableEnumerator.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f503faa36dcb011db6f149cf1841909e5e581199f48dab6ae7401fe0d3e1e96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): src/TabCompletion/Matcher/ClassMethodDefaultParametersMatcher.php:44-62 | src/TabCompletion/Matcher/FunctionDefaultParametersMatcher.php:35-51 | src/TabCompletion/Matcher/ObjectMethodDefaultParametersMatcher.php:51-69 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TabCompletion/Matcher/ClassMethodDefaultParametersMatcher.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b883783400fd46753998ad28ea9143286e8aa9df095b5faf2b84bd194f0735d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/Command/WhereamiCommand.php:80-84 | src/CodeCleaner.php:256-260 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/WhereamiCommand.php"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abc41d6817adbd4688cf0e7460fcd8a0d63a104e24407998854de59c82e59db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): src/Completion/Refiner/PartialInputRefiner.php:191-201 | src/Completion/Refiner/PartialInputRefiner.php:260-270 | src/Shell.php:1705-1717 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Completion/Refiner/PartialInputRefiner.php"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fe5248cc170547e929db203018b35c359a310395e3bffed9e1bbe11ae1d10d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/Readline/Interactive/Input/History.php:484-502 | src/Readline/Libedit.php:111-120 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Input/History.php"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da9d744f5d59073c626097fb201c7826afe8565eb5185930c76ef7b55b3aee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/Readline/Interactive/Renderer/CompletionMenuWidget.php:150-157 | src/Readline/Interactive/Renderer/HistorySearchOverlayWidget.php:115-122 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Renderer/CompletionMenuWidget.php"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8888e8fbd9b13cf4510ab3dacda50ed8109dcb6a673aa726b4866b099574a7e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/CommandMapTrait.php:34-42 | src/Readline/Interactive/Helper/CommandHighlighter.php:43-53 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CommandMapTrait.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4eb59ff23d58548ef7ca6ccf8d019e50a7792aae2988090099a6ab7f5bdcac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/Shell.php:1874-1885 | src/Command/ReflectingCommand.php:356-362 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Shell.php"},"region":{"startLine":1874}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd58393e80dc9ab2a56d720f97690620d573e306f6e4855167b357588825190"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/Completion/Source/CommandSource.php:44-53 | src/TabCompletion/Matcher/CommandsMatcher.php:47-54 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Completion/Source/CommandSource.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c04ac7cc5182acfb3e8eb459eadce22f608a9eb462c9d97277dd9ea5978301"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/Reflection/ReflectionMagicMethod.php:54-61 | src/Reflection/ReflectionMagicProperty.php:51-57 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Reflection/ReflectionMagicMethod.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d984fc00ca9c40b2e0c68ebf954f3bd75bf820d5520336d6d1f7e65fc683e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/Command/ListCommand/ClassEnumerator.php:113-128 | src/Command/ListCommand/ConstantEnumerator.php:159-174 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/ListCommand/ClassEnumerator.php"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2b72bdbe0f127221ed06619a95e1be6ddf3d618f25fd1582725a8c0ef7feb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/Formatter/CodeFormatter.php:870-874 | src/Readline/Interactive/Helper/CommandHighlighter.php:281-285 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Formatter/CodeFormatter.php"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a2293a9e165e33885cf4aa2edd4ab35bcaa7fe649e984ad6f3bd298bb29195"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/Readline/Interactive/Renderer/CompletionMenuWidget.php:46-50 | src/Readline/Interactive/Renderer/HistorySearchOverlayWidget.php:48-54 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Renderer/CompletionMenuWidget.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84aa5421f5708a2f88a85cd18e7bb14930d156d33f7745b13a3e927d88fe92f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/TabCompletion/Matcher/ObjectAttributesMatcher.php:31-54 | src/TabCompletion/Matcher/ObjectMethodsMatcher.php:31-54 \u2014 before extracting anything, compare \u0060src/TabCompletion/Matcher/ObjectAttributesMatcher.php\u0060 and \u0060src/TabCompletion/Matcher/ObjectMethodsMatcher.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/TabCompletion/Matcher/ObjectAttributesMatcher.php:31\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TabCompletion/Matcher/ObjectAttributesMatcher.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac038c8581913d3df9d31fed2aaf0a0f0b900285117c5bfc0ca7382e4a94343"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Readline/Interactive/Helper/TokenHelper.php:55-74 | src/Readline/Interactive/Input/IndentationPolicy.php:145-164 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Readline/Interactive/Helper/TokenHelper.php:55\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Helper/TokenHelper.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cf2a14ab9187ef145cb874bd1f81231b173baf4c10ad91a33135effd927747"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/TabCompletion/Matcher/MagicMethodsMatcher.php:30-48 | src/TabCompletion/Matcher/MagicPropertiesMatcher.php:31-49 \u2014 before extracting anything, compare \u0060src/TabCompletion/Matcher/MagicMethodsMatcher.php\u0060 and \u0060src/TabCompletion/Matcher/MagicPropertiesMatcher.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TabCompletion/Matcher/MagicMethodsMatcher.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcf1759d2d4caae1a7756b7f4cde154233355cc97fef2188ee7b27451f3a8f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/TabCompletion/Matcher/MagicMethodsMatcher.php:60-78 | src/TabCompletion/Matcher/MagicPropertiesMatcher.php:61-79 \u2014 before extracting anything, compare \u0060src/TabCompletion/Matcher/MagicMethodsMatcher.php\u0060 and \u0060src/TabCompletion/Matcher/MagicPropertiesMatcher.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/TabCompletion/Matcher/MagicMethodsMatcher.php:60\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TabCompletion/Matcher/MagicMethodsMatcher.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e126405f21c2f293444787e60a6c17dbda5e0bf53898a4b148cc0e429f94278"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Command/ListCommand/MethodEnumerator.php:29-44 | src/Command/ListCommand/PropertyEnumerator.php:30-45 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/ListCommand/MethodEnumerator.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"27892b1c9bfd0ff4734103696db76401b44380e1642cf8447195cb6e4a1fb53b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): src/TabCompletion/Matcher/MagicMethodsMatcher.php:58-72 | src/TabCompletion/Matcher/MagicPropertiesMatcher.php:59-73 | src/TabCompletion/Matcher/ObjectAttributesMatcher.php:38-52 | src/TabCompletion/Matcher/ObjectMethodsMatcher.php:38-52 \u2014 before extracting anything, compare \u0060src/TabCompletion/Matcher/MagicMethodsMatcher.php\u0060 and \u0060src/TabCompletion/Matcher/MagicPropertiesMatcher.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TabCompletion/Matcher/MagicMethodsMatcher.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7795ef6efbb63ff95ba024de4da91c76f20c95e3a7891389664c2402af234902"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/TabCompletion/Matcher/ClassAttributesMatcher.php:29-43 | src/TabCompletion/Matcher/ClassMethodsMatcher.php:29-43 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TabCompletion/Matcher/ClassAttributesMatcher.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e82aa647a1a5a7dac594aa8018c931268a023c0b1194b22ac78bbdd9412cb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): src/Command/ListCommand.php:253-265 | src/Command/ListCommand.php:269-282 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Command/ListCommand.php:253\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/ListCommand.php"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc7fb59d7b63c2ebac47f69d93b2dc03aa42690ae1e08ccfc6b3439ada8f9bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/TabCompletion/Matcher/MagicMethodsMatcher.php:132-145 | src/TabCompletion/Matcher/MagicPropertiesMatcher.php:129-142 \u2014 before extracting anything, compare \u0060src/TabCompletion/Matcher/MagicMethodsMatcher.php\u0060 and \u0060src/TabCompletion/Matcher/MagicPropertiesMatcher.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TabCompletion/Matcher/MagicMethodsMatcher.php"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"871d8fe52d565cfbc6ec6a8ac7946e64fa55dec9b94ec56d5968a09924ffe2de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Command/DocCommand.php:399-411 | src/Command/DocCommand.php:416-428 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/DocCommand.php"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"9371c822fcbaf39a3841d10d1e81d85de77b8248053b6be95693adedd87142c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Command/ListCommand/MethodEnumerator.php:85-97 | src/Command/ListCommand/PropertyEnumerator.php:84-96 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Command/ListCommand/MethodEnumerator.php:85\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/ListCommand/MethodEnumerator.php"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c22a621228d45cc45c59f32f942945995b059905d5950609e21d4df67ad83aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/TabCompletion/Matcher/ClassMethodDefaultParametersMatcher.php:44-56 | src/TabCompletion/Matcher/ObjectMethodDefaultParametersMatcher.php:51-63 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TabCompletion/Matcher/ClassMethodDefaultParametersMatcher.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7506613523ebdc45379d5e42375f58f0fbc5ba06cc8bda56534f06ebe27baa66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Completion/TypeResolver.php:783-794 | src/Completion/TypeResolver.php:804-815 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Completion/TypeResolver.php"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f52abf154acb34be625fbb58319065d86e722e4483f3537dff3d8b8d48ea43d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/ExecutionLoop/RunkitReloader.php:78-89 | src/ExecutionLoop/UopzReloader.php:164-175 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/ExecutionLoop/RunkitReloader.php:78\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/ExecutionLoop/UopzReloader.php:160\u0060 calls \u0060file_exists\u0060 and \u0060src/ExecutionLoop/RunkitReloader.php:77\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ExecutionLoop/RunkitReloader.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d1eb77bb9e2be7aa7f52f53a9146ba0764f6cf32f4ec97ab139d6db2aae644"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Readline/Interactive/Input/StdinReader.php:198-209 | src/Readline/Interactive/Input/StdinReader.php:289-300 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Readline/Interactive/Input/StdinReader.php:198\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Input/StdinReader.php"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd5952322e5f040db2d688160be6bd9445fb26f1cc260bb3b17c9a264cf65f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Command/Config/ConfigGetCommand.php:53-63 | src/Command/Config/ConfigSetCommand.php:85-95 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/Config/ConfigGetCommand.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f7adc94ec2e6631e1f5bb6bff5ab870fa4dcaff2fb74157076560134057281"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): src/ExecutionLoop/ProcessForker.php:166-176 | src/ExecutionLoop/ProcessForker.php:200-209 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/ExecutionLoop/ProcessForker.php:166\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ExecutionLoop/ProcessForker.php"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e461752c7313e347babb0e7774f364f57dfc7e49348f50d5f383dde1ea25053"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Readline/Interactive/Input/TokenNavigationPolicy.php:34-44 | src/Readline/Interactive/Input/TokenNavigationPolicy.php:75-85 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Readline/Interactive/Input/TokenNavigationPolicy.php:34\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Input/TokenNavigationPolicy.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d412a4f8a0942ecb5950a249aeb5f7ae4fd1305f9dea9e1b173f0ff85ae4e51a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/TabCompletion/Matcher/MagicPropertiesMatcher.php:75-85 | src/TabCompletion/Matcher/MagicPropertiesMatcher.php:104-114 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/TabCompletion/Matcher/MagicPropertiesMatcher.php:75\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TabCompletion/Matcher/MagicPropertiesMatcher.php"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"750fb29d2be3a93f39299cdd3f014eb4951ed77ae8e46eeb7ae7b37f3ac8f973"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/TabCompletion/Matcher/ClassAttributesMatcher.php:76-85 | src/TabCompletion/Matcher/ClassMethodsMatcher.php:69-78 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TabCompletion/Matcher/ClassAttributesMatcher.php"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba60fa0791961d5079971595c164c82085685cae680c9a57cdd6b7742ffe04d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/TabCompletion/Matcher/MongoClientMatcher.php:28-37 | src/TabCompletion/Matcher/MongoDatabaseMatcher.php:28-37 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TabCompletion/Matcher/MongoClientMatcher.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"4523b6e84fee7369ba2f3ad49e48b3ac339b1a36734c7e8fcf7e3fe12ad1b27b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Readline/Interactive/Renderer/CompletionMenuWidget.php:71-78 | src/Readline/Interactive/Renderer/HistorySearchOverlayWidget.php:72-79 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Renderer/CompletionMenuWidget.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"afec7334143a20099713f262d0c1ff9e0a3891d45321530c36853a4c0c9ca76a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/CodeCleaner/ValidConstructorPass.php:98-104 | src/CodeCleaner/ValidConstructorPass.php:107-113 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CodeCleaner/ValidConstructorPass.php:98\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CodeCleaner/ValidConstructorPass.php"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"434e3f78bd087756e9f0d9298526a4dc27d69e4572537a23747b2a0683a15463"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/Configuration.php:618-623 | src/Configuration.php:1085-1090 | src/Configuration.php:2484-2489 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Configuration.php:618\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Configuration.php"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad8555d34c00128261d05ecd75a65f9ea8dbabdf71f65c36fb58d26dac04be3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Command/ListCommand/ClassConstantEnumerator.php:91-103 | src/Command/ListCommand/MethodEnumerator.php:110-122 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/ListCommand/ClassConstantEnumerator.php"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f935c5f095464c2f48ef30a9762d6ff980002d778f936c1bdadb158ab7d51c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/Command/ListCommand/GlobalVariableEnumerator.php:77-90 | src/Command/ListCommand/PropertyEnumerator.php:109-122 | src/Command/ListCommand/VariableEnumerator.php:123-135 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/ListCommand/GlobalVariableEnumerator.php"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2e9899e8f25712f7e9d40d454870899fe5155a9dfa934bc26b68eb612ec446"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Command/ReflectingCommand.php:53-61 | src/Command/SudoCommand.php:38-46 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/ReflectingCommand.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"136d827eed27eb24b5bc92de8fcbaf346ef035b65d869d278c441f6392783f63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/ManualUpdater/IntervalChecker.php:107-116 | src/VersionUpdater/IntervalChecker.php:56-65 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ManualUpdater/IntervalChecker.php"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"89563c7ac9bb153547cef1030314b0f7d7af94de2ff7cb2d37b558de88a3b163"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): src/TabCompletion/Matcher/MongoClientMatcher.php:56-65 | src/TabCompletion/Matcher/MongoDatabaseMatcher.php:56-65 | src/TabCompletion/Matcher/ObjectAttributesMatcher.php:67-76 | src/TabCompletion/Matcher/ObjectMethodsMatcher.php:69-78 \u2014 before extracting anything, compare \u0060src/TabCompletion/Matcher/ObjectAttributesMatcher.php\u0060 and \u0060src/TabCompletion/Matcher/ObjectMethodsMatcher.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TabCompletion/Matcher/MongoClientMatcher.php"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"458c56b256a9a7136c495b17cd789ef80cf82c68c05b1c39f7e51628d04e71ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Command/ListCommand/MethodEnumerator.php:148-158 | src/Command/ListCommand/PropertyEnumerator.php:146-156 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/ListCommand/MethodEnumerator.php"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea02ea60b5c5a17181b16016c8c98a1bb1cd002235c2c3926bda318aa8e3b657"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Configuration (LCOM4 9): Configuration\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Configuration.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"954a8d39a62bf1ae2beb35b43f5bd7f90da7e7e64b9c75bbf46cdb715fc8928b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSetTheme: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Readline/Interactive/ReadlineTest.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"48597aaf42efc005ca7dc5cff62ede0ae4a85c991d4b5db7a2c33ea04f5d802d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExportOutput: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Reflection/ReflectionConstantTest.php"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d02a488363b4963d391ef89b0cb34c7d9ed441ce97ee712b0102dc11b8dd2b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Command/Config/AbstractConfigCommand.php: src/Command/Config/AbstractConfigCommand.php changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in AbstractConfigCommand.getOptions at line 36. 1 of those changes was a fix/bug commit, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 23:41:38 -04:00\u0027 --until=\u00272026-10-25 23:41:38 -04:00\u0027 --full-history --no-merges -- src/Command/Config/AbstractConfigCommand.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/Config/AbstractConfigCommand.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2413aa5d678efb02e3ad5530ac8859a1bf4abf16fc5c5bd3d9222f64fec45798"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add doWrite to the OutputPager interface. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Output/OutputPager.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcac7ceacd6dc8181585bb06dc25fee64944347abcc88f8c4d3e50a24df95c9c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove the cache and duplicate __COMPILER_HALT_OFFSET__ handling \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Manual/V3Manual.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c3e4301b0d6f378baef6fd53580a5393133bfcde84dbd6d3fc2f63e4e3fabd"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060composer.json\u0060 makes this repository a deployable product (line 42)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composer.json"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"341d559fa0b97c7420a17eab8c55e02816862ad49796a0687e6d050b9991a5e5"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 2 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (46893 LoC, 390 module-visible types across 40 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"07f394b886468b14bc5ebe2b969ef187ef2436ec62c3262f85695b46584a5bcb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"08bd4f6b92e9dec1856ae82353f49e872805e1cbaa790eb5cdc972eecade4ab1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6ef2f316ca631b692d03c475bed7e473e93f3db6fa35d9ef86248c50808e234"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83d2dee38b177e39b4578143483a0eb441936ea8bf381a4635803db5ea747a5d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"03ff9d6e62945dd99c2dbbcd6a13b266d785e95ea622057e82dcfbdc3532824d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5c9c9d452df3ba0cfa467e1d3b3e853aa608362e8b2e9892ba9a49b6f81f1dc6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9e89a01b79e17f4f3917c80cddc2af38a18a363e6aff61a456f6d511a04d5fd6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"26696417869feba5cfa346bf4b6ad06dbf8f52453b418c21f2f5bab2fb502116"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b755c6eca85046a9b567ea7e826e6425559e8c277ce32312e8b2347f48cc08ba"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e5057c6aba67326d399d7131809d3778ef300487fbfcbec69f3fb0d3f477911e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"43dee95724c4189e5a952ed8925d9cdb41a46121d5ed9e73d697a7e2a72956e3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bcbb0d7b47ae19a6178de43527260258a1d0ea940fc0d007c71d54c467682fb4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a3bafb694be694b58272d3910189d5e7386c5c98e344895a7b7e329f46356dd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 1 of 162 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 162 of the 337 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: src/Util/Str.php. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Util/Str.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b3ee0e2e45ac917e2302ede064329eda9be543735604c199762183de76bbf5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: ClassConstantEnumerator.php, MethodEnumerator.php, PropertyEnumerator.php: 3 files \u2014 \u0060src/Command/ListCommand/ClassConstantEnumerator.php\u0060, \u0060src/Command/ListCommand/MethodEnumerator.php\u0060, \u0060src/Command/ListCommand/PropertyEnumerator.php\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/ListCommand/ClassConstantEnumerator.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc10650462b09ab4bd9a68ab8da05c88be44c753118995a78f1353b16cc585c"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"759dca709f1a032fb6f624ce672e6afb5558fce53ecf01fb73618c4d33923164"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M1","level":"note","message":{"text":"Thin README: The root README is 93 words, against a bar of 120. Of the three newcomer-critical sections this check looks for by heading, in the README and in the repository documents it links, it found no a testing section, no an architecture or project-map section. Sections are matched on HEADING text only, so material written under a heading this check does not recognise \u2014 or with no heading at all \u2014 is not seen and this row may understate what the document covers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88b11295dc6ac6146c259ace6043143959f96dc98628f8c8578b6c5f95b8149"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P6","level":"note","message":{"text":"Changelog looks stale/thin: The changelog this check read carries 0 versioned entries, against a bar of 3. Counted as either the distinct \u0060x.y.z\u0060 versions it names (a link\u0027s target is not counted) or its version-shaped section headings (\u0060## [1.2.0]\u0060, \u0060## V14.x.x\u0060, \u0060## Updates in 8.0.x\u0060), whichever is the larger \u2014 so a log sectioned by minor series counts its sections, not its individual patch numbers. Entries recorded somewhere this check does not read \u2014 release notes generated at tag time from a generator config it did not recognise, or a log kept outside the repository \u2014 are not counted here, and this row is about what is re-findable in the tree rather than about how often you release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9a74c249fe67853238d9c15085f7f97d31f51bb82455046aa10c2cef82f67b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$arg instanceof ArgPlaceholder || $arg instanceof VariadicPlaceholder\u0060 appears character-identically in 2 files \u2014 src/CodeCleaner/PassableByReferencePass.php, src/Sudo/SudoVisitor.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CodeCleaner/PassableByReferencePass.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90d108027fa3ba0cc0bf35c8d988e77a83eb9d71f849d0354cb06a4939bb2a8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060($target !== null || $reflector !== null) \u0026\u0026 !$reflector instanceof ReflectionNamespace\u0060 appears character-identically in 3 files \u2014 src/Command/ListCommand/ClassEnumerator.php, src/Command/ListCommand/ConstantEnumerator.php, src/Command/ListCommand/FunctionEnumerator.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/ListCommand/ClassEnumerator.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb1bfe0fc6f9fd6ab8e31657ee8f1cfda4e0ea95777f318dc1c5ad287c1417c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060DependencyChecker::functionsAvailable(self::PCNTL_FUNCTIONS) \u0026\u0026 DependencyChecker::functionsAvailable(self::POSIX_FUNCTIONS)\u0060 appears character-identically in 2 files \u2014 src/ExecutionLoop/ProcessForker.php, src/ExecutionLoop/SignalHandler.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ExecutionLoop/ProcessForker.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9264b3c18b17219423110c82bbaa32998b46a06af8a9c15df3b3a399b463d794"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isset($_SERVER[\u0027PSYSH_CONFIG\u0027]) \u0026\u0026 $_SERVER[\u0027PSYSH_CONFIG\u0027]\u0060 appears character-identically in 2 files \u2014 src/Configuration.php, src/functions.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Configuration.php"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c100b8fc2a7d215607ef44523fbfcb808cbc83c64d6067205d9e1843336b387"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self::tokenIs($prevToken, self::T_DOUBLE_COLON) \u0026\u0026 self::tokenIs($token, self::T_STRING)\u0060 appears character-identically in 4 files \u2014 src/TabCompletion/Matcher/ClassAttributesMatcher.php, src/TabCompletion/Matcher/ClassMethodsMatcher.php, src/TabCompletion/Matcher/MagicMethodsMatcher.php, src/TabCompletion/Matcher/MagicPropertiesMatcher.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TabCompletion/Matcher/ClassAttributesMatcher.php"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"066c3c36b64bb40dd2929b2bdf13bfe1b2e5112cf35b1711e8fcf9794667eafb"}},{"ruleId":"X19","level":"warning","message":{"text":"Process-global state is restored only on the happy path: \u0060clean\u0060 changes state that belongs to the whole PROCESS and changes it back at the end of the same body \u2014 the process locale (\u0060LC_NUMERIC\u0060) (changed at line 288, put back at line 293) \u2014 which says the change was meant to last no longer than this call. But the restore is an ordinary statement on the straight-line path, not a \u0060finally\u0060, so it is skipped by any exception thrown in between: PHP then keeps the overwritten value for the rest of the request \u2014 and in a CLI command, a queue worker or a long-running server (Octane, Swoole, RoadRunner, FrankenPHP) for the rest of the process\u0027s life \u2014 and every later relative path, child-process launch, date, number format, XML parse or error report in ANY class reads it. That failure is silent and remote from its cause: the function that breaks is not the function that moved the value. The durable fix is not to widen the restore but to stop mutating the global: pass the value to the operation that needs it \u2014 \u0060cwd\u0060 and \u0060env\u0060 to Symfony \u0060Process\u0060 (\u0060new Process($command, $cwd, $env)\u0060) or \u0060proc_open($command, $spec, $pipes, $cwd, $env)\u0060, absolute paths instead of \u0060chdir\u0060, an explicit \u0060DateTimeZone\u0060 or locale to \u0060DateTimeImmutable\u0060/\u0060IntlDateFormatter\u0060/\u0060NumberFormatter\u0060, an explicit encoding to the \u0060mb_*\u0060 call, \u0060LIBXML_NOERROR\u0060/\u0060libxml_get_errors\u0060 handling in one place. Where the global genuinely must move, wrap it \u0060try\u0060/\u0060finally\u0060 so the restore runs on every path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CodeCleaner.php"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"595e4f9ef929c32d08fe00e29e177a80f793d938444de405d6c0abe6ee8c7abc"}},{"ruleId":"X19","level":"warning","message":{"text":"Process-global state is restored only on the happy path: \u0060__construct\u0060 changes state that belongs to the whole PROCESS and changes it back at the end of the same body \u2014 the process locale (\u0060LC_NUMERIC\u0060) (changed at line 58, put back at line 64) \u2014 which says the change was meant to last no longer than this call. But the restore is an ordinary statement on the straight-line path, not a \u0060finally\u0060, so it is skipped by any exception thrown in between: PHP then keeps the overwritten value for the rest of the request \u2014 and in a CLI command, a queue worker or a long-running server (Octane, Swoole, RoadRunner, FrankenPHP) for the rest of the process\u0027s life \u2014 and every later relative path, child-process launch, date, number format, XML parse or error report in ANY class reads it. That failure is silent and remote from its cause: the function that breaks is not the function that moved the value. The durable fix is not to widen the restore but to stop mutating the global: pass the value to the operation that needs it \u2014 \u0060cwd\u0060 and \u0060env\u0060 to Symfony \u0060Process\u0060 (\u0060new Process($command, $cwd, $env)\u0060) or \u0060proc_open($command, $spec, $pipes, $cwd, $env)\u0060, absolute paths instead of \u0060chdir\u0060, an explicit \u0060DateTimeZone\u0060 or locale to \u0060DateTimeImmutable\u0060/\u0060IntlDateFormatter\u0060/\u0060NumberFormatter\u0060, an explicit encoding to the \u0060mb_*\u0060 call, \u0060LIBXML_NOERROR\u0060/\u0060libxml_get_errors\u0060 handling in one place. Where the global genuinely must move, wrap it \u0060try\u0060/\u0060finally\u0060 so the restore runs on every path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VarDumper/Presenter.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"74cb466bb3b11ab9452c0ffaa200547b0037faa5aee58e384ef67330e087b433"}},{"ruleId":"X19","level":"warning","message":{"text":"Process-global state is restored only on the happy path: \u0060present\u0060 changes state that belongs to the whole PROCESS and changes it back at the end of the same body \u2014 the process locale (\u0060LC_NUMERIC\u0060) (changed at line 123, put back at line 136) \u2014 which says the change was meant to last no longer than this call. But the restore is an ordinary statement on the straight-line path, not a \u0060finally\u0060, so it is skipped by any exception thrown in between: PHP then keeps the overwritten value for the rest of the request \u2014 and in a CLI command, a queue worker or a long-running server (Octane, Swoole, RoadRunner, FrankenPHP) for the rest of the process\u0027s life \u2014 and every later relative path, child-process launch, date, number format, XML parse or error report in ANY class reads it. That failure is silent and remote from its cause: the function that breaks is not the function that moved the value. The durable fix is not to widen the restore but to stop mutating the global: pass the value to the operation that needs it \u2014 \u0060cwd\u0060 and \u0060env\u0060 to Symfony \u0060Process\u0060 (\u0060new Process($command, $cwd, $env)\u0060) or \u0060proc_open($command, $spec, $pipes, $cwd, $env)\u0060, absolute paths instead of \u0060chdir\u0060, an explicit \u0060DateTimeZone\u0060 or locale to \u0060DateTimeImmutable\u0060/\u0060IntlDateFormatter\u0060/\u0060NumberFormatter\u0060, an explicit encoding to the \u0060mb_*\u0060 call, \u0060LIBXML_NOERROR\u0060/\u0060libxml_get_errors\u0060 handling in one place. Where the global genuinely must move, wrap it \u0060try\u0060/\u0060finally\u0060 so the restore runs on every path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VarDumper/Presenter.php"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff95db46077e66a21822b8be7819010c22f5622201f808d9cbbaa6a77fc0ed94"}},{"ruleId":"X19","level":"warning","message":{"text":"Process-global state is restored only on the happy path: \u0060fetch\u0060 changes state that belongs to the whole PROCESS and changes it back at the end of the same body \u2014 the error handler (changed at line 156, reset at line 162) \u2014 which says the change was meant to last no longer than this call. But the restore is an ordinary statement on the straight-line path, not a \u0060finally\u0060, so it is skipped by any exception thrown in between: PHP then keeps the overwritten value for the rest of the request \u2014 and in a CLI command, a queue worker or a long-running server (Octane, Swoole, RoadRunner, FrankenPHP) for the rest of the process\u0027s life \u2014 and every later relative path, child-process launch, date, number format, XML parse or error report in ANY class reads it. That failure is silent and remote from its cause: the function that breaks is not the function that moved the value. The durable fix is not to widen the restore but to stop mutating the global: pass the value to the operation that needs it \u2014 \u0060cwd\u0060 and \u0060env\u0060 to Symfony \u0060Process\u0060 (\u0060new Process($command, $cwd, $env)\u0060) or \u0060proc_open($command, $spec, $pipes, $cwd, $env)\u0060, absolute paths instead of \u0060chdir\u0060, an explicit \u0060DateTimeZone\u0060 or locale to \u0060DateTimeImmutable\u0060/\u0060IntlDateFormatter\u0060/\u0060NumberFormatter\u0060, an explicit encoding to the \u0060mb_*\u0060 call, \u0060LIBXML_NOERROR\u0060/\u0060libxml_get_errors\u0060 handling in one place. Where the global genuinely must move, wrap it \u0060try\u0060/\u0060finally\u0060 so the restore runs on every path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ManualUpdater/GitHubChecker.php"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"d834477fabf8f218eead9e4c8c53b7dc52bb07a190923802302767f54f87a979"}},{"ruleId":"X19","level":"warning","message":{"text":"Process-global state is restored only on the happy path: \u0060beforeRun\u0060 changes state that belongs to the whole PROCESS and changes it back at the end of the same body \u2014 the \u0060default_socket_timeout\u0060 ini setting (changed at line 114, put back at line 119) \u2014 which says the change was meant to last no longer than this call. But the restore is an ordinary statement on the straight-line path, not a \u0060finally\u0060, so it is skipped by any exception thrown in between: PHP then keeps the overwritten value for the rest of the request \u2014 and in a CLI command, a queue worker or a long-running server (Octane, Swoole, RoadRunner, FrankenPHP) for the rest of the process\u0027s life \u2014 and every later relative path, child-process launch, date, number format, XML parse or error report in ANY class reads it. That failure is silent and remote from its cause: the function that breaks is not the function that moved the value. The durable fix is not to widen the restore but to stop mutating the global: pass the value to the operation that needs it \u2014 \u0060cwd\u0060 and \u0060env\u0060 to Symfony \u0060Process\u0060 (\u0060new Process($command, $cwd, $env)\u0060) or \u0060proc_open($command, $spec, $pipes, $cwd, $env)\u0060, absolute paths instead of \u0060chdir\u0060, an explicit \u0060DateTimeZone\u0060 or locale to \u0060DateTimeImmutable\u0060/\u0060IntlDateFormatter\u0060/\u0060NumberFormatter\u0060, an explicit encoding to the \u0060mb_*\u0060 call, \u0060LIBXML_NOERROR\u0060/\u0060libxml_get_errors\u0060 handling in one place. Where the global genuinely must move, wrap it \u0060try\u0060/\u0060finally\u0060 so the restore runs on every path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ExecutionLoop/ProcessForker.php"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6fd9e05565a0755ab8cfe0b2e6b3b15ce83b570feee6bbb7b2a80dc7d3396d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CodeCleaner.php"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce72943359d4cd25022da4954fbd0a10ddbcd3fe1f736df8f6361dd4d0d5de94"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Shell.php"},"region":{"startLine":2265}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3839b420dd0114f80d3e83b243bf061fba0438aa696638eb57a591fa917a00"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/functions.php"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d80f11accea5f00930c2afc8676ebd3016dedd0283dc9eb382a5d83bdfd88b7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/VersionUpdater/IntervalChecker.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c399d49af5306e00729f7127e7ac55bc0fee52abb1cf90657fd21e50e758a6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TabCompletion/AutoloadWarmer/ComposerAutoloadWarmer.php"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5c51dcd612701e1cfece7772b8dca8668555f216ec7e4551bb4daa31742539"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Interactive/Actions/HistoryExpansionAction.php"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec3f87a5c48280f6834889b102a02f456577c9180cfe848cce689888bd56d14"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Hoa/AutocompleterPath.php"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec42ed1d45524f1e27c42237b74a6038dfc16053e371fa4ad83b7f1450c9df42"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ManualUpdater/IntervalChecker.php"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3f2607f1de246fd4a0e614d06f03dc8ad70ac9d656fec045cc15a2a0c34d41"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ExecutionLoop/RunkitReloader.php"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e281b2e7a0f2b7f9ee4397509b4043e58fe151e870b4a2fb197a964cb6daff6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ExecutionLoop/UopzReloader.php"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae7445c7eca590bec2779e7f8d4aba3d148276ad3f9bd1fd098565140803f97"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ExecutionLoop/UopzReloaderVisitor.php"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"1403cc4cc163ccd414fa8222cd3b0a6dbebb434407b48d7291a40a098099399d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ExecutionLoop/UopzReloaderVisitor.php"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc76b5c35b2c0851326ae06fd06d0eb0d73ac2e93270c7adaea6d64b9db8e839"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Completion/Source/CommandOptionSource.php"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ca0673ed1522da77608364346c95ac370edeaced9e3d9cb47990a282cc0c01"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Command/ListCommand/FunctionEnumerator.php"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"341c831143d59d550bf40c7cbf713bbde922111137574e9fe0940a305dad3f35"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Error)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CodeAnalysis/BufferAnalyzer.php"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f162c9a2934b3d41003064098d50ee654ac52ee9826b2f98b31e20ed08937f1f"}},{"ruleId":"X5","level":"note","message":{"text":"PHP static analysis does not check null everywhere: 0/1 of this repository\u0027s PHPStan/Psalm configuration(s) run at a level that checks null \u2014 PHPStan level 8 or above (\u0060max\u0060 included), or Psalm \u0060errorLevel\u0060 3 or below (Psalm\u0027s default, with none stated, is 1). A PHPStan level written neither in the file nor in an include inside the repository is 0, PHPStan\u0027s own default. Below those levels the checker removes \u0060null\u0060 from a union before any rule looks, so \u0060$order-\u003Ecustomer()-\u003Ename()\u0060 on a \u0060?Customer\u0060 passes, and the first null reaching it is an \u0060Error: Call to a member function name() on null\u0060 in production."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4ee877508ebc333ebff2765634874753d7fd67f71ea749a6c333792a59b461d7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getMTime\u0060 swallows every exception into \u0060return -1\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Readline/Hoa/IteratorSplFileInfo.php"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adeaba051e50953b0049975fadb3ef11c143199341a6f6e91f63d0b2a190749"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060generateClassMap\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TabCompletion/AutoloadWarmer/ComposerAutoloadWarmer.php"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"f679d2c0184422e429ee4ded3d244c46ef97eb45600609cdfe48dcf917a3226b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060getInstanceMatches\u0060 returns \u0060[]\u0060 when \u0060InvalidArgumentException\u0060 is thrown, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TabCompletion/Matcher/MagicMethodsMatcher.php"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac53e807111c3cc90fcefca766e4b5ddc9b536883401d31d1449f347068bcd6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060getInstanceMatches\u0060 returns \u0060[]\u0060 when \u0060InvalidArgumentException\u0060 is thrown, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TabCompletion/Matcher/MagicPropertiesMatcher.php"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c138ff52cc748e844dca33f8840fb50ebe0f09487b262109ede3d06fdaf25fa7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060getMatches\u0060 returns \u0060[]\u0060 when \u0060InvalidArgumentException\u0060 is thrown, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TabCompletion/Matcher/ObjectAttributesMatcher.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9615563f10e026a95328d0e871003cea7fe06c5a898c75fc42da5a3d865d0d1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060getMatches\u0060 returns \u0060[]\u0060 when \u0060InvalidArgumentException\u0060 is thrown, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TabCompletion/Matcher/ObjectMethodDefaultParametersMatcher.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fa29ff2deee0ee37c952c228520103a0da53caabe06691903a964882aedff0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060getMatches\u0060 returns \u0060[]\u0060 when \u0060InvalidArgumentException\u0060 is thrown, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TabCompletion/Matcher/ObjectMethodsMatcher.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d434d753bfee20e902ed207b61a7219841ef0cfbb7599fee7173eb3d94a54b4a"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":18,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}