{"$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":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"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":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"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":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"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":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"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":"FormatConstraint.check (cyclomatic 55): FormatConstraint.check has cyclomatic complexity 55 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1886aec9790cd04764d4c6c06ac4ee5baf1210c11c4b3e33790f07d26e49593"}},{"ruleId":"D1","level":"warning","message":{"text":"UnevaluatedPropertiesConstraint.collectEvaluatedProperties (cyclomatic 52): UnevaluatedPropertiesConstraint.collectEvaluatedProperties has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft2019/UnevaluatedPropertiesConstraint.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1683bfc6057b2e196c46f76a2302f24ad10290042121b20b3dd04459e939491f"}},{"ruleId":"D1","level":"warning","message":{"text":"FormatConstraint.check (cyclomatic 51): FormatConstraint.check has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"11358e2c8b2d4ea68096f5c0fa889964991ea02f2ab9460f950265db9af9a208"}},{"ruleId":"D1","level":"warning","message":{"text":"FormatConstraint.check (cyclomatic 43): FormatConstraint.check has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/FormatConstraint.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ecda59234e5e767679f22087651cf7312dbe7e72b3fda9311209301da03b239"}},{"ruleId":"D1","level":"warning","message":{"text":"FormatConstraint.check (cyclomatic 40): FormatConstraint.check has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4548ea7b4968fafaca5daacd8abdccd4f26362c0445359ce4aeb3ed081415e5"}},{"ruleId":"D1","level":"warning","message":{"text":"UndefinedConstraint.applyDefaultValues (cyclomatic 26): UndefinedConstraint.applyDefaultValues has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/UndefinedConstraint.php"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5ee68b832db67b4022f7811c9f3dbf2f4e029e305e3d622895ca98aff4d5c2"}},{"ruleId":"D1","level":"warning","message":{"text":"UndefinedConstraint.validateCommonProperties (cyclomatic 24): UndefinedConstraint.validateCommonProperties has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/UndefinedConstraint.php"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ea1c65c7999f6823826e6056c5a077b55fa1d99259d1edbbcd524b2a6b92fc"}},{"ruleId":"D1","level":"warning","message":{"text":"FormatConstraint.validateInternationalizedHostname (cyclomatic 19): FormatConstraint.validateInternationalizedHostname has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fabd3d8493eefa6e418a7a95061aba45958e2f64ada6269d2fe825270e54f5a"}},{"ruleId":"D1","level":"warning","message":{"text":"NumberConstraint.check (cyclomatic 19): NumberConstraint.check has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/NumberConstraint.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0aa6d96ad7bf8cd0893ce2f30a79d14c16fa72da21adec5c245343a447c17ea"}},{"ruleId":"D1","level":"warning","message":{"text":"FormatConstraint.validateInternationalizedHostname (cyclomatic 18): FormatConstraint.validateInternationalizedHostname has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"1918c1ce854738718798ec73e060baca506fb237679eb2771dc9f7bc3aa20174"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeConstraint.validateType (cyclomatic 18): TypeConstraint.validateType has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/TypeConstraint.php"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ff1dfb15b66a60996ca4c675a691572d581a3284a203c59b38b4561943357a"}},{"ruleId":"D1","level":"warning","message":{"text":"UndefinedConstraint.validateOfProperties (cyclomatic 18): UndefinedConstraint.validateOfProperties has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/UndefinedConstraint.php"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecbc1ead5f20839ba1595dd2879cd0994e4ac2200bcac0fc33a1fe9f37bd2cb"}},{"ruleId":"D1","level":"warning","message":{"text":"UriResolver.resolve (cyclomatic 18): UriResolver.resolve has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Uri/UriResolver.php"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b992f445b34d0a1ec83e0919fdeb195d558b919f404757232eb7b23d61334b"}},{"ruleId":"D1","level":"warning","message":{"text":"PropertiesNamesConstraint.check (cyclomatic 17): PropertiesNamesConstraint.check has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/PropertiesNamesConstraint.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8863e915731f106e174fca2b85889f8b5f502208c440c0a4744ec442192102ea"}},{"ruleId":"D1","level":"warning","message":{"text":"PropertiesNamesConstraint.check (cyclomatic 17): PropertiesNamesConstraint.check has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/PropertiesNamesConstraint.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44c717ac87993843e100ec09422599fabbd33eaa2fd59cae4fcffb53fa529d9"}},{"ruleId":"D1","level":"warning","message":{"text":"PropertiesNamesConstraint.check (cyclomatic 17): PropertiesNamesConstraint.check has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft2019/PropertiesNamesConstraint.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"945525dd822e54fe48ab1a0b3f8555fe572d2c91b3697acb166b8a056fac2cbe"}},{"ruleId":"D1","level":"warning","message":{"text":"CollectionConstraint.validateItems (cyclomatic 16): CollectionConstraint.validateItems has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/CollectionConstraint.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"942e00e5f0d1106af14547cd710435d199646ccecc1792d901f6036ad829a9a7"}},{"ruleId":"D2","level":"warning","message":{"text":"UnevaluatedPropertiesConstraint.collectEvaluatedProperties (cognitive 85): UnevaluatedPropertiesConstraint.collectEvaluatedProperties has cognitive complexity 85 (threshold 15). Drivers by points: if/else 24 (50 pts), boolean chains 17, loops 7 (16 pts), error handling 1 (2 pts) (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft2019/UnevaluatedPropertiesConstraint.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"754ae63902d9df426ca0b36bdc879ae754134977dadb506d51054f6385a7546a"}},{"ruleId":"D2","level":"warning","message":{"text":"FormatConstraint.check (cognitive 52): FormatConstraint.check has cognitive complexity 52 (threshold 15). Drivers by points: if/else 24 (46 pts), boolean chains 5, match/switch 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0830effe9511b468b3cccc56ae01fbbb01a2e2d011712d1170557fd47b07d331"}},{"ruleId":"D2","level":"warning","message":{"text":"FormatConstraint.check (cognitive 48): FormatConstraint.check has cognitive complexity 48 (threshold 15). Drivers by points: if/else 22 (42 pts), boolean chains 5, match/switch 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"415be561f5dabe384eecc528eacb2a042f771735e8bd1587768159a2223c54b4"}},{"ruleId":"D2","level":"warning","message":{"text":"UndefinedConstraint.validateCommonProperties (cognitive 42): UndefinedConstraint.validateCommonProperties has cognitive complexity 42 (threshold 15). Drivers by points: if/else 19 (31 pts), loops 2 (6 pts), boolean chains 5 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/UndefinedConstraint.php"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"7acef5ee892d906015a18a69a59143dffe56508c93f4591c7b82d5dd81b9d7b6"}},{"ruleId":"D2","level":"warning","message":{"text":"UndefinedConstraint.applyDefaultValues (cognitive 42): UndefinedConstraint.applyDefaultValues has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (27 pts), boolean chains 9, loops 2 (4 pts), ternaries 1 (2 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/UndefinedConstraint.php"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e18cbdccd2d0faf2db9038a5b75a18a2312999f06a15a7305f18dd8bc219673"}},{"ruleId":"D2","level":"warning","message":{"text":"FormatConstraint.check (cognitive 40): FormatConstraint.check has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 10, 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":"src/JsonSchema/Constraints/FormatConstraint.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c88f6b02941e3c3a8cc6027fc9f5ad623ebdb64584f883cb208ecd09f6e5813"}},{"ruleId":"D2","level":"warning","message":{"text":"CollectionConstraint.validateItems (cognitive 39): CollectionConstraint.validateItems has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (29 pts), loops 3 (7 pts), boolean chains 3 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/CollectionConstraint.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db3509418a784eca19513035964f9fc43d59b84263f1bc4ca243e2e89d223b8"}},{"ruleId":"D2","level":"warning","message":{"text":"FormatConstraint.check (cognitive 37): FormatConstraint.check has cognitive complexity 37 (threshold 15). Drivers by points: if/else 18 (34 pts), boolean chains 2, match/switch 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4571bf2b0094ecf7ec288beda20304da2afe26e1e928dc9a6ade7a96097d25e"}},{"ruleId":"D2","level":"warning","message":{"text":"UndefinedConstraint.validateOfProperties (cognitive 37): UndefinedConstraint.validateOfProperties has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (18 pts), error handling 2 (6 pts), loops 3 (6 pts), ternaries 2 (6 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/UndefinedConstraint.php"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"5661e7880d53e788d4839052f7acf2df5a5ac5b9803283cc7efdb7f8de78c464"}},{"ruleId":"D2","level":"warning","message":{"text":"FormatConstraint.validateInternationalizedHostname (cognitive 28): FormatConstraint.validateInternationalizedHostname has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 5, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bca9d5e196e9a758aa83e0b353a78b70a769f8a458bf3e4089cc0d2d06f319f"}},{"ruleId":"D2","level":"warning","message":{"text":"PropertiesNamesConstraint.check (cognitive 27): PropertiesNamesConstraint.check has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 5 (10 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/PropertiesNamesConstraint.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"27cd7966381fd3a8751a4971df8b0fa1c1fd00d8ec685c29eeeef1eac3b5cf52"}},{"ruleId":"D2","level":"warning","message":{"text":"PropertiesNamesConstraint.check (cognitive 27): PropertiesNamesConstraint.check has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 5 (10 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/PropertiesNamesConstraint.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"76719b4f87d94e67650c5252274123a82a4846ef1ded1e9139bbae305ea06588"}},{"ruleId":"D2","level":"warning","message":{"text":"FormatConstraint.validateInternationalizedHostname (cognitive 27): FormatConstraint.validateInternationalizedHostname has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 5, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9fef5251e8d0fb58a10543d88f5e234bbdcefc7774ed62f8c8af69e1008f42"}},{"ruleId":"D2","level":"warning","message":{"text":"PropertiesNamesConstraint.check (cognitive 27): PropertiesNamesConstraint.check has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 5 (10 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft2019/PropertiesNamesConstraint.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b569f1bd86dd3befbab3111365ed0e83688b6b7c9d3f4600273e64b611524244"}},{"ruleId":"D2","level":"warning","message":{"text":"DependenciesConstraint.check (cognitive 24): DependenciesConstraint.check has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/DependenciesConstraint.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5622c2ad9f2ebd21aeabcc8fa53fa3480766588249d1a833cb4772de56383b8a"}},{"ruleId":"D2","level":"warning","message":{"text":"DependenciesConstraint.check (cognitive 24): DependenciesConstraint.check has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/DependenciesConstraint.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5de73dc40d9c2fa9955baabcc33547751e314d642a33dc2d30202c7f5678bd"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeConstraint.validateType (cognitive 23): TypeConstraint.validateType has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/TypeConstraint.php"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"62fa68b6d30ba9ec5fbda36ebf494f1d35490b0fb6d28ab81b3f770ea9ece03b"}},{"ruleId":"D2","level":"warning","message":{"text":"NumberConstraint.check (cognitive 22): NumberConstraint.check has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 6 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/NumberConstraint.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd0ff564dcd15a547e718f720ca9ab5652480b12bfa688f76b5fd6f230164d0"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectConstraint.validateElement (cognitive 22): ObjectConstraint.validateElement has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 6, ternaries 1 (3 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/ObjectConstraint.php"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"37576e8016dea0b167b73598a3dcfeb04cfdcf1a355f833f25240231ab711e25"}},{"ruleId":"D2","level":"warning","message":{"text":"EcmaPatternConverter.toPcre (cognitive 22): EcmaPatternConverter.toPcre has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (4 pts), ternaries 1 (4 pts), boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Tool/EcmaPatternConverter.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e620a0a99780fa337e630f5eed85f3e01b323a501ec7562ed44d0069aeb8c31"}},{"ruleId":"D2","level":"warning","message":{"text":"AdditionalPropertiesConstraint.check (cognitive 21): AdditionalPropertiesConstraint.check has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 4 (8 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/AdditionalPropertiesConstraint.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9dd9ceefeca4a882de5feef1835f2951dbc2d60900c8ee09e2966e7ee2a3ec0"}},{"ruleId":"D2","level":"warning","message":{"text":"AdditionalPropertiesConstraint.check (cognitive 21): AdditionalPropertiesConstraint.check has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 4 (8 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/AdditionalPropertiesConstraint.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13d345ef722781281c873a204055afa6a5b73d705f77b93cf1332c952b439b8"}},{"ruleId":"D2","level":"warning","message":{"text":"AdditionalPropertiesConstraint.check (cognitive 21): AdditionalPropertiesConstraint.check has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 4 (8 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft2019/AdditionalPropertiesConstraint.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f48dd26c4324208b11789a2231abd00b13bd2c1338521eb7867b48c43e2948e"}},{"ruleId":"D2","level":"warning","message":{"text":"UndefinedConstraint.validateDependencies (cognitive 19): UndefinedConstraint.validateDependencies has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 2 (5 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/UndefinedConstraint.php"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"111736dc28716bbeb12a61eaf607578bf8cad02423faf7027ee8b4630d3ec844"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaConstraint.check (cognitive 18): SchemaConstraint.check has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (16 pts), error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/SchemaConstraint.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"0022439c36ed026af107ba58fd550aaafc171c76784a1034b62514ab142bd420"}},{"ruleId":"D2","level":"warning","message":{"text":"UriValidator.isValid (cognitive 18): UriValidator.isValid has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Tool/Validator/UriValidator.php"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b460ad2d9c6a77c845bef6f58bed467b3bdd604dad6e4a7de53efce451c2143f"}},{"ruleId":"D2","level":"warning","message":{"text":"UriResolver.resolve (cognitive 18): UriResolver.resolve has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 8 (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":"src/JsonSchema/Uri/UriResolver.php"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd75948adf5154e77e95918b60a8d2ddf48af479b9b791840729f7578ff5caa4"}},{"ruleId":"D2","level":"warning","message":{"text":"EnumConstraint.check (cognitive 16): EnumConstraint.check has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 4 (7 pts), loops 1 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/EnumConstraint.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fbcd04c60a384ca9d11e0fcdacd90808ef1d31b9c342930a38fb61c422913a"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeConstraint.check (cognitive 16): TypeConstraint.check has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 6, ternaries 1 (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":"src/JsonSchema/Constraints/TypeConstraint.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66a835c4a4bcced2ade68b01722c9719dadf88e6cd04a6d33018a0b011f0296"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): src/JsonSchema/Constraints/Drafts/Draft06/Draft06Constraint.php:26-71 | src/JsonSchema/Constraints/Drafts/Draft07/Draft07Constraint.php:26-73 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/Draft06Constraint.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"007f97a93404c4bef3304abe2dd2ec80dbb1086f7a63ab33d76bcac16e65bffc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/JsonSchema/Constraints/CollectionConstraint.php:32-54 | src/JsonSchema/Constraints/Drafts/Draft06/UniqueItemsConstraint.php:25-46 | src/JsonSchema/Constraints/Drafts/Draft07/UniqueItemsConstraint.php:25-46 | src/JsonSchema/Constraints/Drafts/Draft2019/UniqueItemsConstraint.php:25-46 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 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. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/CollectionConstraint.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b41a284f3821e13799afa92b9f19cb50e2be3be5020993eb898ac5d9a284cbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/JsonSchema/Constraints/Drafts/Draft06/EnumConstraint.php:25-39 | src/JsonSchema/Constraints/Drafts/Draft07/EnumConstraint.php:25-39 | src/JsonSchema/Constraints/Drafts/Draft2019/EnumConstraint.php:25-39 | src/JsonSchema/Constraints/EnumConstraint.php:32-57 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 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. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/EnumConstraint.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5c6922b9466d4f0665e50b1a8a47fa0f670caab359c57627a5bb591da7a4e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php:32-128 | src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php:33-153 | src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php:33-162 | src/JsonSchema/Constraints/FormatConstraint.php:34-152 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 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. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a513f2dbe5b2e3b12a2e01498dbb8fb2a0234b7adcf3d913fa2bed9d541fe79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (73 corresponding lines): src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php:292-368 | src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php:301-373 \u2014 These two members are one piece of code written twice and then edited apart: 73 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"9513c52d4a7dcaa94f54b99871021a8fe10c5072a059f0a7bede2451d44a756e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 36\u002B corresponding lines): src/JsonSchema/Constraints/Drafts/Draft06/AdditionalItemsConstraint.php:27-62 | src/JsonSchema/Constraints/Drafts/Draft07/AdditionalItemsConstraint.php:27-62 | src/JsonSchema/Constraints/Drafts/Draft2019/AdditionalItemsConstraint.php:27-62 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 36 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/AdditionalItemsConstraint.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe2d1343e16ac078cf801510fe893b6fe2fcccd0e77d5733d1301b22f034018"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src/JsonSchema/Uri/UriResolver.php:33-50 | src/JsonSchema/Uri/UriRetriever.php:256-275 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Uri/UriResolver.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bfc93f2d3512674f43dda85f13bab89a4fe5e154da4df7712f3c93f431749d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/JsonSchema/Constraints/TypeConstraint.php:273-283 | src/JsonSchema/Constraints/TypeConstraint.php:328-344 \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":"src/JsonSchema/Constraints/TypeConstraint.php"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebbae53d1ec852a5b077a950d970dfa5ea172f10bcc83745dd533ab59fead8b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/JsonSchema/Uri/UriResolver.php:62-73 | src/JsonSchema/Uri/UriRetriever.php:287-299 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Uri/UriResolver.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a76ceb7770934bfb56931e6d065133cd29a0b10d2d2a623b8beb71e2be3fbcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/JsonSchema/Constraints/BaseConstraint.php:72-84 | src/JsonSchema/Entity/ErrorBag.php:87-99 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/BaseConstraint.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5681bf4de007d80dc776b9f5d75c2e6bfa441974daeb639d4f5494430ef0829"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php:133-143 | src/JsonSchema/Constraints/FormatConstraint.php:157-171 \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":"src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"8617797be7a431bdd8ccc3f9dbde543dcfa9ae8698748866f626667556e97e87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): src/JsonSchema/Constraints/Drafts/Draft06/Draft06Constraint.php:81-84 | src/JsonSchema/Constraints/Drafts/Draft07/Draft07Constraint.php:83-86 | src/JsonSchema/Constraints/Drafts/Draft2019/Draft2019Constraint.php:80-83 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/Draft06Constraint.php"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"41194db2dc2939048f5bb0a0fa48b6aa011e538a1618b6399a394917b92a02a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/JsonSchema/Constraints/Constraint.php:35-46 | src/JsonSchema/Entity/JsonPointer.php:142-146 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Constraint.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61883b8c8a72d84dd3b766ed25ba2d570c3757d8772c5f87c8c38c9da4c76fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php:172-175 | src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php:241-244 | src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php:250-253 | src/JsonSchema/Constraints/FormatConstraint.php:200-203 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 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":"src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48a9f72701c7b836cb8b33078a31bd9ff1bfb4e98e40ea92ee97a4081efb87c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (66 lines \u00D7 2): src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php:303-368 | src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php:308-373 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 357 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"484aa4344f741d790f3bdf912448a2173a85efae7a4daf2495676fc42052cb35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2): src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php:158-212 | src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php:167-221 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 357 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php:158\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c673afbcc4d241e7b7b7a6c371eceaf990132df5a78435ab53c44d30d8207a22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/AdditionalPropertiesConstraint.php:28-76 | src/JsonSchema/Constraints/Drafts/Draft07/AdditionalPropertiesConstraint.php:28-76 | src/JsonSchema/Constraints/Drafts/Draft2019/AdditionalPropertiesConstraint.php:28-76 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/AdditionalPropertiesConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/AdditionalPropertiesConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 49 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/AdditionalPropertiesConstraint.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"016646d0c29d1c56d53b144e2a5c0bc4ecab309f449eabd0d929eb70b6b71f4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): src/JsonSchema/Constraints/Drafts/Draft07/IfThenElseConstraint.php:26-65 | src/JsonSchema/Constraints/Drafts/Draft2019/IfThenElseConstraint.php:26-65 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft07/IfThenElseConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft2019/IfThenElseConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 40 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/IfThenElseConstraint.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3646ea6d6f20fa5f9282853c0f9b1bd19c974e69fedddd42b13217b8db1bee30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): src/JsonSchema/Constraints/Drafts/Draft06/DependenciesConstraint.php:27-62 | src/JsonSchema/Constraints/Drafts/Draft07/DependenciesConstraint.php:27-62 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/DependenciesConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/DependenciesConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 48 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/DependenciesConstraint.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af72540a25c403b6ab68d03595a31c884a113bf22208dcd27026f254002f908"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/PropertiesNamesConstraint.php:27-78 | src/JsonSchema/Constraints/Drafts/Draft07/PropertiesNamesConstraint.php:27-78 | src/JsonSchema/Constraints/Drafts/Draft2019/PropertiesNamesConstraint.php:27-78 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/PropertiesNamesConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/PropertiesNamesConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 52 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/PropertiesNamesConstraint.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e55bc872fa7fe26fd3c7f516bddfa9f60d4a198404f3b1db6ed903bcd6bd9e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/ItemsConstraint.php:26-52 | src/JsonSchema/Constraints/Drafts/Draft07/ItemsConstraint.php:26-52 | src/JsonSchema/Constraints/Drafts/Draft2019/ItemsConstraint.php:26-52 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/ItemsConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/ItemsConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 27 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/ItemsConstraint.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3e4d401c41ab47ed8dc54d211692fca5ca1d406c527a83df84bb9d1aa8fb37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/PatternPropertiesConstraint.php:27-53 | src/JsonSchema/Constraints/Drafts/Draft07/PatternPropertiesConstraint.php:27-53 | src/JsonSchema/Constraints/Drafts/Draft2019/PatternPropertiesConstraint.php:27-53 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/PatternPropertiesConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/PatternPropertiesConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 27 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/PatternPropertiesConstraint.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca01a0c20c57ef41b17f3005dfaaf567ef22ae8465195256396057b377c40c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): src/JsonSchema/Constraints/BaseConstraint.php:43-67 | src/JsonSchema/Entity/ErrorBag.php:56-81 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/BaseConstraint.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"78369593d9c69f1da3e7c086aab195ad7571a9e8aa18ce2a939031ee14983bc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/TypeConstraint.php:24-48 | src/JsonSchema/Constraints/Drafts/Draft07/TypeConstraint.php:24-48 | src/JsonSchema/Constraints/Drafts/Draft2019/TypeConstraint.php:24-48 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/TypeConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/TypeConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 25 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/TypeConstraint.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b57430cdb41b73dc1913efcdc6a9416d74ab4a9bb83cce9c9da6450db3cbb8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php:123-147 | src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php:133-156 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 357 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php:123\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a700f60fed534bd1f7faff83e570d7ba2fbe39b612329b64a3d9e31fe50c37c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201324 lines \u00D7 4): src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php:76-92 | src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php:81-97 | src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php:86-102 | src/JsonSchema/Constraints/FormatConstraint.php:82-105 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 11 separate duplicated blocks between them, totalling at least 143 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/JsonSchema/Constraints/FormatConstraint.php:82\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6805ad51873bd4d4b83a61abccfd1e8b96ad7c5c8db0f3a5892d700385e9cf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/PropertiesConstraint.php:26-49 | src/JsonSchema/Constraints/Drafts/Draft07/PropertiesConstraint.php:26-49 | src/JsonSchema/Constraints/Drafts/Draft2019/PropertiesConstraint.php:26-49 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/PropertiesConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/PropertiesConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 24 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/PropertiesConstraint.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7c09ce2fdcf501cafe460dae1032877dce5e463ae6b110ef26652a60e3552b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php:103-125 | src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php:108-129 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 357 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php:103\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e043929746c0cf63fafef2c60670f33d4fda91abbe355ddf9d0e5d645a93d37d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php:265-287 | src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php:274-296 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 357 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef25ab705026be994794193e3f945364a149f94fb1a016fd2c4a88af1018d571"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/AnyOfConstraint.php:28-49 | src/JsonSchema/Constraints/Drafts/Draft07/AnyOfConstraint.php:28-49 | src/JsonSchema/Constraints/Drafts/Draft2019/AnyOfConstraint.php:28-49 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/AnyOfConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/AnyOfConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 22 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/AnyOfConstraint.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40ac5f9330e8837d2cdbfb6144813e5c0ee761568f7a1d819d0d48b6ff55f8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/OneOfConstraint.php:27-48 | src/JsonSchema/Constraints/Drafts/Draft07/OneOfConstraint.php:27-48 | src/JsonSchema/Constraints/Drafts/Draft2019/OneOfConstraint.php:27-48 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/OneOfConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/OneOfConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 22 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/OneOfConstraint.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad07a57f043501563f6bb3bdbed7bf7dc0a61b1be6b0b9059561902e295fa68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201322 lines \u00D7 4): src/JsonSchema/Constraints/CollectionConstraint.php:43-46 | src/JsonSchema/Constraints/Drafts/Draft06/UniqueItemsConstraint.php:25-46 | src/JsonSchema/Constraints/Drafts/Draft07/UniqueItemsConstraint.php:25-46 | src/JsonSchema/Constraints/Drafts/Draft2019/UniqueItemsConstraint.php:25-46 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/UniqueItemsConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/UniqueItemsConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 22 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/JsonSchema/Constraints/CollectionConstraint.php:43\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. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/JsonSchema/Constraints/CollectionConstraint.php:46\u0060 calls \u0060isEqual\u0060, \u0060addError\u0060, \u0060UNIQUE_ITEMS\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft06/UniqueItemsConstraint.php:46\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/CollectionConstraint.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"98bf1330d97089a5e91ca932850774bff59e567081da94ce11e98bb45f99c943"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/JsonSchema/Constraints/Drafts/Draft06/AdditionalItemsConstraint.php:32-51 | src/JsonSchema/Constraints/Drafts/Draft07/AdditionalItemsConstraint.php:32-51 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/AdditionalItemsConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/AdditionalItemsConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 55 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/JsonSchema/Constraints/Drafts/Draft06/AdditionalItemsConstraint.php:32\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/AdditionalItemsConstraint.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bed27a2efcf8f56a3766afb9648753103ce787b807a46a9e4a93377175d9525"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/JsonSchema/Constraints/Drafts/Draft06/ContainsConstraint.php:27-45 | src/JsonSchema/Constraints/Drafts/Draft07/ContainsConstraint.php:27-45 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/ContainsConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/ContainsConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 19 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/ContainsConstraint.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5cbddef9f3ab35867df88e0c2a0db3805332048190a25a07ff0cdcfd6e42d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php:410-442 | src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php:415-447 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 357 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php:410\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc28d431d78d827c2054be6ac2d3e96ecbe350c6419cfb9a7222aba4bb9403d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/AdditionalItemsConstraint.php:45-62 | src/JsonSchema/Constraints/Drafts/Draft07/AdditionalItemsConstraint.php:45-62 | src/JsonSchema/Constraints/Drafts/Draft2019/AdditionalItemsConstraint.php:45-62 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/AdditionalItemsConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/AdditionalItemsConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 55 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/JsonSchema/Constraints/Drafts/Draft06/AdditionalItemsConstraint.php:45\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/AdditionalItemsConstraint.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6917bc3fa9fc2ce5c162f77eda084a07b3cd63546d18a06ac722913502bc6249"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/JsonSchema/Constraints/Drafts/Draft06/Draft06Constraint.php:26-43 | src/JsonSchema/Constraints/Drafts/Draft07/Draft07Constraint.php:26-43 \u2014 before extracting anything, compare \u0060src/JsonSchema/Constraints/Drafts/Draft06/Draft06Constraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/Draft07Constraint.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/Draft06Constraint.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b29e674a873b02b78aebb0c116e3d57dfc3ee3247ba6d3045e5c3fc75556d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): src/JsonSchema/Uri/UriResolver.php:35-50 | src/JsonSchema/Uri/UriRetriever.php:258-275 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Uri/UriResolver.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7aeef4e91b3ba177464f41405e9b631a261b15c8921dd88e1f764714144f922"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/AdditionalItemsConstraint.php:27-43 | src/JsonSchema/Constraints/Drafts/Draft07/AdditionalItemsConstraint.php:27-43 | src/JsonSchema/Constraints/Drafts/Draft2019/AdditionalItemsConstraint.php:27-43 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/AdditionalItemsConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/AdditionalItemsConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 55 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/AdditionalItemsConstraint.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ec67d22cea55e500ec9d636c6569f40dd9301af69df8f3d72354330b8917ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php:227-243 | src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php:450-466 | src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php:455-471 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 11 separate duplicated blocks between them, totalling at least 143 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php:227\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"253f9f8bbb416c369df44642528ef9037fcf7946b299b1d427f053dd047cdb33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/MultipleOfConstraint.php:24-40 | src/JsonSchema/Constraints/Drafts/Draft07/MultipleOfConstraint.php:24-40 | src/JsonSchema/Constraints/Drafts/Draft2019/MultipleOfConstraint.php:24-40 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/MultipleOfConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/MultipleOfConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 17 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/MultipleOfConstraint.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c02299e943099fbddfa7e6411e6f60fbe891652131699c7df9aae1a413071e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php:32-46 | src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php:33-48 | src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php:33-48 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 11 separate duplicated blocks between them, totalling at least 143 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php:32\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"989b0a6de96f46f24fa39f2400a4e4382bf5266f6d2594261a82a52624fd86e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/RefConstraint.php:26-41 | src/JsonSchema/Constraints/Drafts/Draft07/RefConstraint.php:26-41 | src/JsonSchema/Constraints/Drafts/Draft2019/RefConstraint.php:26-41 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/RefConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/RefConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 16 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/RefConstraint.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc499c2bfb5bd0ec63305e24a20eb87ebf8a1d10d2c3dc4d83f0f2c37226d74d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201315 lines \u00D7 4): src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php:48-61 | src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php:52-66 | src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php:52-66 | src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php:70-73 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 11 separate duplicated blocks between them, totalling at least 143 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php:48\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php:67\u0060 calls \u0060validateRegex\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php:73\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cb2f94377e626d76692485b17f0be9d79d62a46773a729f3dfc436f4209af3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/RequiredConstraint.php:24-38 | src/JsonSchema/Constraints/Drafts/Draft07/RequiredConstraint.php:24-38 | src/JsonSchema/Constraints/Drafts/Draft2019/RequiredConstraint.php:24-38 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/RequiredConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/RequiredConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 15 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/RequiredConstraint.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ee2669a67e62a04b079164613a17244294ef0bf5287d56c618e153904c4b25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/AllOfConstraint.php:27-40 | src/JsonSchema/Constraints/Drafts/Draft07/AllOfConstraint.php:27-40 | src/JsonSchema/Constraints/Drafts/Draft2019/AllOfConstraint.php:27-40 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/AllOfConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/AllOfConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 14 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/AllOfConstraint.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"66067bf28da89328521a3c5164b8424ccd5e546e60445da3853194d0060803a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/MaxItemsConstraint.php:24-37 | src/JsonSchema/Constraints/Drafts/Draft07/MaxItemsConstraint.php:24-37 | src/JsonSchema/Constraints/Drafts/Draft2019/MaxItemsConstraint.php:24-37 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/MaxItemsConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/MaxItemsConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 14 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/MaxItemsConstraint.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ff4f90f5b7dc4c105e76fcdc128f44526838e2915d5c92829e4ff3aed4fb83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/MaxLengthConstraint.php:24-37 | src/JsonSchema/Constraints/Drafts/Draft07/MaxLengthConstraint.php:24-37 | src/JsonSchema/Constraints/Drafts/Draft2019/MaxLengthConstraint.php:24-37 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/MaxLengthConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/MaxLengthConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 14 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/MaxLengthConstraint.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a65c5643931c82c68663c1a5ec425d054b54ef398564efdcd68705a53866260"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/MaxPropertiesConstraint.php:24-37 | src/JsonSchema/Constraints/Drafts/Draft07/MaxPropertiesConstraint.php:24-37 | src/JsonSchema/Constraints/Drafts/Draft2019/MaxPropertiesConstraint.php:24-37 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/MaxPropertiesConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/MaxPropertiesConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 14 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/MaxPropertiesConstraint.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4756be44e0d6aeae89dcddffc524eccbf36d015f1df5264bae4f49f7c2971fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/MinItemsConstraint.php:24-37 | src/JsonSchema/Constraints/Drafts/Draft07/MinItemsConstraint.php:24-37 | src/JsonSchema/Constraints/Drafts/Draft2019/MinItemsConstraint.php:24-37 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/MinItemsConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/MinItemsConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 14 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/MinItemsConstraint.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"811e4bfa59dab289f97d3f729c31a42ba66966bde00b16a263786760077283d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/MinLengthConstraint.php:24-37 | src/JsonSchema/Constraints/Drafts/Draft07/MinLengthConstraint.php:24-37 | src/JsonSchema/Constraints/Drafts/Draft2019/MinLengthConstraint.php:24-37 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/MinLengthConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/MinLengthConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 14 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/MinLengthConstraint.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9a2c2218f887375c298c075bfac88ef78c3dea2ea86beaf7361dcc6a8e2e26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/MinPropertiesConstraint.php:24-37 | src/JsonSchema/Constraints/Drafts/Draft07/MinPropertiesConstraint.php:24-37 | src/JsonSchema/Constraints/Drafts/Draft2019/MinPropertiesConstraint.php:24-37 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/MinPropertiesConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/MinPropertiesConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 14 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/MinPropertiesConstraint.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75d71565e04e062d0ec1f9d14c2010e00a3a98e3dfbe68d80a4b801048e81e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/PatternConstraint.php:28-41 | src/JsonSchema/Constraints/Drafts/Draft07/PatternConstraint.php:28-41 | src/JsonSchema/Constraints/Drafts/Draft2019/PatternConstraint.php:28-41 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/PatternConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/PatternConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 14 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/PatternConstraint.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78343b143a93495572027cc5a9a5f5c727e654edac2cb7629986de53c8022d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/EnumConstraint.php:25-37 | src/JsonSchema/Constraints/Drafts/Draft07/EnumConstraint.php:25-37 | src/JsonSchema/Constraints/Drafts/Draft2019/EnumConstraint.php:25-37 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/EnumConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/EnumConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 22 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/EnumConstraint.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2899f678a2a9a1f0f6d3ca2f4a2588c25d180cf5ea4446bacd87034373aec15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/ExclusiveMaximumConstraint.php:24-36 | src/JsonSchema/Constraints/Drafts/Draft07/ExclusiveMaximumConstraint.php:24-36 | src/JsonSchema/Constraints/Drafts/Draft2019/ExclusiveMaximumConstraint.php:24-36 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/ExclusiveMaximumConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/ExclusiveMaximumConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 13 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/ExclusiveMaximumConstraint.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4cde4373ce378615691ad32619a3955b36a570b3b6b61914d3f2dca992426a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/ExclusiveMinimumConstraint.php:24-36 | src/JsonSchema/Constraints/Drafts/Draft07/ExclusiveMinimumConstraint.php:24-36 | src/JsonSchema/Constraints/Drafts/Draft2019/ExclusiveMinimumConstraint.php:24-36 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/ExclusiveMinimumConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/ExclusiveMinimumConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 13 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/ExclusiveMinimumConstraint.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4813d8518ae85dd316d834cf26298ce5e1eda23f3bd7d95f20219434cc57bba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/MaximumConstraint.php:24-36 | src/JsonSchema/Constraints/Drafts/Draft07/MaximumConstraint.php:24-36 | src/JsonSchema/Constraints/Drafts/Draft2019/MaximumConstraint.php:24-36 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/MaximumConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/MaximumConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 13 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/MaximumConstraint.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d345192575b0be06d5f0df24054d54f2fc2e1ce79c2209e78ae21fd05ffd5494"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/MinimumConstraint.php:24-36 | src/JsonSchema/Constraints/Drafts/Draft07/MinimumConstraint.php:24-36 | src/JsonSchema/Constraints/Drafts/Draft2019/MinimumConstraint.php:24-36 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/MinimumConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/MinimumConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 13 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/MinimumConstraint.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e943019df89d96bcb62b26de37bfbe06806eab39c8fa32e74270a5fa7697bb78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/NotConstraint.php:27-38 | src/JsonSchema/Constraints/Drafts/Draft07/NotConstraint.php:27-38 | src/JsonSchema/Constraints/Drafts/Draft2019/NotConstraint.php:27-38 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/NotConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/NotConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 12 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/NotConstraint.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f638e028e9635a8df649029b123bc94216da7435ffe1fe1aa0c4e6efaafb1592"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php:118-128 | src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php:143-153 | src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php:152-162 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 11 separate duplicated blocks between them, totalling at least 143 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php:118\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"453b5c94c54760d012f4531950a101fcdb0bfbe7ba57ca3cf5b935c84bf1f86c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php:103-113 | src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php:118-128 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 11 separate duplicated blocks between them, totalling at least 143 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0583041073246e8e39f98f013cf353eb0773b11823f030b718db3c9b282fc1cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/DependenciesConstraint.php:36-45 | src/JsonSchema/Constraints/Drafts/Draft07/DependenciesConstraint.php:36-45 | src/JsonSchema/Constraints/Drafts/Draft2019/DependentSchemasConstraint.php:36-47 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/DependenciesConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/DependenciesConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 48 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/DependenciesConstraint.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"634e344eb5f91bc9e6472e9dcbc4e1815e5d7e9f31706599fd9bd340cbb8189d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php:112-121 | src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php:132-141 | src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php:141-150 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 11 separate duplicated blocks between them, totalling at least 143 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php:112\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"56424a47db03c677d0351946d43ccb23ff2d1c2ca48999a4ecfdbf8abd60aac3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): src/JsonSchema/Constraints/Drafts/Draft06/EnumConstraint.php:31-39 | src/JsonSchema/Constraints/Drafts/Draft07/EnumConstraint.php:31-39 | src/JsonSchema/Constraints/Drafts/Draft2019/EnumConstraint.php:31-39 | src/JsonSchema/Constraints/EnumConstraint.php:49-57 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/EnumConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/EnumConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 22 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/JsonSchema/Constraints/Drafts/Draft06/EnumConstraint.php:31\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/EnumConstraint.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"17180a82c842ca9611ba13833ac7cbfe07b8b6f5bef40ba4674b4e7bfa068a2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php:103-110 | src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php:118-125 | src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php:123-129 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 11 separate duplicated blocks between them, totalling at least 143 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8136a09abdf4b5184cd09380d6230b19f39691d2660c7065ce7801f21f4382"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php:108-115 | src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php:123-130 | src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php:133-139 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 11 separate duplicated blocks between them, totalling at least 143 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf3eeb73a692362021791409d2609ede4c34b6d1ae72281a04ebcd541e01a99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/Draft06Constraint.php:38-43 | src/JsonSchema/Constraints/Drafts/Draft07/Draft07Constraint.php:38-43 | src/JsonSchema/Constraints/Drafts/Draft2019/Draft2019Constraint.php:31-37 \u2014 before extracting anything, compare \u0060src/JsonSchema/Constraints/Drafts/Draft06/Draft06Constraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/Draft07Constraint.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/JsonSchema/Constraints/Drafts/Draft06/Draft06Constraint.php:38\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/Draft06Constraint.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0ce06952bf3593b778fac6bf8e7abdf7ea007e500e96abf87f024af9d27c94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/ConstConstraint.php:20-33 | src/JsonSchema/Constraints/Drafts/Draft07/ConstConstraint.php:20-33 | src/JsonSchema/Constraints/Drafts/Draft2019/ConstConstraint.php:20-33 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/ConstConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/ConstConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 14 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/JsonSchema/Constraints/Drafts/Draft06/ConstConstraint.php:20\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/ConstConstraint.php"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd0218c026e2393918595b895a6c9606ad7d712214bf0cc0830473521e9aaea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/JsonSchema/Constraints/BaseConstraint.php:165-172 | src/JsonSchema/Entity/ErrorBag.php:104-111 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/BaseConstraint.php"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"9833cedec45458b843cc2c444b8aa1ec50a0d5cde51f99f31593adefe9997f07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/Draft06Constraint.php:17-21 | src/JsonSchema/Constraints/Drafts/Draft07/Draft07Constraint.php:17-21 | src/JsonSchema/Constraints/Drafts/Draft2019/Draft2019Constraint.php:17-21 \u2014 before extracting anything, compare \u0060src/JsonSchema/Constraints/Drafts/Draft06/Draft06Constraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/Draft07Constraint.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/Draft06Constraint.php"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fee99a58576c284c2b2a11c069582bf128ce220c4327e95a6c1606155d74e56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php:161-167 | src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php:230-236 | src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php:239-245 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 11 separate duplicated blocks between them, totalling at least 143 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php:161\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f912ebade95224fa0ca372d105a0630ebee8318b1532fda2b09be6a9679b672a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php:193-208 | src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php:374-389 | src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php:379-394 \u2014 \u0060src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php\u0060 and \u0060src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 11 separate duplicated blocks between them, totalling at least 143 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe46456aec7b107d26572b16b6c98a9319a1f18b023034444b5d995ad5df628"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCoerceCasesUsingAssoc: 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/Constraints/CoerciveTest.php"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49c5f582cf60b5cf96faa4a0419233b3c0cc75d17e7ccfc15002eb1b67b426f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testValidCasesUsingAssoc: 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/Constraints/DefaultPropertiesTest.php"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a484d18f3c14eef10ec0e75dd0339f41d1dfcdd13037834b7cc33d7fa56ea47"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testValidCasesUsingAssocWithoutTypeCast: 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/Constraints/DefaultPropertiesTest.php"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b66a7d9886d241a371b0f5f0a9e017abe31be0483cde685013ff4c812eb0f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php: src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in FormatConstraint.check at line 31. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. 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-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:41:11 \u002B00:00\u0027 --until=\u00272026-11-15 17:41:11 \u002B00:00\u0027 --full-history --no-merges -- src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc69cc5fb3720bedd4041f55f7409672ac47a56e4e4d99680ce4731867ea28a2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php: src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in FormatConstraint.check at line 31. 5 of those changes were fix/bug commits, so the churn is repair rather than feature work. 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-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:41:11 \u002B00:00\u0027 --until=\u00272026-11-15 17:41:11 \u002B00:00\u0027 --full-history --no-merges -- src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9d67484f45f71ff642b6f7366460c03e6678d5fddf7f545f318178cf437113"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/JsonSchema/Uri/UriResolver.php: src/JsonSchema/Uri/UriResolver.php changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in UriResolver.resolve at line 79. 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-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 17:41:11 \u002B00:00\u0027 --until=\u00272026-11-15 17:41:11 \u002B00:00\u0027 --full-history --no-merges -- src/JsonSchema/Uri/UriResolver.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Uri/UriResolver.php"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"859f1a05e9b517ecd279936fdd01f936f3ba3c0b8ed8c0103cd8f1511bf30a8a"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 2 significant file(s) lose their only recent owner: src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php, src/JsonSchema/SchemaStorage.php. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"98494b0053e8f9adea5ffc5604bfecf44ff6670c6d9420c56dc6db3ddab67d5c"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 3 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (6 single-owned of 35 analysed files in total, 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; 35 of the 161 production source files in this repository met that bar). They are anonymized user #2 (2 file(s)), anonymized user #3 (1 file(s)), anonymized user #4 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: src/JsonSchema/Constraints/Drafts/Draft06/Draft06Constraint.php, src/JsonSchema/Entity/ErrorBag.php, src/JsonSchema/Constraints/Drafts/Draft2019/UnevaluatedPropertiesConstraint.php, bin/validate-json."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060composer.json\u0060 makes this repository a deployable product (line 61)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composer.json"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"341d559fa0b97c7420a17eab8c55e02816862ad49796a0687e6d050b9991a5e5"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d021e6ffb5e88fc5ae7fe27a09f4f7261dc6c87edaa6696bf18d5a54a0ab3247"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3ba9d2d145e36bb2876a7166d8412c857909d4c67a39f17420a635cc1b6185a3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4b07ff2e4ae6225789a0490fe95be1ac1bfda2e0b86ab608e071b6972c752071"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4399e1a3cc326402f1f0c7ca0e68fb1e09ef0e3ac56ede055a616ff535b9144f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab04f060205beda2d9ff1a8d08d9579cdbc53c64e2dfbf389ba37a9e7169ea62"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f452381fa7f0e4742bfe4ecd3203abdb5c48cdda150e29ef09b6f99ba075483c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"df463da28af9e037f31d1e0cf7dd0cae7ccb98cf34ff6bf2b5af0a1a4ba327a1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e27fdebd872266fac1e3da99f1bb709878b68b632941674880d71c6f3f1ec668"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73a38431178fb0c376b763a51afbb9df88f636811790e26ac0e4eb56f4597ed3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba48184826a431a3a0dd24a3848ca4d8a6c07ace99e3dd591fa181bb9eec4721"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4cd26d9fe82f7a814855a9d26a2ac5b06cb7e86130b03fcbd2b90f282da70607"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c7cd8a04e9f7d3dddecba3db8accff54e0773fc31826fa7b26520363ffa894b1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c3bb2b83af068b3bbcc4b3de9fc427e50a1351a002725441f270a5235dd835b7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6ef2f316ca631b692d03c475bed7e473e93f3db6fa35d9ef86248c50808e234"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d2f09468fcaf41b53b7b139fe4d91211ee4e2a172f1e6059a02b9fdd8702f97e"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e3a0aa13de893949f54c90a5a67dcd21bc91d4885780d680c983a8391f3f4df"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3a731e3db70ca0658f092eebb1acd112f2944abe2daf8929d105e82759a8fbd2"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"338a4d75d4817c8b43b69117b939a4751b13c73d6aa60adf4d1553915b26e21d"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c8d12e90036435ae5aaf560386b3dc46c662df981cea23cf6bc7d85b6293f1f4"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"27c4796bc36761edb960de280696a3abb300d14dc97b3a612e0b6869430a2108"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1198569b968adf1e5c2d3e9ee226c83eff180ea634f818a700bd3396639fecfa"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b5dacc7d5ebc91e732fbd44265fdfb37c730a4b9fe8ee636d248b562987d6a14"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d15620f47ad8cad5233010cd41437dd1e787bec489818afbce3c5c7d75eca929"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"daddb56c62e801a5511cc83c3aed17d6acc83ed8f82bda20d549ce215026892e"},"taxa":[{"id":"CWE-269","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"65e27970639dc4058ae9d5bbbce6d4bb9d50f6604a671f16b146c55aac6a3ef0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!property_exists($schema, \u0027format\u0027) || $this\u0060 appears character-identically in 3 files \u2014 src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php, src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php, src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f33df20c78c8a82fe0df6d4f229e83c3261ee7210064a06f08844db75cd97e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$element instanceof UndefinedConstraint \u0026\u0026 (!isset($schema-\u003Erequired) || !$schema-\u003Erequired)\u0060 appears character-identically in 2 files \u2014 src/JsonSchema/Constraints/ConstConstraint.php, src/JsonSchema/Constraints/EnumConstraint.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/ConstConstraint.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae68ea30b61700765e0a9731ab92f71fc2e7ab4e77683e74e4b13974abb2619"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$format === \u0027H:i:s.up\u0027 || $format === \u0027H:i:s.uP\u0027\u0060 appears character-identically in 2 files \u2014 src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php, src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea8c575ed637a05dffa4a318724697d426e0ad81f525e3e57cecdaa27f21cc5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$timezoneOffset \u003E= 86400 || $timezoneOffset \u003C= -86400\u0060 appears character-identically in 2 files \u2014 src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php, src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc11c220fb704b03ca0b318301410ee317c39ceaca7cde94055404b9f56b63f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$valueIsNumber \u0026\u0026 fmod($value, 1.0) === 0.0\u0060 appears character-identically in 3 files \u2014 src/JsonSchema/Constraints/Drafts/Draft06/TypeConstraint.php, src/JsonSchema/Constraints/Drafts/Draft07/TypeConstraint.php, src/JsonSchema/Constraints/Drafts/Draft2019/TypeConstraint.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/TypeConstraint.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa38a8167fd95173205039395bfddd1b3f1660f797c63766f39f32ad6cd3412d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$valueType === \u0027double\u0027 || $valueType === \u0027integer\u0027\u0060 appears character-identically in 3 files \u2014 src/JsonSchema/Constraints/Drafts/Draft06/TypeConstraint.php, src/JsonSchema/Constraints/Drafts/Draft07/TypeConstraint.php, src/JsonSchema/Constraints/Drafts/Draft2019/TypeConstraint.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/TypeConstraint.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2551e82007a3f8e19906f1528fd84381d45605e84f5965af0a02fafd1f0ffe89"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(!is_int($schema-\u003EmultipleOf) \u0026\u0026 !is_float($schema-\u003EmultipleOf)) || $schema\u0060 appears character-identically in 3 files \u2014 src/JsonSchema/Constraints/Drafts/Draft06/MultipleOfConstraint.php, src/JsonSchema/Constraints/Drafts/Draft07/MultipleOfConstraint.php, src/JsonSchema/Constraints/Drafts/Draft2019/MultipleOfConstraint.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/MultipleOfConstraint.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac918f1c8d64601f384d1d4295b0e217682e3e0488e9f5c9bb2f52c85c083c3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060-$precision \u003C $modulus \u0026\u0026 $modulus \u003C $precision\u0060 appears character-identically in 4 files \u2014 src/JsonSchema/Constraints/Drafts/Draft06/MultipleOfConstraint.php, src/JsonSchema/Constraints/Drafts/Draft07/MultipleOfConstraint.php, src/JsonSchema/Constraints/Drafts/Draft2019/MultipleOfConstraint.php, src/JsonSchema/Constraints/NumberConstraint.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/MultipleOfConstraint.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"485046530e36a958691135e2629065030d052cad2dcf99afc1777b3e6e6b87ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060PHP_VERSION_ID \u003C 80000 \u0026\u0026 substr($datetime, -1) === \u0027Z\u0027\u0060 appears character-identically in 2 files \u2014 src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php, src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e4027ea7d2ae2c51726113ac0bf87171fa43eb74fd13626625ecaadae21884"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060UriValidator::isValid($value) || RelativeReferenceValidator::isValid($value)\u0060 appears character-identically in 3 files \u2014 src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php, src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php, src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71162ffd92e53acb13450726a23e11c8cd40deb50c77ba108c50f552a733db7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060additionalItems === false \u0026\u0026 !property_exists($schema, \u0027items\u0027)\u0060 appears character-identically in 3 files \u2014 src/JsonSchema/Constraints/Drafts/Draft06/AdditionalItemsConstraint.php, src/JsonSchema/Constraints/Drafts/Draft07/AdditionalItemsConstraint.php, src/JsonSchema/Constraints/Drafts/Draft2019/AdditionalItemsConstraint.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/AdditionalItemsConstraint.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3245af473263d02b99edf05b663ad6f1099b69933dda4c4704dab2628502e87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_numeric($value) \u0026\u0026 is_numeric($enumCase) \u0026\u0026 DeepComparer::isEqual((float) $value, (float) $enumCase)\u0060 appears character-identically in 3 files \u2014 src/JsonSchema/Constraints/Drafts/Draft06/EnumConstraint.php, src/JsonSchema/Constraints/Drafts/Draft07/EnumConstraint.php, src/JsonSchema/Constraints/Drafts/Draft2019/EnumConstraint.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/EnumConstraint.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6681ad0521ef887ff27480415af6a09b91a4a96a40fa617a8ad7881af94dfba6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isset($matches[\u0027ipLiteral\u0027]) \u0026\u0026 $matches[\u0027ipLiteral\u0027] !== \u0027\u0027\u0060 appears character-identically in 2 files \u2014 src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php, src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b524fe45189d2b4b9bde40d0eec79933ff1ffbdd2a62f8ec5a5cb41906c5b3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isset($schema-\u003EminItems) \u0026\u0026 count($value) \u003C $schema\u0060 appears character-identically in 2 files \u2014 src/JsonSchema/Constraints/CollectionConstraint.php, src/JsonSchema/Constraints/UndefinedConstraint.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/CollectionConstraint.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42bd7d0a8c50b6c414b27e91850a126e948e05e71b045cf9806cd0287ec3673"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060preg_match(\u0027/[\\x{05F3}\\x{05F4}]/u\u0027, $label) \u0026\u0026 !preg_match(\u0027/[\\x{0590}-\\x{05FF}][\\x{05F3}\\x{05F4}]/u\u0027, $label)\u0060 appears character-identically in 2 files \u2014 src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php, src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f53aa4fe9346e8f8301544cf2b76b269005b841910de9d9a547e51291745f3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060preg_match(\u0027/[\\x{0964}\\x{0965}]/u\u0027, $label) \u0026\u0026 !preg_match(\u0027/[\\x{0900}-\\x{097F}]/u\u0027, $label)\u0060 appears character-identically in 2 files \u2014 src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php, src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0a4693004f71fc5f6f79cb635b16be6c779b9f859317652515c9720853cf04"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060preg_match(\u0027/\\x{0375}/u\u0027, $label) \u0026\u0026 !preg_match(\u0027/\\x{0375}[\\x{0370}-\\x{03FF}]/u\u0027, $label)\u0060 appears character-identically in 2 files \u2014 src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php, src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d70ec3e80b2e92553e7a7527df8e5655b4e442a3d1e6b70e3393eaf8a5c6833"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060property_exists($schema, \u0027items\u0027) \u0026\u0026 is_object($schema-\u003Eitems)\u0060 appears character-identically in 2 files \u2014 src/JsonSchema/Constraints/Drafts/Draft06/AdditionalItemsConstraint.php, src/JsonSchema/Constraints/Drafts/Draft07/AdditionalItemsConstraint.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/AdditionalItemsConstraint.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb299b58bb21a32be19511e0e140de04f2d4bac673d30d80ed62dde2431562fe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060property_exists($value, $dependant) \u0026\u0026 !property_exists($value, $dependency)\u0060 appears character-identically in 2 files \u2014 src/JsonSchema/Constraints/Drafts/Draft06/DependenciesConstraint.php, src/JsonSchema/Constraints/Drafts/Draft07/DependenciesConstraint.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/DependenciesConstraint.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a602c8e08ea8813f70bfe3ab0768ddc00549d4755afe7a31b8116c91e21b40"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060str_contains($label, \u0022\\u{30FB}\u0022) \u0026\u0026 !preg_match(\u0027/[\\x{30A0}-\\x{30FF}]/u\u0027, $label)\u0060 appears character-identically in 2 files \u2014 src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php, src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c7d1e6a73facf4ef5b8b8cfc7f07c49739775842f1f74c5f7d78e3663791aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060strlen($localPart) \u003E 64 || preg_match(\u0027/^(?:\u0027 . $dotString . \u0027|\u0027 . $quotedString . \u0027)\\z/u\u0027, $localPart) !== 1\u0060 appears character-identically in 2 files \u2014 src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php, src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec29fa32d6130839f1d5c808cc0f6ef0b3896044401b8bcb003fd3d754bcb63f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060validateDateTime($value, \u0027H:i:s.up\u0027) \u0026\u0026 !$this\u0060 appears character-identically in 2 files \u2014 src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php, src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"796f35c796b562abe8ee9cbd4d9143b4101ccf0611e918d3225cc63163856a56"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060validateDateTime($value, \u0027H:i:sP\u0027) \u0026\u0026 !$this\u0060 appears character-identically in 2 files \u2014 src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php, src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb54b06dde9fa445ac3d44be399a12903ee2df4a6a68c42780550c8753fc00e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060validateDateTime($value, \u0027H:i:sp\u0027) \u0026\u0026 !$this\u0060 appears character-identically in 2 files \u2014 src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php, src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a583becd4bd1e854d67d5fdc974803c074bb0bd396aa3917c6d30f68df8781"}},{"ruleId":"X19","level":"warning","message":{"text":"Process-global state is restored only on the happy path: \u0060retrieve\u0060 changes state that belongs to the whole PROCESS and changes it back at the end of the same body \u2014 the error handler (changed at line 37, reset at line 41) \u2014 which says the change was meant to last no longer than this call. But the restore is an ordinary statement on the straight-line path, not a \u0060finally\u0060, so it is skipped by any exception thrown in between: PHP then keeps the overwritten value for the rest of the request \u2014 and in a CLI command, a queue worker or a long-running server (Octane, Swoole, RoadRunner, FrankenPHP) for the rest of the process\u0027s life \u2014 and every later relative path, child-process launch, date, number format, XML parse or error report in ANY class reads it. That failure is silent and remote from its cause: the function that breaks is not the function that moved the value. The durable fix is not to widen the restore but to stop mutating the global: pass the value to the operation that needs it \u2014 \u0060cwd\u0060 and \u0060env\u0060 to Symfony \u0060Process\u0060 (\u0060new Process($command, $cwd, $env)\u0060) or \u0060proc_open($command, $spec, $pipes, $cwd, $env)\u0060, absolute paths instead of \u0060chdir\u0060, an explicit \u0060DateTimeZone\u0060 or locale to \u0060DateTimeImmutable\u0060/\u0060IntlDateFormatter\u0060/\u0060NumberFormatter\u0060, an explicit encoding to the \u0060mb_*\u0060 call, \u0060LIBXML_NOERROR\u0060/\u0060libxml_get_errors\u0060 handling in one place. Where the global genuinely must move, wrap it \u0060try\u0060/\u0060finally\u0060 so the restore runs on every path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Uri/Retrievers/FileGetContents.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"53cfa48d365f86ecb59c0e5539cc0d3a26da2cdae078446aa39ca73183157e91"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/FormatConstraint.php"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4d33024985c74559b1c5864e4f137c0e4eb354112b2b7a771bff3c4e2e05d4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft2019/FormatConstraint.php"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"6097036a66349bee625af6e395ee30b2aab1d40e1da8d8c38583c1c7c155f5e1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft07/FormatConstraint.php"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"695052aeb6e8402b3d07da207db54c4587fcc34f0e17679cced16d40529d2959"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/JsonSchema/Constraints/Drafts/Draft06/FormatConstraint.php"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa089bbe9c823c8333f51a3565fc8e625aea676b0772e9e2e99e9c2f5fbe46f"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-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-269","guid":"70e1f5f6-81e5-4e5a-ba40-b541c3a346e2","name":"Improper Privilege Management","shortDescription":{"text":"Improper Privilege Management"},"helpUri":"https://cwe.mitre.org/data/definitions/269.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-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-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.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":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"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/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":30,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}