{"$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":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"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":"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":"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":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"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":"Request.create (cyclomatic 39): Request.create has cyclomatic complexity 39 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: Request.php holds 3 of the 15 methods over the threshold \u2014 including the worst \u2014 and 37 of the 107 points over it (35%), 2.1\u00D7 the next-largest file (BinaryFileResponse.php at 18). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Request.php"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d64868bb9ef6706e1ca974c8e86783aef4837a05a586089e3f4b0c987bb761"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionHandlerFactory.createHandler (cyclomatic 33): SessionHandlerFactory.createHandler has cyclomatic complexity 33 (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":"Session/Storage/Handler/SessionHandlerFactory.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"117971f16254320ffe805bef0e5e769ec921a8f8eb0cfd4b2557e30d604ad3e7"}},{"ruleId":"D1","level":"warning","message":{"text":"BinaryFileResponse.prepare (cyclomatic 31): BinaryFileResponse.prepare has cyclomatic complexity 31 (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":"BinaryFileResponse.php"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cebae61ec20192bfeea57eb1a1b801b064f383e8ab318d9a3f7bb46002cca0"}},{"ruleId":"D1","level":"warning","message":{"text":"PdoSessionHandler.buildDsnFromUrl (cyclomatic 24): PdoSessionHandler.buildDsnFromUrl 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":"Session/Storage/Handler/PdoSessionHandler.php"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a439292787212fee944a19d5cefd810e9d9e13fdc1d6caf6c4e423e9ac650e"}},{"ruleId":"D1","level":"warning","message":{"text":"Request.getTrustedValues (cyclomatic 22): Request.getTrustedValues 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: Request.php holds 3 of the 15 methods over the threshold \u2014 including the worst \u2014 and 37 of the 107 points over it (35%), 2.1\u00D7 the next-largest file (BinaryFileResponse.php at 18). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Request.php"},"region":{"startLine":2218}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f58d8e92aad8f8a00bcccd2479a8ef503e40d9e89dbf060fa12fccb4c7af34"}},{"ruleId":"D1","level":"warning","message":{"text":"Cookie.fromString (cyclomatic 21): Cookie.fromString 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":"Cookie.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a032d45494baf399dd9505ef69dfcc67872b22b3ca03aadfddfb54fef3723695"}},{"ruleId":"D1","level":"warning","message":{"text":"Request.prepareBaseUrl (cyclomatic 21): Request.prepareBaseUrl has cyclomatic complexity 21 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: Request.php holds 3 of the 15 methods over the threshold \u2014 including the worst \u2014 and 37 of the 107 points over it (35%), 2.1\u00D7 the next-largest file (BinaryFileResponse.php at 18). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Request.php"},"region":{"startLine":1998}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a782e67e3a86487713e871bd48d9e12d98db19f1f763421984b6b70ecb7cad"}},{"ruleId":"D1","level":"warning","message":{"text":"ParameterBag.filter (cyclomatic 20): ParameterBag.filter 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":"ParameterBag.php"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43b857629bbb6debb837880c18aa17a84b1c8387a826942b2fb141b2dfd01b2"}},{"ruleId":"D1","level":"warning","message":{"text":"InputBag.filter (cyclomatic 19): InputBag.filter has cyclomatic complexity 19 (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":"InputBag.php"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"d925d5cddca17c777660352079a0d0b73268f17eb38d8e3f33c117c6e65083c2"}},{"ruleId":"D1","level":"warning","message":{"text":"IpUtils.checkIp6 (cyclomatic 18): IpUtils.checkIp6 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":"IpUtils.php"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa054601cea5bab984d97582420c0ce803950229bea3a3701b048099aae77a7"}},{"ruleId":"D1","level":"warning","message":{"text":"Response.prepare (cyclomatic 18): Response.prepare 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":"Response.php"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d652bc068d5dbcc2ff049f637621f85638679a92a52e2753ce66c8e01399730"}},{"ruleId":"D1","level":"warning","message":{"text":"BinaryFileResponse.sendContent (cyclomatic 17): BinaryFileResponse.sendContent 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":"BinaryFileResponse.php"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"106f3afc58c0df7e53e5de1ad8265c94ca26157bdc1a8b79f3598646e09df690"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerBag.getHeaders (cyclomatic 17): ServerBag.getHeaders 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":"ServerBag.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0934fc778547ac19c339a5d7bc2b2e05eb1a471416d9220d8f5b1d7ed58ff4a4"}},{"ruleId":"D1","level":"warning","message":{"text":"Response.setCache (cyclomatic 16): Response.setCache has cyclomatic complexity 16 (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":"Response.php"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea511f3e057fbd69884fbda165c98f09118529befab6d9ca17526b273908bd2"}},{"ruleId":"D1","level":"warning","message":{"text":"UrlHelper.getAbsoluteUrlFromContext (cyclomatic 16): UrlHelper.getAbsoluteUrlFromContext has cyclomatic complexity 16 (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":"UrlHelper.php"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2a437c4a299cf3c9445f201e9495369c1d9b1858e3d90cad235e168f3c19f0"}},{"ruleId":"D2","level":"warning","message":{"text":"BinaryFileResponse.prepare (cognitive 64): BinaryFileResponse.prepare has cognitive complexity 64 (threshold 15). Drivers by points: if/else 19 (40 pts), ternaries 5 (15 pts), boolean chains 6, loops 1 (3 pts) (nesting depth added 33). 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":"BinaryFileResponse.php"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1a6770aa6bb3a317e884876ed63608e40c7364a117f9310d757502e0eccea7"}},{"ruleId":"D2","level":"warning","message":{"text":"Request.create (cognitive 39): Request.create has cognitive complexity 39 (threshold 15). Drivers by points: if/else 21 (26 pts), boolean chains 10, ternaries 2, match/switch 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":"Request.php"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bff202ad497762205ec2ec845b87b06af49c667eedaad8155a2a9b53581f6ed"}},{"ruleId":"D2","level":"warning","message":{"text":"Request.getTrustedValues (cognitive 37): Request.getTrustedValues has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (17 pts), ternaries 4 (11 pts), boolean chains 5, 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":"Request.php"},"region":{"startLine":2218}}}],"partialFingerprints":{"codehealthFindingId/v1":"c330d8cd3cdfccdd9e26f1d6b43102066181e95a412d6019142a57b0aad8d128"}},{"ruleId":"D2","level":"warning","message":{"text":"PdoSessionHandler.buildDsnFromUrl (cognitive 34): PdoSessionHandler.buildDsnFromUrl has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 4, match/switch 1 (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":"Session/Storage/Handler/PdoSessionHandler.php"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"807329509d03df165b0fcf7fd630094d467dc4a9d6b30ef92aabf2fe9204d0df"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisSessionHandler.clear (cognitive 29): RedisSessionHandler.clear has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 6 (13 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":"Session/Storage/Handler/RedisSessionHandler.php"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3561c07eb8b280a7f033ff2966299761efb4ea12c98b166b3adb7201492358a4"}},{"ruleId":"D2","level":"warning","message":{"text":"Response.prepare (cognitive 27): Response.prepare has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 4, loops 1 (2 pts), ternaries 1 (2 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":"Response.php"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0a8b750c2517b18bdc9ca0164ecbdd1c1a1880be02832ac56504ad99269dc7"}},{"ruleId":"D2","level":"warning","message":{"text":"BinaryFileResponse.sendContent (cognitive 24): BinaryFileResponse.sendContent has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 5, loops 2 (3 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":"BinaryFileResponse.php"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb361977488944137f507f61af38e18805ed3545bd522f75807a9a1f940b4c1c"}},{"ruleId":"D2","level":"warning","message":{"text":"Cookie.fromString (cognitive 24): Cookie.fromString has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 3, ternaries 3, 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":"Cookie.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"028e428a2697f1cac8401daae1de9fe149748c4f1c1027ce2eae2e1c27602943"}},{"ruleId":"D2","level":"warning","message":{"text":"IpUtils.checkIp6 (cognitive 24): IpUtils.checkIp6 has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 5, ternaries 1 (2 pts), 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":"IpUtils.php"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"117c688fc2b2f7e72450bd12fa9b111aad8aea2893f55c999836566f000fc3b6"}},{"ruleId":"D2","level":"warning","message":{"text":"Request.getHost (cognitive 24): Request.getHost has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 2 (4 pts), boolean chains 3, loops 1 (2 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":"Request.php"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"584235f77bed90cec2b63dd65607397f1b582c5048496a88aa26ea7280af42f2"}},{"ruleId":"D2","level":"warning","message":{"text":"Response.setCache (cognitive 23): Response.setCache has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 1, loops 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":"Response.php"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"2392075b9b59d7d645c57518c538c5d754f754a90de7f4d797669d46aaa4d542"}},{"ruleId":"D2","level":"warning","message":{"text":"PdoSessionHandler.doRead (cognitive 23): PdoSessionHandler.doRead has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (14 pts), error handling 1 (3 pts), ternaries 1 (3 pts), boolean chains 2, 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":"Session/Storage/Handler/PdoSessionHandler.php"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ad3cd8ef12ac95be2a798139cfcdce5b2044ac206c948d53dfc3a2fe43466b"}},{"ruleId":"D2","level":"warning","message":{"text":"ParameterBag.filter (cognitive 22): ParameterBag.filter has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 11, if/else 9 (11 pts) (nesting depth added 2). 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":"ParameterBag.php"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae28a44d28c7f390c4c3ed1ddf2a471e865d66b01496cf6981b29775ce54792e"}},{"ruleId":"D2","level":"warning","message":{"text":"InputBag.filter (cognitive 21): InputBag.filter has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, if/else 8 (10 pts), ternaries 1 (nesting depth added 2). 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":"InputBag.php"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"9461b924dfd40e2f9daef3defc048343a13e857eead02e4b0abf1f2d5b3dcfbf"}},{"ruleId":"D2","level":"warning","message":{"text":"Request.prepareBaseUrl (cognitive 20): Request.prepareBaseUrl has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9, boolean chains 8, loops 1 (2 pts), ternaries 1 (nesting depth added 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":"Request.php"},"region":{"startLine":1998}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bde91abee9d902376188901bc8d77c28c5c3689142f9948ca6aab5eb24fb344"}},{"ruleId":"D2","level":"warning","message":{"text":"Response.sendHeaders (cognitive 20): Response.sendHeaders has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 3 (4 pts), boolean chains 3, 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":"Response.php"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"feeeac4bd48b9e3846594da18f86e63a9a18ae17eb48fba69fd99eb874c66779"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerBag.getHeaders (cognitive 20): ServerBag.getHeaders has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 2, 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":"ServerBag.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4c751bad814f05bc7817d8f9fde1034327baf325a8bddc6469a88d6e0f501a"}},{"ruleId":"D2","level":"warning","message":{"text":"HeaderUtils.parseQuery (cognitive 18): HeaderUtils.parseQuery has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 2 (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":"HeaderUtils.php"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98c10c1c74dc22bcc13f7ff0319d40b29186d8cc03cb648fa6d4009faf62bd2"}},{"ruleId":"D2","level":"warning","message":{"text":"HeaderUtils.groupParts (cognitive 18): HeaderUtils.groupParts has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 3 (4 pts), boolean chains 3, ternaries 1 (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":"HeaderUtils.php"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"673d23d7bef791de8f0bd11f82d442f78ea5656829f3a1be0bb6c35b9570db3f"}},{"ruleId":"D2","level":"warning","message":{"text":"Request.getFormat (cognitive 18): Request.getFormat has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 3, loops 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":"Request.php"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"05880b435c697de39dc4a4ddcdda105f7f1297c70e73de260c5f0aa9fb43f36d"}},{"ruleId":"D2","level":"warning","message":{"text":"Response.isNotModified (cognitive 18): Response.isNotModified has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, error handling 1 (2 pts), 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":"Response.php"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71371f778080435637d74740ac9bc096cbfc8405635aba1472ed25d29f6f6ff"}},{"ruleId":"D2","level":"warning","message":{"text":"Request.prepareRequestUri (cognitive 17): Request.prepareRequestUri has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 2 (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":"Request.php"},"region":{"startLine":1951}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ed4c522c0c480c4e49cbc6f131e1f88eaf67dd0130fc3368e29f2b7d24275d"}},{"ruleId":"D2","level":"warning","message":{"text":"UrlHelper.getAbsoluteUrl (cognitive 16): UrlHelper.getAbsoluteUrl has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6 (nesting depth added 3). 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":"UrlHelper.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64c07fe66df6d83fd188d22f582e19e6d9d52783cf7a35e7bd2f2106dcd5a05"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Request: TooManyMethods \u2014 95 methods. The bar is 30 methods; this is 65 over it, 3.17\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":"Request.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ece81b0f3a35a666210b73a11db960228abfafd58b1e95a562f03085eb6816"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Request: ClassTooLong \u2014 897 significant lines (blank, comment-only and punctuation-only lines excluded), 95 methods. The bar is 400 significant lines; this is 497 over it, 2.24\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":"Request.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4d195e1ca86896f7eafd1a98d647392198b6af3d2a975679142cc85ad9e5b0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Response: TooManyMethods \u2014 62 methods. The bar is 30 methods; this is 32 over it, 2.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":"Response.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf1b5c5a170629fbc6ba435bef06102225c2e706ef2074c4c4d406b5b15df5c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ./Request.php: FileTooLong \u2014 912 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: Request (43-2372). The bar is 500 significant lines; this is 412 over it, 1.82\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":"Request.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c06fc8d4bb9165dbd1fe4f7fcd3c900b5bfdc7d7ffcb5dab710407b1bd0030"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PdoSessionHandler: ClassTooLong \u2014 489 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 89 over it, 1.22\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":"Session/Storage/Handler/PdoSessionHandler.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b41a9f3fa528fbd3719e51d62fd7a2cf6564305979e51e0fda6a117124696f5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Response: ClassTooLong \u2014 438 significant lines (blank, comment-only and punctuation-only lines excluded), 62 methods. The bar is 400 significant lines; this is 38 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":"Response.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"447b52a664b774d3987e383563c3e4b0ecef62eafe4bafbf67c6d6aab83318ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): InputBag.php:145-187 | ParameterBag.php:222-269 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"InputBag.php"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8bc10f466d52d10a32b04f405e3eff85b076548d6356112ba74c94a71a4190"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Request.php:1664-1682 | Request.php:1694-1708 \u2014 These two members are one piece of code written twice and then edited apart: 15 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":"Request.php"},"region":{"startLine":1664}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bac39f39c1c7ea5b84053b1e78641c3719091cef9e169169257de321e2631e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Session/Storage/Handler/MongoDbSessionHandler.php:120-138 | Session/Storage/Handler/MongoDbSessionHandler.php:144-163 \u2014 These two members are one piece of code written twice and then edited apart: 19 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":"Session/Storage/Handler/MongoDbSessionHandler.php"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfbbe6e9cfda4a78bfcf1385c8dccba6667b92bce4da94a416982fd1758f246"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Session/Storage/Handler/MemcachedSessionHandler.php:47-52 | Session/Storage/Handler/RedisSessionHandler.php:47-52 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"Session/Storage/Handler/MemcachedSessionHandler.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2781a7107e7ef0198998409951a0fec346441ac2bf8951acd02a72c81b14e41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Session/Storage/NativeSessionStorageFactory.php:38-43 | Session/Storage/PhpBridgeSessionStorageFactory.php:34-39 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"Session/Storage/NativeSessionStorageFactory.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9fa00ac57851d83739e35a0d2679c38d6d0ef211f3c83b62064c6cfb96acf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Session/Storage/MockArraySessionStorage.php:55-65 | Session/Storage/MockFileSessionStorage.php:48-60 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"Session/Storage/MockArraySessionStorage.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff6b14bbe1d9c7709a2e45894c28d3386d2fc62542c5ecd3144ee5c5dd27e77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 1\u002B corresponding lines): RequestMatcher/HeaderRequestMatcher.php:35-35 | RequestMatcher/IpsRequestMatcher.php:33-33 | RequestMatcher/QueryParameterRequestMatcher.php:35-35 | RequestMatcher/SchemeRequestMatcher.php:35-35 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 1 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RequestMatcher/HeaderRequestMatcher.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b81b508fe0ff21c56cf310d7e385fef6fa1f59c51c5dc3773a4f7fa7c3b2923"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Session/Attribute/AttributeBag.php:158-165 | Session/Session.php:110-117 \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":"Session/Attribute/AttributeBag.php"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b98d07de6f1d1fdb74f938cf2d6b6fa25c48d7c5bc4c15fa62f7107c92a68e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): InputBag.php:92-92 | ParameterBag.php:169-169 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"InputBag.php"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e6bd4b6fc7afbaefe2a44f17687bf45cbf36294d8597499213c47780ba4072"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): InputBag.php:102-102 | ParameterBag.php:179-179 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"InputBag.php"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbaf736795f38c55e3931cf901380beb77e4950eff7808189f16cf91a0e0a4df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Session/Session.php:198-203 | Session/SessionBagProxy.php:39-44 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"Session/Session.php"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ae5256df8bf75a680c47b694b380e355c8da86619288a4b69fa3879cdc7aac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201326 lines \u00D7 3): Session/Storage/Handler/PdoSessionHandler.php:866-891 | Session/Storage/Handler/PdoSessionHandler.php:899-924 | Session/Storage/Handler/PdoSessionHandler.php:964-967 \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 \u0060Session/Storage/Handler/PdoSessionHandler.php:866\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. 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":"Session/Storage/Handler/PdoSessionHandler.php"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53b1726883629bdb2d442315aaed91f0432ecbd5616726d0e15232e50f043a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): InputBag.php:192-214 | ParameterBag.php:321-343 \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":"InputBag.php"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d42abed659016685f8c739aecc1bb82f28b815125c7ced2a29dfae35b84ed17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): InputBag.php:156-185 | ParameterBag.php:238-267 \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":"InputBag.php"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8230959782b55b2152fff1371ad44fb8fd8026d8f78e569661ac3f27f5d13dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Response.php:776-786 | Response.php:955-965 \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 \u0060Response.php:776\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":"Response.php"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0ad3d516d29011c1607bd904e97a437c2c5eb47e042b2d11ee7b89166622f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): File/File.php:92-101 | File/UploadedFile.php:193-202 \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 \u0060File/File.php:92\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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"File/File.php"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0ca9e0662790ba157f178a634660b6dca83129f02b210f6884841fa25cf3d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Request.php:346-355 | Request.php:568-577 \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":"Request.php"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2406fd575066b1739af43c565b5877c7c1ad2bea3c28ad37f87aa3ad948a56e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Request.php:1672-1680 | Request.php:1698-1706 \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":"Request.php"},"region":{"startLine":1672}}}],"partialFingerprints":{"codehealthFindingId/v1":"907ac0b4d58aa86a4fa6b66e626233f9d9235a200ffd666b47a1b21c23f92bad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Session/Storage/Handler/MarshallingSessionHandler.php:105-111 | Session/Storage/Handler/StrictSessionHandler.php:90-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Session/Storage/Handler/MarshallingSessionHandler.php"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8517b7f231a79eb567080060535fea598a06195626dbefaea1bf49b3abf22e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): File/File.php:55-59 | File/UploadedFile.php:148-152 \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":"File/File.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5e4f12d551b7eaccf304e22537a6746cbce3d256fef5b4b63d0b87a5fd5e02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): HeaderBag.php:246-253 | ParameterBag.php:301-308 \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":"HeaderBag.php"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"1864a2c48e483f4edf29c02dc05e9eb786c318ad0ad5fa2c0e04c79de425801e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Session/Storage/Handler/PdoSessionHandler.php:225-229 | Session/Storage/Handler/PdoSessionHandler.php:232-236 | Session/Storage/Handler/PdoSessionHandler.php:239-243 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Session/Storage/Handler/PdoSessionHandler.php"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6abf42c8b79d9bd66295eb16b7726d1c01c44d21366c975c1c5012a4321363"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Session/Storage/Handler/PdoSessionHandler.php:273-277 | Session/Storage/Handler/PdoSessionHandler.php:285-289 \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":"Session/Storage/Handler/PdoSessionHandler.php"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2cdb69dd7e8fa89142d1262e7f29f1f02b015b2bca2cbe19e2cc1da7b92642"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Cookie (LCOM4 6): Cookie\u0027s methods fall into 6 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 6 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":"Cookie.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"94eeaa190e04d29c62be141d315bc62763941bb118c68d8482224f4bbfc6ad01"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testConstructor: 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":"Tests/ParameterBagTest.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc69c7f12b4dd64b4dc399d23d835d7f88706fb3a5febf455ba0a6c3a16c8b43"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDirectPropertyWriteIsDeprecated: 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":"Tests/RequestTest.php"},"region":{"startLine":3399}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c6ccdb229d5c720a4cfc25dd23ff4688fee2d6b519d08aa0cdefc743a6601f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDirectPropertyWriteIsDeprecatedAfterFailedInitialize: 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":"Tests/RequestTest.php"},"region":{"startLine":3410}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a2a65f8b6283a03d38d4ebf6339a2ca13ffc59caf8bc0d4c74fa642d05381e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDirectPropertyWriteFromSubclassReportsSubclass: 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":"Tests/RequestTest.php"},"region":{"startLine":3427}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b133b9e9546b0786cc7cb6258a5a90c7e3d9680b85a681ddb3e777822172af"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNoDeprecationsAreTriggered: 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":"Tests/ResponseTest.php"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5a61f918c19b45cae46df1a7ed641079fbde8d428f65755a288f0ec1353fc2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDirectHeadersWriteIsDeprecated: 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":"Tests/ResponseTest.php"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb38b13bf9fadb769f14d2f8c5164f215406533ba03d7b2c6b74c0e95896f9dc"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDirectHeadersWriteFromSubclassReportsSubclass: 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":"Tests/ResponseTest.php"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a86d96eb1d1e633f4c739989b1f704b6f5616280754c7859c19d43b76b5f412"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSaveReportsChangesMadeWithoutCallingSet: 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":"Tests/Session/SessionTest.php"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b14b9e4ae021906f6fd616af463f7508065bab57702d2d274f3643d13d78fa5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSaveReportsChangesMadeToValuesReadFromStorage: 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":"Tests/Session/SessionTest.php"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee3cefc275779690de9a0eeaacd5e3f2d0711b9ffb1c84146a30af349eb13fd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testClear: 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":"Tests/Session/Storage/MetadataBagTest.php"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d145b3a9e674d6636488052444f1f0ba5b5b965787999e3c8e56ac6b35ec9b6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCanCreateNativeSessionStorageWhenSessionAlreadyStarted: 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":"Tests/Session/Storage/NativeSessionStorageTest.php"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"2849900b33cc5a60c8af2966f7daaa5f24c5b7916dc0fdaf5f8c0a3fd73f07e6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSetSessionOptionsOnceSessionStartedIsIgnored: 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":"Tests/Session/Storage/NativeSessionStorageTest.php"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"919daff438529272e7991892cc4b331bc0e760b1dabd18cf8b4f2c0fd328ce62"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSaveHandlesNullSessionGracefully: 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":"Tests/Session/Storage/NativeSessionStorageTest.php"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfb36998a5a2c0eb61fc5e9150d6eded2bd0725b0ca892b0245205e684d05ef"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSignWithoutExpirationIsDeprecated: 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":"Tests/UriSignerTest.php"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"27dfad05745549d69cdb02f64c56bf92ed91f09958fc4ed78b98c00276c5346e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Request.php: Request.php changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Request.prepareBaseUrl at line 1998. 4 of those changes were fix/bug commits, and the other 12 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-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:19:10 \u002B01:00\u0027 --until=\u00272026-11-12 17:19:10 \u002B01:00\u0027 --full-history --no-merges -- Request.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":"Request.php"},"region":{"startLine":1998}}}],"partialFingerprints":{"codehealthFindingId/v1":"c886a94498230a290da80b607a6fb49327630068206211b97439cc19c9434a31"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: BinaryFileResponse.php: BinaryFileResponse.php changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in BinaryFileResponse.prepare at line 193. 3 of those changes were fix/bug commits, and the other 4 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-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:19:10 \u002B01:00\u0027 --until=\u00272026-11-12 17:19:10 \u002B01:00\u0027 --full-history --no-merges -- BinaryFileResponse.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":"BinaryFileResponse.php"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97b052d89877c7ac47b48d12264e2134126b006492c189b41722b80d7d0b133"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ParameterBag.php: ParameterBag.php changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in ParameterBag.filter at line 220. 1 of those changes was a fix/bug commit, and the other 3 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-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:19:10 \u002B01:00\u0027 --until=\u00272026-11-12 17:19:10 \u002B01:00\u0027 --full-history --no-merges -- ParameterBag.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":"ParameterBag.php"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c840dae0bb7ba448536a0c0bf4276241a5f62efe32f957df6a6b77fd6e1e0697"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Session/Storage/Handler/SessionHandlerFactory.php: Session/Storage/Handler/SessionHandlerFactory.php changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in SessionHandlerFactory.createHandler at line 26. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:19:10 \u002B01:00\u0027 --until=\u00272026-11-12 17:19:10 \u002B01:00\u0027 --full-history --no-merges -- Session/Storage/Handler/SessionHandlerFactory.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":"Session/Storage/Handler/SessionHandlerFactory.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf17377d513b370d1f1b0af7d34671bfebeeb3f2db30ec665b1b13399881fee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: InputBag.php: InputBag.php changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in InputBag.filter at line 143. 1 of those changes was a fix/bug commit, and the other 1 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-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:19:10 \u002B01:00\u0027 --until=\u00272026-11-12 17:19:10 \u002B01:00\u0027 --full-history --no-merges -- InputBag.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":"InputBag.php"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"78465903f68938345255a4bae19bc4610dc7e457d134ed705ab2b23349a5f35f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: UrlHelper.php: UrlHelper.php changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in UrlHelper.getAbsoluteUrlFromContext at line 82. 1 of those changes was a fix/bug commit, and the other 1 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-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:19:10 \u002B01:00\u0027 --until=\u00272026-11-12 17:19:10 \u002B01:00\u0027 --full-history --no-merges -- UrlHelper.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":"UrlHelper.php"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13581feedc671c042bae8f56eaabcfeca8e4e019e249af5ecde20e6db767f07"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 9 significant file(s) lose their only recent owner: HeaderBag.php, Session/Attribute/AttributeBag.php, Session/Session.php, Session/Storage/Handler/SessionHandlerFactory.php, TargetedCacheControl.php, Session/Storage/MetadataBag.php, AcceptHeaderItem.php, RateLimiter/AbstractRequestRateLimiter.php (\u002B1 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bfb28f8176ae10f67d8c4ebfc36c57a92e7a5bc9ab84f0240cf50166042ca1b2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 7 of 47 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; 47 of the 106 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: AcceptHeader.php, StreamedJsonResponse.php, Session/Storage/MockArraySessionStorage.php, ServerBag.php, Session/Storage/SessionStorageInterface.php, Session/SessionInterface.php, Session/Flash/AutoExpireFlashBag.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":"AcceptHeader.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fb1773bd554118114cd9e2b36660c351439a3208b64d9c80c1d2bdf86080b4"}},{"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":"StreamedJsonResponse.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74ca91f823638fea16884a8677a73757137885a3fa2f6ac86411dbd48b82f8b"}},{"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":"Session/Storage/MockArraySessionStorage.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5bb274567cd616c38d59516d75e5778b68066a3ef60fbf7d5a9e0737c822668"}},{"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":"ServerBag.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db17b6dfcb9ee625a7fef342ea30f1b93b453fdee701e899d24454ccc9e2b43"}},{"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":"Session/Storage/SessionStorageInterface.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ee30cd27e278dd7f6bc20a7e2ee3c9a77c97e4abfb0a5bc3eb23e022ff7c0d"}},{"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":"Session/SessionInterface.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42271c2cf5dabf859515a42c45f38a518c072eff9265d522a9a1994fbeb8f8c6"}},{"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":"Session/Flash/AutoExpireFlashBag.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4b0d79e31a4b56d9f883e2e110303db31e9b0548016634051e423013b3d57d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: HeaderBag.php \u2194 AttributeBag.php: \u0060HeaderBag.php\u0060 and \u0060Session/Attribute/AttributeBag.php\u0060 change together 53% of the time (8 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u006034a4a236\u0060 [HttpFoundation] Expose header and attribute keys as strings; \u00600ea92fb4\u0060 Restore return type to covariant IteratorAggregate implementations; \u0060575f8391\u0060 Add generic types to traversable implementations \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HeaderBag.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7868bfa9ab8d7bcba8ee97d5a3b5c5903d8ec334e049a67f30263954b7c634dc"}},{"ruleId":"M1","level":"note","message":{"text":"Thin README: The root README is 51 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 build/run or getting-started section, 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":"M3","level":"note","message":{"text":"No src/ separation: Most of the production code is in directories of its own, but 26 application file(s) sit at the repository root beside the build and tooling files (\u0060AcceptHeader.php\u0060, \u0060AcceptHeaderItem.php\u0060, \u0060BinaryFileResponse.php\u0060, \u0060ChainRequestMatcher.php\u0060, \u0060Cookie.php\u0060 and 21 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdf7f5b24e313364d10170a5c2542959902fe0d26ed70edef3eaa10ec5bcdb1d"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add phpstan or psalm (or \u0060semgrep --config=auto\u0060, which runs on any language) \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"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":"Request.php"},"region":{"startLine":2159}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a07c609e922ee814fc97accaaf80a01ea6525469dfbb22f73fd69418f321ad4"}},{"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":"Session/Storage/Handler/RedisSessionHandler.php"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae91107c588a37915d5211c657b8702a4cbbbb218271ebe2cdcd5948e31e80fd"}},{"ruleId":"X5","level":"note","message":{"text":"PHP static analysis does not check null everywhere: This repository commits no PHPStan or Psalm configuration (\u0060phpstan.neon[.dist]\u0060, \u0060phpstan.dist.neon\u0060, \u0060psalm.xml[.dist]\u0060, or one a composer.json script names with \u0060--configuration\u0060), so nothing checks null: a \u0060?Customer\u0060 reaches \u0060-\u003Ename()\u0060 silently and throws \u0060Error: Call to a member function name() on null\u0060 the first time it is null. If the build passes a level on a command line instead, put it in a committed configuration \u2014 this check reads configuration, and configuration is all it can read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4ee877508ebc333ebff2765634874753d7fd67f71ea749a6c333792a59b461d7"}}],"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-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-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-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":"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/"}]}],"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":0,"secretScannerRunsExcluded":0}}}]}